educode_sales 0.1.0 → 0.1.4

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 (107) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/educode_sales/app.css +2 -1
  3. data/app/controllers/educode_sales/activities_controller.rb +7 -1
  4. data/app/controllers/educode_sales/application_controller.rb +0 -1
  5. data/app/controllers/educode_sales/businesses_controller.rb +16 -9
  6. data/app/controllers/educode_sales/follow_ups_controller.rb +12 -8
  7. data/app/controllers/educode_sales/operation_plans_controller.rb +155 -0
  8. data/app/controllers/educode_sales/operation_reports_controller.rb +125 -0
  9. data/app/controllers/educode_sales/places_controller.rb +3 -4
  10. data/app/controllers/educode_sales/plans_controller.rb +12 -10
  11. data/app/controllers/educode_sales/roles_controller.rb +11 -0
  12. data/app/controllers/educode_sales/sale_reports_controller.rb +5 -4
  13. data/app/controllers/educode_sales/sales_controller.rb +4 -1
  14. data/app/controllers/educode_sales/sessions_controller.rb +2 -1
  15. data/app/controllers/educode_sales/teacher_follows_controller.rb +146 -0
  16. data/app/controllers/educode_sales/teachers_controller.rb +113 -11
  17. data/app/models/ability.rb +0 -1
  18. data/app/models/educode_sales/activity.rb +2 -1
  19. data/app/models/educode_sales/business.rb +0 -1
  20. data/app/models/educode_sales/common.rb +1 -0
  21. data/app/models/educode_sales/course_subject.rb +1 -1
  22. data/app/models/educode_sales/money_plan.rb +3 -3
  23. data/app/models/educode_sales/operation_plan.rb +2 -0
  24. data/app/models/educode_sales/place.rb +1 -0
  25. data/app/models/educode_sales/sale_plan.rb +2 -0
  26. data/app/models/educode_sales/staff.rb +5 -3
  27. data/app/models/educode_sales/teacher.rb +20 -1
  28. data/app/views/educode_sales/activities/edit.html.erb +4 -4
  29. data/app/views/educode_sales/activities/index.html.erb +23 -8
  30. data/app/views/educode_sales/activities/index.json.jbuilder +1 -1
  31. data/app/views/educode_sales/activities/new.html.erb +4 -3
  32. data/app/views/educode_sales/businesses/edit_follow_record.html.erb +2 -2
  33. data/app/views/educode_sales/businesses/edit_plan.html.erb +12 -7
  34. data/app/views/educode_sales/businesses/index.html.erb +137 -141
  35. data/app/views/educode_sales/businesses/index.json.jbuilder +2 -1
  36. data/app/views/educode_sales/businesses/new.html.erb +1 -1
  37. data/app/views/educode_sales/businesses/show_follow.html.erb +18 -3
  38. data/app/views/educode_sales/businesses/show_follow_record.html.erb +1 -1
  39. data/app/views/educode_sales/home/search_users.json.jbuilder +1 -1
  40. data/app/views/educode_sales/operation_plans/_monthPlan.html.erb +82 -88
  41. data/app/views/educode_sales/operation_plans/_monthly.html.erb +126 -97
  42. data/app/views/educode_sales/operation_plans/_weekPlan.html.erb +103 -90
  43. data/app/views/educode_sales/operation_plans/_weekly.html.erb +116 -87
  44. data/app/views/educode_sales/operation_plans/edit_month.html.erb +44 -32
  45. data/app/views/educode_sales/operation_plans/edit_monthly.html.erb +1 -1
  46. data/app/views/educode_sales/operation_plans/edit_week.html.erb +49 -39
  47. data/app/views/educode_sales/operation_plans/edit_weekly.html.erb +1 -1
  48. data/app/views/educode_sales/operation_plans/index.html.erb +35 -5
  49. data/app/views/educode_sales/operation_plans/index.json.jbuilder +19 -0
  50. data/app/views/educode_sales/operation_plans/my_month.json.jbuilder +18 -0
  51. data/app/views/educode_sales/operation_plans/my_week.json.jbuilder +19 -0
  52. data/app/views/educode_sales/operation_plans/new_month.html.erb +13 -10
  53. data/app/views/educode_sales/operation_plans/new_monthly.html.erb +162 -72
  54. data/app/views/educode_sales/operation_plans/new_week.html.erb +14 -7
  55. data/app/views/educode_sales/operation_plans/new_weekly.html.erb +205 -120
  56. data/app/views/educode_sales/operation_plans/show_month.html.erb +4 -10
  57. data/app/views/educode_sales/operation_plans/show_week.html.erb +20 -25
  58. data/app/views/educode_sales/operation_plans/show_weekly.html.erb +6 -6
  59. data/app/views/educode_sales/operation_reports/audit.html.erb +214 -0
  60. data/app/views/educode_sales/operation_reports/edit.html.erb +234 -0
  61. data/app/views/educode_sales/operation_reports/index.json.jbuilder +18 -0
  62. data/app/views/educode_sales/operation_reports/plans.json.jbuilder +19 -0
  63. data/app/views/educode_sales/operation_reports/show.html.erb +139 -0
  64. data/app/views/educode_sales/operations/trends.html.erb +8 -0
  65. data/app/views/educode_sales/places/index.html.erb +6 -0
  66. data/app/views/educode_sales/places/index.json.jbuilder +1 -1
  67. data/app/views/educode_sales/plans/_monthPlan.html.erb +9 -1
  68. data/app/views/educode_sales/plans/_monthly.html.erb +10 -2
  69. data/app/views/educode_sales/plans/_weekPlan.html.erb +17 -5
  70. data/app/views/educode_sales/plans/_weekly.html.erb +10 -2
  71. data/app/views/educode_sales/plans/audit_weekly.html.erb +6 -0
  72. data/app/views/educode_sales/plans/edit_monthly.html.erb +8 -0
  73. data/app/views/educode_sales/plans/edit_week.html.erb +8 -2
  74. data/app/views/educode_sales/plans/edit_weekly.html.erb +8 -0
  75. data/app/views/educode_sales/plans/index.json.jbuilder +1 -1
  76. data/app/views/educode_sales/plans/my_month.json.jbuilder +1 -1
  77. data/app/views/educode_sales/plans/my_week.json.jbuilder +1 -1
  78. data/app/views/educode_sales/plans/new_month.html.erb +7 -3
  79. data/app/views/educode_sales/plans/new_monthly.html.erb +8 -0
  80. data/app/views/educode_sales/plans/new_week.html.erb +8 -2
  81. data/app/views/educode_sales/plans/new_weekly.html.erb +7 -1
  82. data/app/views/educode_sales/roles/index.html.erb +33 -2
  83. data/app/views/educode_sales/sale_reports/index.json.jbuilder +1 -1
  84. data/app/views/educode_sales/sale_trends/trends.html.erb +8 -0
  85. data/app/views/educode_sales/sales/index.html.erb +2 -1
  86. data/app/views/educode_sales/sales/operations.html.erb +5 -2
  87. data/app/views/educode_sales/sessions/login.html.erb +1 -1
  88. data/app/views/educode_sales/staffs/edit.html.erb +2 -3
  89. data/app/views/educode_sales/staffs/index.html.erb +4 -4
  90. data/app/views/educode_sales/staffs/new.html.erb +1 -1
  91. data/app/views/educode_sales/teachers/add_courses.html.erb +100 -19
  92. data/app/views/educode_sales/teachers/course_subject.json.jbuilder +10 -0
  93. data/app/views/educode_sales/teachers/edit.html.erb +54 -18
  94. data/app/views/educode_sales/teachers/edit_follow_record.html.erb +49 -30
  95. data/app/views/educode_sales/teachers/index.html.erb +20 -11
  96. data/app/views/educode_sales/teachers/index.json.jbuilder +2 -0
  97. data/app/views/educode_sales/teachers/new.html.erb +8 -6
  98. data/app/views/educode_sales/teachers/new_follow_record.html.erb +54 -29
  99. data/app/views/educode_sales/teachers/show_follow.html.erb +150 -170
  100. data/app/views/educode_sales/teachers/show_follow.json.jbuilder +20 -0
  101. data/app/views/educode_sales/teachers/show_follow_record.html.erb +11 -42
  102. data/app/views/educode_sales/teachers/unfinish_plans.json.jbuilder +14 -0
  103. data/app/views/layouts/educode_sales/application.html.erb +23 -2
  104. data/config/routes.rb +22 -4
  105. data/db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb +9 -0
  106. data/lib/educode_sales/version.rb +1 -1
  107. metadata +19 -6
