educode_sales 0.9.67 → 0.9.69

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/educode_sales/indexlogo.png +0 -0
  3. data/app/assets/javascripts/educode_sales/extent/treeTable.js +235 -0
  4. data/app/controllers/educode_sales/activities_controller.rb +52 -38
  5. data/app/controllers/educode_sales/businesses_controller.rb +1 -1
  6. data/app/controllers/educode_sales/customers_controller.rb +107 -0
  7. data/app/controllers/educode_sales/follow_ups_controller.rb +6 -0
  8. data/app/controllers/educode_sales/operation_plans_controller.rb +8 -4
  9. data/app/controllers/educode_sales/plans_controller.rb +173 -11
  10. data/app/controllers/educode_sales/projects_controller.rb +420 -0
  11. data/app/controllers/educode_sales/recycles_controller.rb +11 -1
  12. data/app/controllers/educode_sales/roles_controller.rb +4 -1
  13. data/app/controllers/educode_sales/teachers_controller.rb +42 -17
  14. data/app/controllers/educode_sales/upload_files_controller.rb +9 -2
  15. data/app/helpers/educode_sales/application_helper.rb +1 -0
  16. data/app/models/educode_sales/activity.rb +4 -0
  17. data/app/models/educode_sales/assessments_setting.rb +2 -2
  18. data/app/models/educode_sales/business.rb +21 -5
  19. data/app/models/educode_sales/business_history.rb +8 -0
  20. data/app/models/educode_sales/business_info.rb +9 -0
  21. data/app/models/educode_sales/permission.rb +2 -1
  22. data/app/models/educode_sales/project.rb +53 -0
  23. data/app/models/educode_sales/role_area.rb +2 -1
  24. data/app/models/educode_sales/sale_plan.rb +3 -1
  25. data/app/models/educode_sales/staff.rb +2 -0
  26. data/app/views/educode_sales/activities/_follows.html.erb +50 -36
  27. data/app/views/educode_sales/activities/_index.html.erb +82 -9
  28. data/app/views/educode_sales/activities/edit.html.erb +25 -68
  29. data/app/views/educode_sales/activities/files.html.erb +157 -0
  30. data/app/views/educode_sales/activities/files.json.jbuilder +13 -0
  31. data/app/views/educode_sales/activities/follow_ups.json.jbuilder +1 -1
  32. data/app/views/educode_sales/activities/index.json.jbuilder +2 -2
  33. data/app/views/educode_sales/activities/new.html.erb +21 -60
  34. data/app/views/educode_sales/activities/show_teachers.html.erb +1 -1
  35. data/app/views/educode_sales/activities/upload_file.html.erb +43 -0
  36. data/app/views/educode_sales/businesses/get_export_data.json.jbuilder +3 -0
  37. data/app/views/educode_sales/businesses/index.html.erb +5 -0
  38. data/app/views/educode_sales/businesses/index.json.jbuilder +3 -0
  39. data/app/views/educode_sales/businesses/new.html.erb +1 -1
  40. data/app/views/educode_sales/businesses/time_line.html.erb +9 -5
  41. data/app/views/educode_sales/customers/edit_major.html.erb +872 -0
  42. data/app/views/educode_sales/customers/list.html.erb +602 -0
  43. data/app/views/educode_sales/customers/list.json.jbuilder +33 -0
  44. data/app/views/educode_sales/follow_ups/index.json.jbuilder +2 -2
  45. data/app/views/educode_sales/plans/_yearPlan.html.erb +234 -0
  46. data/app/views/educode_sales/plans/business_infos.json.jbuilder +23 -0
  47. data/app/views/educode_sales/plans/edit_bussiness_info.html.erb +79 -0
  48. data/app/views/educode_sales/plans/edit_bussiness_info_extra.html.erb +260 -0
  49. data/app/views/educode_sales/plans/edit_year_plan.html.erb +237 -0
  50. data/app/views/educode_sales/plans/index.html.erb +8 -0
  51. data/app/views/educode_sales/plans/new_year.html.erb +204 -0
  52. data/app/views/educode_sales/plans/plan_business_infos.json.jbuilder +42 -0
  53. data/app/views/educode_sales/plans/years_plan.json.jbuilder +17 -0
  54. data/app/views/educode_sales/projects/detail.html.erb +269 -0
  55. data/app/views/educode_sales/projects/edit.html.erb +246 -0
  56. data/app/views/educode_sales/projects/history.html.erb +41 -0
  57. data/app/views/educode_sales/projects/index.html.erb +688 -0
  58. data/app/views/educode_sales/projects/index.json.jbuilder +69 -0
  59. data/app/views/educode_sales/recycles/_monthly.html.erb +1 -1
  60. data/app/views/educode_sales/recycles/_yearPlan.html.erb +118 -0
  61. data/app/views/educode_sales/recycles/index.html.erb +26 -22
  62. data/app/views/educode_sales/recycles/monthPlan.json.jbuilder +0 -1
  63. data/app/views/educode_sales/recycles/yearPlan.json.jbuilder +14 -0
  64. data/app/views/educode_sales/teachers/_index.html.erb +17 -1
  65. data/app/views/educode_sales/teachers/index.json.jbuilder +2 -0
  66. data/app/views/layouts/educode_sales/application.html.erb +25 -0
  67. data/config/routes.rb +31 -0
  68. data/db/migrate/20230330141213_create_educode_sales_activity_follow_ups.rb +6 -0
  69. data/db/migrate/20230405074036_add_year_to_sale_plans.rb +38 -0
  70. data/db/migrate/20230411134203_add_realname_to_teacher.rb +5 -0
  71. data/db/migrate/20230412083510_add_p_staff_id_to_businesses.rb +20 -0
  72. data/db/migrate/20230412092000_create_business_histories.rb +10 -0
  73. data/db/migrate/20230413015619_add_permissions_to_projects.rb +11 -0
  74. data/db/migrate/20230413031029_add_pre_time_to_businesses.rb +5 -0
  75. data/lib/educode_sales/version.rb +1 -1
  76. metadata +38 -5
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: educode_sales
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.67
4
+ version: 0.9.69
5
5
  platform: ruby
