educode_sales 0.1.0 → 0.1.1

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 (56) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/educode_sales/activities_controller.rb +7 -1
  3. data/app/controllers/educode_sales/application_controller.rb +0 -1
  4. data/app/controllers/educode_sales/businesses_controller.rb +3 -2
  5. data/app/controllers/educode_sales/operation_plans_controller.rb +155 -0
  6. data/app/controllers/educode_sales/operation_reports_controller.rb +125 -0
  7. data/app/controllers/educode_sales/places_controller.rb +1 -0
  8. data/app/controllers/educode_sales/plans_controller.rb +3 -1
  9. data/app/controllers/educode_sales/sale_reports_controller.rb +2 -1
  10. data/app/controllers/educode_sales/sales_controller.rb +4 -1
  11. data/app/controllers/educode_sales/teacher_follows_controller.rb +6 -0
  12. data/app/controllers/educode_sales/teachers_controller.rb +17 -5
  13. data/app/models/ability.rb +4 -1
  14. data/app/models/educode_sales/common.rb +1 -0
  15. data/app/models/educode_sales/staff.rb +2 -0
  16. data/app/views/educode_sales/activities/index.html.erb +17 -8
  17. data/app/views/educode_sales/businesses/index.html.erb +136 -140
  18. data/app/views/educode_sales/businesses/show_follow.html.erb +18 -3
  19. data/app/views/educode_sales/operation_plans/_monthPlan.html.erb +60 -76
  20. data/app/views/educode_sales/operation_plans/_monthly.html.erb +116 -95
  21. data/app/views/educode_sales/operation_plans/_weekPlan.html.erb +73 -74
  22. data/app/views/educode_sales/operation_plans/_weekly.html.erb +108 -86
  23. data/app/views/educode_sales/operation_plans/edit_month.html.erb +35 -32
  24. data/app/views/educode_sales/operation_plans/edit_week.html.erb +40 -39
  25. data/app/views/educode_sales/operation_plans/index.json.jbuilder +19 -0
  26. data/app/views/educode_sales/operation_plans/my_month.json.jbuilder +18 -0
  27. data/app/views/educode_sales/operation_plans/my_week.json.jbuilder +19 -0
  28. data/app/views/educode_sales/operation_plans/new_month.html.erb +5 -10
  29. data/app/views/educode_sales/operation_plans/new_monthly.html.erb +27 -43
  30. data/app/views/educode_sales/operation_plans/new_week.html.erb +7 -7
  31. data/app/views/educode_sales/operation_plans/new_weekly.html.erb +46 -53
  32. data/app/views/educode_sales/operation_plans/show_month.html.erb +4 -10
  33. data/app/views/educode_sales/operation_plans/show_week.html.erb +20 -25
  34. data/app/views/educode_sales/operation_plans/show_weekly.html.erb +6 -6
  35. data/app/views/educode_sales/operation_reports/audit.html.erb +214 -0
  36. data/app/views/educode_sales/operation_reports/edit.html.erb +237 -0
  37. data/app/views/educode_sales/operation_reports/index.json.jbuilder +17 -0
  38. data/app/views/educode_sales/operation_reports/plans.json.jbuilder +19 -0
  39. data/app/views/educode_sales/operation_reports/show.html.erb +139 -0
  40. data/app/views/educode_sales/operations/trends.html.erb +8 -0
  41. data/app/views/educode_sales/places/index.html.erb +6 -0
  42. data/app/views/educode_sales/plans/_monthPlan.html.erb +8 -0
  43. data/app/views/educode_sales/plans/_monthly.html.erb +8 -0
  44. data/app/views/educode_sales/plans/_weekPlan.html.erb +10 -3
  45. data/app/views/educode_sales/plans/_weekly.html.erb +8 -0
  46. data/app/views/educode_sales/plans/audit_weekly.html.erb +6 -0
  47. data/app/views/educode_sales/plans/edit_monthly.html.erb +8 -0
  48. data/app/views/educode_sales/plans/edit_weekly.html.erb +8 -0
  49. data/app/views/educode_sales/plans/new_monthly.html.erb +8 -0
  50. data/app/views/educode_sales/plans/new_weekly.html.erb +7 -1
  51. data/app/views/educode_sales/sale_trends/trends.html.erb +8 -0
  52. data/app/views/educode_sales/teachers/index.html.erb +3 -5
  53. data/app/views/layouts/educode_sales/application.html.erb +23 -2
  54. data/config/routes.rb +11 -4
  55. data/lib/educode_sales/version.rb +1 -1
  56. metadata +14 -5