@@ -3,19 +3,20 @@
3
3
  <div class="layui-inline">
4
4
  <label class="layui-form-label required">月份</label>
5
5
  <div class="layui-input-inline">
6
- <%#= select_tag "month", options_for_select([Time.now.strftime("%Y-%m"), Time.now.months_ago(1).strftime("%Y-%m")]), class: 'required' %>
6
+ <input type="text" class="layui-input" id="new_week_plan" autocomplete="off" name="month" placeholder="请选择">
7
7
  </div>
8
8
  </div>
9
9
  <div class="layui-inline">
10
10
  <label class="layui-form-label required">周次</label>
11
11
  <div class="layui-input-inline">
12
- <%#= select_tag "weekly", options_for_select(@weeks), class: 'required' %>
12
+ <%= select_tag "weekly", options_for_select(@weeks), class: 'required' %>
13
13
  </div>
14
14
  </div>
15
15
  <div class="layui-inline">
16
16
  <label class="layui-form-label required">教师</label>
17
17
  <div class="layui-input-inline">
18
- <%#= select_tag "business_id", options_for_select(@businesses), class: 'required' %>
18
+
19
+ <%= select_tag "teacher_id", options_for_select(@teachers), {"lay-verify": "required", include_blank: true} %>
19
20
  </div>