6
6
  authors:
7
7
  - anke1460
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-31 00:00:00.000000000 Z
11
+ date: 2023-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -105,6 +105,7 @@ files:
105
105
  - app/assets/images/educode_sales/icon-login.png
106
106
  - app/assets/images/educode_sales/icon.png
107
107
  - app/assets/images/educode_sales/indexLogo.png
108
+ - app/assets/images/educode_sales/indexlogo.png
108
109
  - app/assets/images/educode_sales/loading-0.gif
109
110
  - app/assets/images/educode_sales/loading-1.gif
110
111
  - app/assets/images/educode_sales/loading-2.gif
@@ -119,6 +120,7 @@ files:
119
120
  - app/assets/javascripts/educode_sales/extent/miniPage.js
120
121
  - app/assets/javascripts/educode_sales/extent/request.js
121
122
  - app/assets/javascripts/educode_sales/extent/select_input.js
123
+ - app/assets/javascripts/educode_sales/extent/treeTable.js
122
124
  - app/assets/javascripts/educode_sales/extent/xm-select.js
123
125
  - app/assets/javascripts/educode_sales/jquery.cxselect.js
124
126
  - app/assets/javascripts/educode_sales/layui.js
@@ -162,6 +164,7 @@ files:
162
164
  - app/controllers/educode_sales/operations_controller.rb
163
165
  - app/controllers/educode_sales/places_controller.rb
164
166
  - app/controllers/educode_sales/plans_controller.rb
167
+ - app/controllers/educode_sales/projects_controller.rb
165
168
  - app/controllers/educode_sales/recycles_controller.rb
166
169
  - app/controllers/educode_sales/results_controller.rb
167
170
  - app/controllers/educode_sales/roles_controller.rb
@@ -196,6 +199,8 @@ files:
196
199
  - app/models/educode_sales/business.rb
197
200
  - app/models/educode_sales/business_clazz_change.rb