@@ -8,49 +8,27 @@
8
8
  <div class="layui-form-item">
9
9
  <div class="layui-inline" style="margin:18px; font-weight: bold">
10
10
  <label>完成率:</label>
11
- <span>80%</span>
11
+ <span><%= @rate %></span>
12
+ <%= hidden_field_tag 'finish_rate', @rate, {id: 'weekly_rate_hide'} %>
12
13
  </div>
13
14
  <div class="layui-inline" style="margin:18px; font-weight: bold">
14
- <label style="margin-left: 100px">运营教师:</label>
15
- <span>5</span>
16
- </div>
15
+ <label style="margin-left: 100px">运营教师:</label>
16
+ <span><%= @departments_count%></span>
17
+ <%= hidden_field_tag 'client', @departments_count, {id: 'weekly_client_hide'} %>
18
+ </div>
17
19
  </div>
18
20
  <div class="layui-form-item" style="margin-left: 18px">
19
21
  <div class="layui-form-item layui-form-text">
20
22
  <label class="layui-form-label">个人总结</label>
21
23
  <div class="layui-input-block">
22
- <textarea name="desc" placeholder="此处填写要点:
24
+ <textarea name="content" placeholder="此处填写要点:
23
25
  1、一句话概括本周工作的主要成效和主要挫折;
24
26
  2、补充说明收获、经验;
25
27
  3、补充说明需要上级解决的问题和挑战。" class="layui-textarea"></textarea>
26
28
  </div>
27
29
  </div>
28
- <div class="layui-form-item layui-form-text">
29
- <label class="layui-form-label">大区意见</label>
30
- <div class="layui-input-block">
31
- <textarea name="desc" placeholder="给出评价、提醒、建议、办法等。" class="layui-textarea"></textarea>
32
- </div>
33
- </div>
34
- <div id="weekStar4"></div>
35
- <div class="layui-form-item layui-form-text">
36
- <label class="layui-form-label">总监意见</label>
37
- <div class="layui-input-block">
38
- <textarea name="desc" placeholder="给出评价、提醒、建议、办法等。" class="layui-textarea"></textarea>
39
- </div>
40
- </div>
41
- <div id="weekStar5"></div>
42
- <div class="layui-form-item layui-form-text">
43
- <label class="layui-form-label">副总意见</label>
44
- <div class="layui-input-block">
45
- <textarea name="desc" placeholder="给出评价、提醒、建议、办法等。" class="layui-textarea"></textarea>
46
- </div>
47
- </div>
48
- <div id="weekStar6"></div>
49
- <br>
50
30
  <div class="layui-inline">
51
- <button type="submit" class="layui-btn layui-btn-normal" lay-submit lay-filter="data-reset-btn" style="margin-left: 18px">提交
52
- </button>
53
- <button type="submit" class="layui-btn layui-btn-primary" lay-submit lay-filter="data-search-btn">取消
31
+ <button type="submit" class="layui-btn layui-btn-normal" lay-submit lay-filter="add_weekly_report" style="margin-left: 18px">提交
54
32
  </button>
55
33
  </div>
56
34
  </div>
@@ -65,24 +43,29 @@
65
43
  <a class="layui-btn layui-btn-xs layui-btn-danger data-count-delete" lay-event="delete">删除</a>
66
44
  </script>
67
45
  <script>