20
21
  </div>
21
22
  <div class="layui-form-item layui-form-text">
@@ -58,20 +59,26 @@
58
59
  layer = layui.layer,
59
60
  table = layui.table,
60
61
  request = layui.request,
62
+ laydate = layui.laydate,
61
63
  $ = layui.$;
62
64
 
63
65
  form.render();
64
66
 
65
- var parentIndex = layer.index;
67
+ laydate.render({
68
+ elem: '#new_week_plan',
69
+ type: 'month'
70
+ });
71
+
66
72
 
67
73
  form.on('submit(add_week_plan)', function (data) {
68
74
  request.authPost("educode_sales/operation_plans", data.field, function (res) {
69
75
  if (res.success == false) {
70
76
  layer.alert(res.msg)
71
77
  } else {
72
- layer.close(parent.sindex);
73
- parent.layer.close(parent.layer.getFrameIndex(window.name))
74
- parent.table.reload('businesses_table')
78
+ layer.close(parent.add_new_weeklyIndex)
79
+ layer.close(parent.new_weelPlan_index)
80
+ table.reload("weekPlanTable1")
81
+ table.reload("newWeeklyTable")
75
82
  }
76
83
  })
77
84
  return false;
@@ -8,138 +8,125 @@
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>
57
35
  </form>
58
36
 
59
37
  <!--表格-->
60
- <table class="layui-hide" id="newWeeklyTable" lay-filter="currentWeekly"></table>
38
+ <table class="layui-hide" id="newWeeklyTable" lay-filter="newWeeklyToolbar"></table>
61
39
 
62
40
  <script type="text/html" id="currentWeekly">
63
41
  <a class="layui-btn layui-btn-normal layui-btn-xs data-count-edit" lay-event="show">查看</a>
64
42
  <a class="layui-btn layui-btn-normal layui-btn-xs data-count-edit" lay-event="edit">编辑</a>
65
43
  <a class="layui-btn layui-btn-xs layui-btn-danger data-count-delete" lay-event="delete">删除</a>
66
44
  </script>
45
+ <script type="text/html" id="show_follow_newWeekly">
46
+ <a href="javascript:void(0);" lay-event="show_follow_newWeekly" class="layui-table-link">{{ d.count }}</a>
47
+ </script>
67
48
  <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
- })
49
+ layui.use(['rate', 'table', 'request', 'form', 'miniPage', 'jquery'], function () {
50
+ var rate = layui.rate,
51
+ form = layui.form,
52
+ $ = layui.jquery,
53
+ miniPage = layui.miniPage,
54
+ request = layui.request;
55
+ table = layui.table;
84
56
 
85
- table.render({
57
+ form.on('submit(add_weekly_report)', function (data) {
58
+ request.authPost("educode_sales/operation_reports", data.field, function (res) {
59
+ if (res.success == false) {
60
+ layer.alert(res.msg)
61
+ } else {
62
+ layer.closeAll();
63
+ parent.table.reload('weeklyTable');
64
+ layer.alert('添加成功')
65
+ }
66
+ })
67
+ return false;
68
+ });
69
+
70
+
71
+ table.render({
86
72
  elem: '#newWeeklyTable',
87
- // url: 'api/table.json',
73
+ url: '/educode_sales/operation_plans/my_week',
88
74
  toolbar: '#newWeeklyToolbar',
89
75
  defaultToolbar: [],
90
- cols: [
91
- [
92
- {
93
- field: 'id',
94
- width: 80,
95
- title: '序号'
96
- },
97
- {
98
- field: 'username',
99
- width: 100,
100
- title: '姓名'
101
- },
102
- {
103
- field: 'chance',
104
- width: 100,
105
- title: '教师姓名',
106
- },
107
- {
108
- field: 'company',
109
- width: 100,
110
- title: '单位'
111
- },
112
- {
113
- field: 'dep',
114
- width: 100,
115
- title: '部门'
116
- },
117
- {
118
- field: 'week',
119
- width: 100,
120
- title: '周次',
121
- },
122
- {
123
- field: 'plan',
124
- width: 300,
125
- title: '计划内容',
126
- },
127
- {
128
- field: 'follow',
129
- width: 100,
130
- title: '跟进',
131
- },
132
- {
133
- field: 'rate',
134
- width: 100,
135
- title: '完成率',
136
- },
137
- {
138
- field: 'updateTime',
139
- width: 150,
140
- title: '更新时间',
141
- sort: true,
142
- },
76
+ cols: [
77
+ [
78
+ {
79
+ field: 'id',
80
+ width: 80,
81
+ title: '序号'
82
+ },
83
+ {
84
+ field: 'staff',
85
+ width: 100,
86
+ title: '姓名'
87
+ },
88
+ {
89
+ field: 'teacher_name',
90
+ width: 100,
91
+ title: '教师姓名',
92
+ },
93
+ {
94
+ field: 'school',
95
+ width: 190,
96
+ title: '单位'
97
+ },
98
+ {
99
+ field: 'department',
100
+ width: 190,
101
+ title: '部门'
102
+ },
103
+ {
104
+ field: 'week',
105
+ width: 100,
106
+ title: '周次',
107
+ },
108
+ {
109
+ field: 'content',
110
+ width: 300,
111
+ title: '计划内容',
112
+ },
113
+ {
114
+ field: 'count',
115
+ width: 100,
116
+ title: '跟进',
117
+ templet: '#show_follow_newWeekly'
118
+ },
119
+ {
120
+ field: 'rate',
121
+ width: 100,
122
+ title: '完成率',
123
+ },
124
+ {
125
+ field: 'updated_at',
126
+ width: 150,
127
+ title: '更新时间',
128
+ sort: true,
129
+ },
143
130
  {
144
131
  title: '操作',
145
132
  minWidth: 150,
@@ -148,27 +135,125 @@
148
135
  }
149
136
  ]
150
137
  ],
151
- data: [{
152
- "id": "1",
153
- "username": "丁亚莲",
154
- "chance": "人工智能实验室建设",
155
- "company": "中南大学",
156
- "dep": "计算机学院",
157
- "week": "2021-33周",
158
- "plan": "对接决策人",
159
- "follow": "120",
160
- "rate": "100%",
161
- "updateTime": "2021-07-27",
162
- }],
163
138
  limits: [10, 15, 20, 25, 50, 100],
164
139
  limit: 15,
165
140
  page: true,
166
141
  skin: 'line'
167
142
  });
168
- </script>
169
- <style>
170
- .layui-form-item {
171
- margin-bottom: 0px;
172
- }
173
143
 
174
- </style>
144
+
145
+ /**
146
+ * toolbar事件监听
147
+ */
148
+ table.on('toolbar(newWeeklyToolbar)', function (obj) {
149
+ var data = obj.data;
150
+ if (obj.event === 'add') { // 监听添加操作
151
+ var content = miniPage.getHrefContent('/educode_sales/operation_plans/new_week');
152
+ var openWH = miniPage.getOpenWidthHeight();
153
+ add_new_weeklyIndex = layer.open({
154
+ title: '添加计划',
155
+ type: 1,
156
+ shade: 0.2,
157
+ maxmin: true,
158
+ shadeClose: true,
159
+ area: [openWH[0] + 'px', openWH[1] + 'px'],
160
+ offset: [openWH[2] + 'px', openWH[3] + 'px'],
161
+ content: content,
162
+ success: function (layero, index) {
163
+ // 重新渲染弹层中的下拉选择框select
164
+ form.render('select');
165
+ }
166
+ });
167
+ $(window).on("resize", function () {
168
+ layer.full(index);
169
+ });
170
+ }
171
+ });
172
+
173
+
174
+
175
+
176
+
177
+
178
+ table.on('tool(newWeeklyToolbar)', function (obj) {
179
+ var data = obj.data;
180
+ id = data.id
181
+ if (obj.event === 'delete') {
182
+ layer.confirm('确定删除' + data.id, function (index) {
183
+ request.delete('educode_sales/operation_plans/' + data.id, {}, function (res) {
184
+ layer.close(index);
185
+ table.reload("weekPlanTable1")
186
+ table.reload("newWeeklyTable")
187
+ })
188
+ });
189
+ }
190
+ else if (obj.event === 'show') {
191
+ console.log("a");
192
+ content = miniPage.getHrefContent('/educode_sales/operation_plans/show_week?id='+id);
193
+ openWH = miniPage.getOpenWidthHeight();
194
+ index = layer.open({
195
+ title: '查看',
196
+ type: 1,
197
+ shade: 0.2,
198
+ maxmin: true,
199
+ shadeClose: true,
200
+ area: [openWH[0] + 'px', openWH[1] + 'px'],
201
+ offset: [openWH[2] + 'px', openWH[3] + 'px'],
202
+ content: content,
203
+ success: function (layero, index) {
204
+ form.render('select');
205
+ },
206
+ });
207
+ $(window).on("resize", function () {
208
+ layer.full(index);
209
+ });
210
+ return false;
211
+ } else if (obj.event === 'edit') {
212
+ content = miniPage.getHrefContent('/educode_sales/operation_plans/edit_week?id='+id);
213
+ openWH = miniPage.getOpenWidthHeight();
214
+ editWeek_index = layer.open({
215
+ title: '编辑',
216
+ type: 1,
217
+ shade: 0.2,
218
+ maxmin: true,
219
+ shadeClose: true,
220
+ area: [openWH[0] + 'px', openWH[1] + 'px'],
221
+ offset: [openWH[2] + 'px', openWH[3] + 'px'],
222
+ content: content,
223
+ success: function (layero, index) {
224
+ form.render('select');
225
+ },
226
+ });
227
+ $(window).on("resize", function () {
228
+ layer.full(index);
229
+ });
230
+ return false;
231
+ }
232
+ else if (obj.event === 'show_follow_newWeekly') {
233
+ id = data.teacher_id
234
+ content = miniPage.getHrefContent('/educode_sales/teachers/show_follow?id=' + data.teacher_id);
235
+ openWH = miniPage.getOpenWidthHeight();
236
+ index = layer.open({
237
+ title: data.teacher_name + '/跟进记录',
238
+ type: 1,
239
+ shade: 0.2,
240
+ maxmin: true,
241
+ shadeClose: true,
242
+ area: [openWH[0] + 'px', openWH[1] + 'px'],
243
+ offset: [openWH[2] + 'px', openWH[3] + 'px'],
244
+ content: content,
245
+ success: function (layero, index) {
246
+ // 重新渲染弹层中的下拉选择框select
247
+ // form.render('select');
248
+ }
249
+ });
250
+ $(window).on("resize", function () {
251
+ layer.full(index);
252
+ });
253
+ }
254
+ });
255
+
256
+
257
+
258
+ })
259
+ </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>