198
201
  - app/models/educode_sales/business_export_record.rb
202
+ - app/models/educode_sales/business_history.rb
203
+ - app/models/educode_sales/business_info.rb
199
204
  - app/models/educode_sales/business_level.rb
200
205
  - app/models/educode_sales/business_number_record.rb
201
206
  - app/models/educode_sales/business_relation_ship.rb
@@ -220,6 +225,7 @@ files:
220
225
  - app/models/educode_sales/permission.rb
221
226
  - app/models/educode_sales/place.rb
222
227
  - app/models/educode_sales/place_area.rb
228
+ - app/models/educode_sales/project.rb
223
229
  - app/models/educode_sales/recycle.rb
224
230
  - app/models/educode_sales/result.rb
225
231
  - app/models/educode_sales/role.rb
@@ -238,6 +244,8 @@ files:
238
244
  - app/views/educode_sales/activities/_follows.html.erb
239
245
  - app/views/educode_sales/activities/_index.html.erb
240
246
  - app/views/educode_sales/activities/edit.html.erb
247
+ - app/views/educode_sales/activities/files.html.erb
248
+ - app/views/educode_sales/activities/files.json.jbuilder
241
249
  - app/views/educode_sales/activities/follow_ups.json.jbuilder
242
250
  - app/views/educode_sales/activities/index.html.erb
243
251
  - app/views/educode_sales/activities/index.json.jbuilder
@@ -246,6 +254,7 @@ files:
246
254
  - app/views/educode_sales/activities/show_schools.html.erb
247
255
  - app/views/educode_sales/activities/show_schools.json.jbuilder
248
256
  - app/views/educode_sales/activities/show_teachers.html.erb
257
+ - app/views/educode_sales/activities/upload_file.html.erb
249
258
  - app/views/educode_sales/assessments/_finished.html.erb
250
259
  - app/views/educode_sales/assessments/_progress.html.erb
251
260
  - app/views/educode_sales/assessments/_setup.html.erb
@@ -290,9 +299,12 @@ files:
290
299
  - app/views/educode_sales/customers/edit.html.erb
291
300
  - app/views/educode_sales/customers/edit_department.html.erb
292
301
  - app/views/educode_sales/customers/edit_follow_record.html.erb
302
+ - app/views/educode_sales/customers/edit_major.html.erb
293
303
  - app/views/educode_sales/customers/give.html.erb
294
304
  - app/views/educode_sales/customers/index.html.erb
295
305
  - app/views/educode_sales/customers/index.json.jbuilder
306
+ - app/views/educode_sales/customers/list.html.erb
307
+ - app/views/educode_sales/customers/list.json.jbuilder
296
308
  - app/views/educode_sales/customers/majors.json.jbuilder
297
309
  - app/views/educode_sales/customers/new.html.erb
298
310
  - app/views/educode_sales/customers/new_department.html.erb
@@ -401,11 +413,16 @@ files:
401
413
  - app/views/educode_sales/plans/_monthly.html.erb
402
414
  - app/views/educode_sales/plans/_weekPlan.html.erb
403
415
  - app/views/educode_sales/plans/_weekly.html.erb
416
+ - app/views/educode_sales/plans/_yearPlan.html.erb
404
417
  - app/views/educode_sales/plans/audit_weekly.html.erb
418
+ - app/views/educode_sales/plans/business_infos.json.jbuilder
419
+ - app/views/educode_sales/plans/edit_bussiness_info.html.erb
420
+ - app/views/educode_sales/plans/edit_bussiness_info_extra.html.erb
405
421
  - app/views/educode_sales/plans/edit_month.html.erb
406
422
  - app/views/educode_sales/plans/edit_monthly.html.erb
407
423
  - app/views/educode_sales/plans/edit_week.html.erb
408
424
  - app/views/educode_sales/plans/edit_weekly.html.erb
425
+ - app/views/educode_sales/plans/edit_year_plan.html.erb
409
426
  - app/views/educode_sales/plans/index.html.erb
410
427
  - app/views/educode_sales/plans/index.json.jbuilder