68
- layui.use(['rate', 'table'], function () {
69
- var rate = layui.rate;
70
- table = layui.table
71
- rate.render({
72
- elem: '#weekStar4'
73
- , half: true
74
- })
75
- rate.render({
76
- elem: '#weekStar5'
77
- , half: true
78
- })
79
- rate.render({
80
- elem: '#weekStar6'
81
- , half: true
82
- })
83
- })
46
+ layui.use(['rate', 'table', 'request', 'form', 'miniPage', 'jquery'], function () {
47
+ var rate = layui.rate,
48
+ form = layui.form,
49
+ $ = layui.jquery,
50
+ miniPage = layui.miniPage,
51
+ request = layui.request;
52
+ table = layui.table;
53
+
54
+ form.on('submit(add_weekly_report)', function (data) {
55
+ request.authPost("educode_sales/operation_reports", data.field, function (res) {
56
+ if (res.success == false) {
57
+ layer.alert(res.msg)
58
+ } else {
59
+ // layer.closeAll();
60
+ parent.table.reload('weeklyTable');
61
+ layer.alert('添加成功')
62
+ }
63
+ })
64
+ return false;
65
+ });
84
66
 
85
- table.render({
67
+
68
+ table.render({
86
69
  elem: '#newWeeklyTable',
87
70
  // url: 'api/table.json',
88
71
  toolbar: '#newWeeklyToolbar',
@@ -165,10 +148,20 @@
165
148
  page: true,
166
149
  skin: 'line'
167
150
  });
168
- </script>
169
- <style>
170
- .layui-form-item {
171
- margin-bottom: 0px;
172
- }
173
151
 
174
- </style>
152
+
153
+
154
+ // form.on('submit(add_weekly_report)', function (data) {
155
+ // request.authPost("educode_sales/operation_reports", data.field, function (res) {
156
+ // if (res.success == false) {
157
+ // layer.alert(res.msg)
158
+ // } else {
159
+ // layer.closeAll()
160
+ // table.reload('newWeeklyTable');
161
+ // layer.alert('添加成功')
162
+ // }
163
+ // })
164
+ // return false;
165
+ // });
166
+ })
167
+ </script>
@@ -3,15 +3,13 @@
3
3
  <div class="layui-inline">
4
4
  <label class="layui-form-label">月份</label>
5
5
  <div class="layui-input-block">
6
- <input type="text" name="title" lay-verify="title" autocomplete="off" disabled
7
- class="layui-input">
6
+ <%= @sale_plan.month.strftime("%Y-%m") %>
8
7
  </div>
9
8
  </div>
10
9
  <div class="layui-inline">
11
10
  <label class="layui-form-label">教师</label>
12
11
  <div class="layui-input-block">
13
- <input type="text" name="title" lay-verify="title" autocomplete="off" disabled
14
- class="layui-input" id="show_chance3">
12
+ <%= @sale_plan.teacher.name %>
15
13
  </div>
16
14
  </div>
17
15
  <br>
@@ -19,17 +17,13 @@
19
17
  <div class="layui-form-item layui-form-text">
20
18
  <label class="layui-form-label">计划内容</label>
21
19
  <div class="layui-input-block">
22
- <textarea name="desc" id="show_plan3" placeholder="简要填写具体的营销计划,例如:
23
- 1、推动xx老师用起来;
24
- 2、与xx老师介绍一下我们的方案;
25
- 3、与xx领导深度沟通一下,以获取到关键建设规划信息等等。" class="layui-textarea" disabled></textarea>
20
+ <pre><%= @sale_plan.content %></pre>
26
21
  </div>
27
22
  </div>
28
23
  <div class="layui-inline">
29
24
  <label class="layui-input-label">完成率</label>
30
25
  <div class="layui-input-block">
31
- <input type="text" name="title" lay-verify="title" autocomplete="off" disabled
32
- class="layui-input" id="show_rate3">
26
+ <%= @sale_plan.finish_rate %>%
33
27
  </div>
34
28
  </div>
35
29
  </div>
@@ -1,43 +1,38 @@
1
- <form class="layui-form " action="" style="padding: 18px">
1
+ <div class="layui-form form-value" style="padding: 18px">
2
2
  <div class="layui-form-item" style="padding: 25px">
3
3
  <div class="layui-inline">
4
- <label class="layui-form-label">月份</label>
5
- <div class="layui-input-block">
6
- <input type="text" name="title" lay-verify="title" autocomplete="off" disabled
7
- class="layui-input">
4
+ <label class="layui-form-label">月份:</label>
5
+ <div class="layui-input-inline">
6
+ <%= @sale_plan.month.strftime("%Y-%m") %>
8
7
  </div>
9
8
  </div>
10
- <div class="layui-inline">
11
- <label class="layui-form-label">周次</label>
12
- <div class="layui-input-block">
13
- <input type="text" name="title" lay-verify="title" autocomplete="off" disabled
14
- class="layui-input" id="show_week1">
9
+ <% if @sale_plan.weekly.present? %>
10
+ <div class="layui-inline">
11
+ <label class="layui-form-label">周次:</label>
12
+ <div class="layui-input-inline">
13
+ <%= @sale_plan.weekly %>
14
+ </div>
15
15
  </div>
16
- </div>
16
+ <% end %>
17
17
  <div class="layui-inline">
18
- <label class="layui-form-label">教师</label>
19
- <div class="layui-input-block">
20
- <input type="text" name="title" lay-verify="title" autocomplete="off" disabled
21
- class="layui-input" id="show_chance1">
18
+ <label class="layui-form-label">教师:</label>
19
+ <div class="layui-input-inline">
20
+ <%= @sale_plan.teacher.name %>
22
21
  </div>
23
22
  </div>
24
23
  <br>
25
24
  <br>
26
25
  <div class="layui-form-item layui-form-text">
27
- <label class="layui-form-label">计划内容</label>
26
+ <label class="layui-form-label">计划内容:</label>
28
27
  <div class="layui-input-block">
29
- <textarea name="desc" id="show_plan1" placeholder="简要填写具体的营销计划,例如:
30
- 1、推动xx老师用起来;
31
- 2、与xx老师介绍一下我们的方案;
32
- 3、与xx领导深度沟通一下,以获取到关键建设规划信息等等。" class="layui-textarea" disabled></textarea>
28
+ <pre><%= @sale_plan.content %></pre>
33
29
  </div>
34
30
  </div>
35
31
  <div class="layui-inline">
36
- <label class="layui-form-label">完成率</label>
37
- <div class="layui-input-block">
38
- <input type="text" name="title" lay-verify="title" autocomplete="off" disabled
39
- class="layui-input" id="show_rate1">
32
+ <label class="layui-form-label">完成率:</label>
33
+ <div class="layui-input-inline">
34
+ <%= @sale_plan.finish_rate %>%
40
35
  </div>
41
36
  </div>
42
37
  </div>
43
- </form>
38
+ </div>
@@ -8,11 +8,11 @@
8
8
  <div class="layui-form-item">
9
9
  <div class="layui-inline" style="margin:18px; font-weight: bold">
10
10
  <label>完成率:</label>
11
- <span>80%</span>
11
+ <span><%= @sale_report.finish_rate %></span>
12
12
  </div>
13
13
  <div class="layui-inline" style="margin:18px; font-weight: bold">
14
14
  <label style="margin-left: 100px">运营教师:</label>
15
- <span>5</span>
15
+ <span><%= @sale_report.client%></span>
16
16
  </div>
17
17
  </div>
18
18
  <div class="layui-form-item" style="margin-left: 18px">
@@ -22,27 +22,27 @@
22
22
  <textarea name="desc" placeholder="此处填写要点:
23
23
  1、一句话概括本周工作的主要成效和主要挫折;
24
24
  2、补充说明收获、经验;
25
- 3、补充说明需要上级解决的问题和挑战。" disabled class="layui-textarea"></textarea>
25
+ 3、补充说明需要上级解决的问题和挑战。" disabled class="layui-textarea"><%= @sale_report.content %></textarea>
26
26
  </div>
27
27
  </div>
28
28
  <div class="layui-form-item layui-form-text">
29
29
  <label class="layui-form-label">大区意见</label>
30
30
  <div class="layui-input-block">
31
- <textarea name="desc" placeholder="给出评价、提醒、建议、办法等。" disabled class="layui-textarea"></textarea>
31
+ <textarea name="desc" placeholder="给出评价、提醒、建议、办法等。" disabled class="layui-textarea"><%= @sale_report.level1_opinion %></textarea>
32
32
  </div>
33
33
  </div>
34
34
  <div id="weekStar4"></div>
35
35
  <div class="layui-form-item layui-form-text">
36
36
  <label class="layui-form-label">总监意见</label>
37
37
  <div class="layui-input-block">
38
- <textarea name="desc" placeholder="给出评价、提醒、建议、办法等。" disabled class="layui-textarea"></textarea>
38
+ <textarea name="desc" placeholder="给出评价、提醒、建议、办法等。" disabled class="layui-textarea"><%= @sale_report.level2_opinion %></textarea>
39
39
  </div>
40
40
  </div>
41
41
  <div id="weekStar5"></div>
42
42
  <div class="layui-form-item layui-form-text">
43
43
  <label class="layui-form-label">副总意见</label>
44
44
  <div class="layui-input-block">
45
- <textarea name="desc" placeholder="给出评价、提醒、建议、办法等。" disabled class="layui-textarea"></textarea>
45
+ <textarea name="desc" placeholder="给出评价、提醒、建议、办法等。" disabled class="layui-textarea"><%= @sale_report.level3_opinion %></textarea>
46
46
  </div>
47
47
  </div>
48
48
  <div id="weekStar6"></div>
@@ -0,0 +1,214 @@
1
+ <form class="layui-form layui-form-pane" action="">
2
+ <div class="layui-form-item">
3
+ <div class="layui-inline" style="margin:18px; font-weight: bold">
4
+ <label>完成率:</label>
5
+ <span><%= @sale_report.finish_rate %></span>
6
+ <%= hidden_field_tag :id, @sale_report.id, {id: 'sale_report_audito'} %>
7
+ </div>
8
+ <div class="layui-inline" style="margin:18px; font-weight: bold">
9
+ <label style="margin-left: 100px">运营教师:</label>
10
+ <span><%= @sale_report.client%></span>
11
+ </div>
12
+ </div>
13
+ <div class="layui-form-item" style="margin-left: 18px">
14
+ <div class="layui-form-item layui-form-text">
15
+ <label class="layui-form-label">个人总结</label>
16
+ <div class="layui-input-block">
17
+ <textarea name="content" placeholder="此处填写要点:
18
+ 1、一句话概括本周工作的主要成效和主要挫折;
19
+ 2、补充说明收获、经验;
20
+ 3、补充说明需要上级解决的问题和挑战。" disabled class="layui-textarea"><%= @sale_report.content %></textarea>
21
+ </div>
22
+ </div>
23
+ <div class="layui-form-item layui-form-text">
24
+ <label class="layui-form-label">大区意见</label>
25
+ <div class="layui-input-block">
26
+ <textarea name="level1_opinion" placeholder="给出评价、提醒、建议、办法等。"
27
+ class="layui-textarea"><%= @sale_report.level1_opinion %></textarea>
28
+ </div>
29
+ </div>
30
+ <div id="weekStar4"></div>
31
+ <div class="layui-form-item layui-form-text">
32
+ <label class="layui-form-label">总监意见</label>
33
+ <div class="layui-input-block">
34
+ <textarea name="level2_opinion" placeholder="给出评价、提醒、建议、办法等。"
35
+ class="layui-textarea"><%= @sale_report.level2_opinion %></textarea>
36
+ </div>
37
+ </div>
38
+ <div id="weekStar5"></div>
39
+ <div class="layui-form-item layui-form-text">
40
+ <label class="layui-form-label">副总意见</label>
41
+ <div class="layui-input-block">
42
+ <textarea name="level3_opinion" placeholder="给出评价、提醒、建议、办法等。"
43
+ class="layui-textarea"><%= @sale_report.level3_opinion %></textarea>
44
+ </div>
45
+ </div>
46
+ <div id="weekStar6"></div>
47
+ <div class="layui-inline m-t-10">
48
+ <button type="submit" class="layui-btn layui-btn-normal" lay-submit lay-filter="audit_weekly_report"
49
+ style="margin-left: 18px">提交
50
+ </button>
51
+ </div>
52
+ </div>
53
+ </form>
54
+
55
+ <!--表格-->
56
+ <table class="layui-hide" id="showWeeklyTable" lay-filter="showWeeklyTable"></table>
57
+ <script type="text/html" id="show_follow">
58
+ <a href="javascript:void(0);" lay-event="show_follow" class="layui-table-link">{{ d.follow_ups_count }}</a>
59
+ </script>
60
+ <script>
61
+ layui.use(['rate', 'table', 'miniPage', 'jquery', 'request', 'form'], function () {
62
+ var rate = layui.rate,
63
+ miniPage = layui.miniPage,
64
+ form = layui.form,
65
+ request = layui.request,
66
+ $ = layui.jquery;
67
+ table = layui.table;
68
+
69
+ var level1_score, level2_score, level3_score;
70
+ rate.render({
71
+ elem: '#weekStar4',
72
+ half: true,
73
+ value: "<%= @sale_report.level1_score %>",
74
+ length: 5,
75
+ choose: function(value){
76
+ level1_score = value
77
+ }
78
+ })
79
+ rate.render({
80
+ elem: '#weekStar5',
81
+ half: true,
82
+ value: "<%= @sale_report.level2_score %>",
83
+ length: 5,
84
+ choose: function(value){
85
+ level2_score = value
86
+ }
87
+ })
88
+ rate.render({
89
+ elem: '#weekStar6',
90
+ half: true,
91
+ value: "<%= @sale_report.level3_score %>",
92
+ length: 5,
93
+ choose: function(value){
94
+ level3_score = value
95
+ }
96
+ })
97
+
98
+ form.on('submit(audit_weekly_report)', function(res) {
99
+ res.field.level1_score = level1_score;
100
+ res.field.level2_score = level2_score;
101
+ res.field.level3_score = level3_score;
102
+ console.log(res.field, 444)
103
+ request.authPut("educode_sales/operation_reports/" + parent.report_id + "/update_audit", res.field, function (res) {
104
+ if (res.success == false) {
105
+ layer.alert(res.msg)
106
+ } else {
107
+ layer.close(parent.sindex);
108
+ parent.layer.close(parent.layer.getFrameIndex(window.name))
109
+ if (parent.from_source =='monthly') {
110
+ parent.table.reload('weeklyTable')
111
+ parent.table.reload('monthlyTable')
112
+ } else {
113
+ parent.table.reload('weeklyTable')
114
+ parent.table.reload('monthlyTable')
115
+
116
+ }
117
+ }
118
+ })
119
+
120
+ return false;
121
+ })
122
+
123
+
124
+ table.on('tool(showWeeklyTable)', function (obj) {
125
+ var data = obj.data;
126
+ if (obj.event === 'show_follow') {
127
+ id = data.business_id
128
+ content = miniPage.getHrefContent('/educode_sales/businesses/show_follow?id=' + data.business_id);
129
+ openWH = miniPage.getOpenWidthHeight();
130
+ index = layer.open({
131
+ title: '商机列表/' + data.business_name + '的跟进记录',
132
+ type: 1,
133
+ shade: 0.2,
134
+ maxmin: true,
135
+ shadeClose: true,
136
+ area: [openWH[0] + 'px', openWH[1] + 'px'],
137
+ offset: [openWH[2] + 'px', openWH[3] + 'px'],
138
+ content: content
139
+ });
140
+ $(window).on("resize", function () {
141
+ layer.full(index);
142
+ });
143
+ }
144
+ });
145
+
146
+ table.render({
147
+ elem: '#showWeeklyTable',
148
+ url: '/educode_sales/operation_reports/' + "<%= @sale_report.id%>" + '/plans',
149
+ defaultToolbar: [],
150
+ cols: [
151
+ [{
152
+ field: 'id',
153
+ width: 80,
154
+ title: '序号'
155
+ },
156
+ {
157
+ field: 'staff',
158
+ width: 100,
159
+ title: '姓名'
160
+ },
161
+ {
162
+ field: 'teacher_name',
163
+ width: 100,
164
+ title: '教师姓名',
165
+ },
166
+ {
167
+ field: 'school',
168
+ width: 100,
169
+ title: '单位'
170
+ },
171
+ {
172
+ field: 'department',
173
+ width: 100,
174
+ title: '部门'
175
+ },
176
+ {
177
+ field: 'week',
178
+ width: 100,
179
+ title: '周次',
180
+ },
181
+ {
182
+ field: 'content',
183
+ width: 300,
184
+ title: '计划内容',
185
+ },
186
+ {
187
+ field: 'follow',
188
+ width: 100,
189
+ title: '跟进',
190
+ templet: '#show_follow'
191
+ },
192
+ {
193
+ field: 'rate',
194
+ width: 100,
195
+ title: '完成率',
196
+ },
197
+ {
198
+ field: 'updated_at',
199
+ width: 150,
200
+ title: '更新时间',
201
+ sort: true,
202
+ },
203
+ {
204
+ field: 'updated_at',
205
+ width: 170,
206
+ title: '更新时间',
207
+ sort: true,
208
+ }
209
+ ]
210
+ ],
211
+ page: true
212
+ });
213
+ })
214
+ </script>