411
428
  - app/views/educode_sales/plans/my_month.json.jbuilder
@@ -414,22 +431,32 @@ files:
414
431
  - app/views/educode_sales/plans/new_monthly.html.erb
415
432
  - app/views/educode_sales/plans/new_week.html.erb
416
433
  - app/views/educode_sales/plans/new_weekly.html.erb
434
+ - app/views/educode_sales/plans/new_year.html.erb
417
435
  - app/views/educode_sales/plans/operation.html.erb
436
+ - app/views/educode_sales/plans/plan_business_infos.json.jbuilder
418
437
  - app/views/educode_sales/plans/show_month.html.erb
419
438
  - app/views/educode_sales/plans/show_monthly.html.erb
420
439
  - app/views/educode_sales/plans/show_week.html.erb
421
440
  - app/views/educode_sales/plans/show_weekly.html.erb
441
+ - app/views/educode_sales/plans/years_plan.json.jbuilder
442
+ - app/views/educode_sales/projects/detail.html.erb
443
+ - app/views/educode_sales/projects/edit.html.erb
444
+ - app/views/educode_sales/projects/history.html.erb
445
+ - app/views/educode_sales/projects/index.html.erb
446
+ - app/views/educode_sales/projects/index.json.jbuilder
422
447
  - app/views/educode_sales/recycles/_business.html.erb
423
448
  - app/views/educode_sales/recycles/_monthPlan.html.erb
424
449
  - app/views/educode_sales/recycles/_monthly.html.erb
425
450
  - app/views/educode_sales/recycles/_weekPlan.html.erb
426
451
  - app/views/educode_sales/recycles/_weekly.html.erb
452
+ - app/views/educode_sales/recycles/_yearPlan.html.erb
427
453
  - app/views/educode_sales/recycles/business.json.jbuilder
428
454
  - app/views/educode_sales/recycles/index.html.erb
429
455
  - app/views/educode_sales/recycles/monthPlan.json.jbuilder
430
456
  - app/views/educode_sales/recycles/monthly.json.jbuilder
431
457
  - app/views/educode_sales/recycles/weekPlan.json.jbuilder
432
458
  - app/views/educode_sales/recycles/weekly.json.jbuilder
459
+ - app/views/educode_sales/recycles/yearPlan.json.jbuilder
433
460
  - app/views/educode_sales/results/edit.html.erb
434
461
  - app/views/educode_sales/results/index.html.erb
435
462
  - app/views/educode_sales/results/index.json.jbuilder
@@ -578,6 +605,12 @@ files:
578
605
  - db/migrate/20230327021033_add_attachment_ids_to_ideas.rb
579
606
  - db/migrate/20230329135141_create_educode_sales_business_watches.rb
580
607
  - db/migrate/20230330141213_create_educode_sales_activity_follow_ups.rb
608
+ - db/migrate/20230405074036_add_year_to_sale_plans.rb
609
+ - db/migrate/20230411134203_add_realname_to_teacher.rb
610
+ - db/migrate/20230412083510_add_p_staff_id_to_businesses.rb
611
+ - db/migrate/20230412092000_create_business_histories.rb
612
+ - db/migrate/20230413015619_add_permissions_to_projects.rb
613
+ - db/migrate/20230413031029_add_pre_time_to_businesses.rb
581
614
  - lib/educode_sales.rb
582
615
  - lib/educode_sales/engine.rb
583
616
  - lib/educode_sales/version.rb
@@ -586,7 +619,7 @@ homepage: https://www.educoder.net
586
619
  licenses:
587
620
  - MIT
588
621
  metadata: {}
589
- post_install_message:
622
+ post_install_message:
590
623
  rdoc_options: []
591
624
  require_paths:
592
625
  - lib
@@ -602,7 +635,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
602
635
  version: '0'
603
636
  requirements: []
604
637
  rubygems_version: 3.0.9
605
- signing_key:
638
+ signing_key:
606
639
  specification_version: 4
607
640
  summary: Summary of EducodeSales.
608
641
  test_files: []