apply-clients 3.5.5-8 → 3.5.5-80

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 (90) hide show
  1. package/build/dev-server.js +5 -13
  2. package/package.json +6 -4
  3. package/src/App.vue +25 -25
  4. package/src/apply.js +141 -141
  5. package/src/components/QXClient.js +333 -0
  6. package/src/components/SignTools.js +65 -0
  7. package/src/components/android/Process/AppChargeList.vue +8 -0
  8. package/src/components/android/Process/AppExplorationUser.vue +1 -2
  9. package/src/components/product/Function/Service/FunctionServiceControl.vue +497 -497
  10. package/src/components/product/Install/ContractCharge.vue +3 -3
  11. package/src/components/product/MaterialsManage/MaterialsBase.vue +181 -181
  12. package/src/components/product/MaterialsManage/MaterialsManage.vue +60 -60
  13. package/src/components/product/Process/Processes/contractModel.vue +436 -424
  14. package/src/components/product/Supervisory/SupervisoryList.vue +452 -452
  15. package/src/filiale/baiyin/android/ByAddMaterialScience.vue +2 -0
  16. package/src/filiale/dingcheng/pc/SupervisoryList.vue +441 -441
  17. package/src/filiale/fugou/android/AppAddMaterialScience.vue +20 -16
  18. package/src/filiale/fugou/android/AppAddReplacement.vue +512 -341
  19. package/src/filiale/fugou/android/AppDevicesManagement.vue +3 -1
  20. package/src/filiale/fugou/android/AppExplorationUser.vue +3 -3
  21. package/src/filiale/fugou/android/AppInstallationDetails.vue +2 -1
  22. package/src/filiale/fugou/android/AppServiceControl.vue +11 -7
  23. package/src/filiale/fugou/android/AppZhihuanManagement.vue +3 -1
  24. package/src/filiale/fugou/pc/AddReplacement.vue +511 -340
  25. package/src/filiale/fugou/pc/ApplyChargeList.vue +487 -480
  26. package/src/filiale/fugou/pc/Applybatchdispatch.vue +754 -0
  27. package/src/filiale/fugou/pc/ExplorationSelect.vue +3 -4
  28. package/src/filiale/fugou/pc/ServiceControl.vue +1720 -1705
  29. package/src/filiale/fugou/pc/StopApplyList.vue +291 -0
  30. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +1 -1
  31. package/src/filiale/fugou/pc/chargeReport.vue +87 -15
  32. package/src/filiale/fugou/pc/devicesManagement.vue +1 -0
  33. package/src/filiale/fugou/pc.js +19 -17
  34. package/src/filiale/gongyi/android/AppDisclosurerecord.vue +214 -214
  35. package/src/filiale/gongyi/android/AppInstallationDetails.vue +500 -500
  36. package/src/filiale/gongyi/android/AppLegacyIssues.vue +309 -309
  37. package/src/filiale/gongyi/android/AppSign.vue +170 -170
  38. package/src/filiale/gongyi/android/AppSupplementalAgreement.vue +298 -298
  39. package/src/filiale/gongyi/android.js +18 -18
  40. package/src/filiale/gongyi/pc/ApplyUpload.vue +371 -371
  41. package/src/filiale/gongyi/pc/PcAddLogs.vue +221 -221
  42. package/src/filiale/gongyi/pc/PcDisclosurerecord.vue +218 -218
  43. package/src/filiale/gongyi/pc/PcLegacyIssues.vue +309 -309
  44. package/src/filiale/gongyi/pc/SupervisoryServiceControl.vue +894 -894
  45. package/src/filiale/gongyi/pc/SupervisoryServiceView.vue +1005 -1005
  46. package/src/filiale/gongyi/pc/addMaterialScience.vue +575 -575
  47. package/src/filiale/gongyi/pc/chargeManagement.vue +765 -765
  48. package/src/filiale/gongyi/pc/supplementalAgreement.vue +277 -277
  49. package/src/filiale/gongyi/pc.js +24 -24
  50. package/src/filiale/hongda/pc/SupervisoryList.vue +422 -422
  51. package/src/filiale/jingyang/pc/SupervisoryList.vue +459 -459
  52. package/src/filiale/jinhuang/android/AppAddMaterialScience.vue +635 -0
  53. package/src/filiale/jinhuang/android.js +6 -0
  54. package/src/filiale/jinhuang/pc/ContractList.vue +220 -0
  55. package/src/filiale/jinhuang/pc/ExplorationSelect.vue +523 -0
  56. package/src/filiale/jinhuang/pc/ServiceControl.vue +7 -0
  57. package/src/filiale/jinhuang/pc/addMaterialScience.vue +638 -0
  58. package/src/filiale/jinhuang/pc/addressAndUserinfoManagement.vue +41 -1
  59. package/src/filiale/jinhuang/pc.js +3 -0
  60. package/src/filiale/qianneng/android/AppServiceView.vue +13 -13
  61. package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +1 -1
  62. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +8 -5
  63. package/src/filiale/qianneng/pc/Applydetail.vue +1 -1
  64. package/src/filiale/qianneng/pc/FunctionServiceControl.vue +10 -3
  65. package/src/filiale/qianneng/pc/ServiceControl.vue +8 -3
  66. package/src/filiale/ruihua/pc/ServiceControl.vue +2 -1
  67. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +11 -4
  68. package/src/filiale/yangchunboneng/android/AppContractCharge.vue +3 -3
  69. package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +72 -5
  70. package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +30 -1
  71. package/src/filiale/yangchunboneng/android/AppProcessSupervisory.vue +331 -0
  72. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +219 -43
  73. package/src/filiale/yangchunboneng/android/MaterIialOne.vue +21 -1
  74. package/src/filiale/yangchunboneng/android.js +2 -1
  75. package/src/filiale/yangchunboneng/pc/ApplyChargeList.vue +32 -4
  76. package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +3 -3
  77. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +114 -49
  78. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +4 -2
  79. package/src/filiale/yangchunboneng/pc/StopApplyList.vue +294 -0
  80. package/src/filiale/yangchunboneng/pc/SupervisoryControl.vue +141 -0
  81. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +54 -42
  82. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +5 -1
  83. package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1 -1
  84. package/src/filiale/yangchunboneng/pc/buildOrderList.vue +411 -0
  85. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +5 -1
  86. package/src/filiale/yangchunboneng/pc/constructionInfo.vue +84 -0
  87. package/src/filiale/yangchunboneng/pc/printBuildOrder.vue +175 -0
  88. package/src/filiale/yangchunboneng/pc.js +6 -1
  89. package/src/main.js +1 -1
  90. package/~/chatbot/main.py +0 -57
@@ -19,10 +19,10 @@
19
19
  ></res-select>
20
20
  </div>
21
21
  <div class="form-group col-sm-3 button-range">
22
- <a type="button" class="button_new button_spacing" v-if="$parent.$parent.projectStart"
22
+ <a type="button" class="button_new button_spacing" v-if="$parent.$parent.projectTemplate"
23
23
  href="/apply/download/excel/散户报装模板.xlsx" download>模板下载</a>
24
24
  <button class="button_new button_spacing" style="width: max-content"
25
- v-if="$parent.$parent.projectStart"
25
+ v-if="$parent.$parent.projectImport"
26
26
  @click="$parent.$parent.showFile = !$parent.$parent.showFile">批量散户导入</button>
27
27
  <button class="button_new button_spacing" style="width: max-content"
28
28
  v-if="$parent.$parent.projectStart"
@@ -39,11 +39,6 @@
39
39
  </div>
40
40
  </div>
41
41
  <div class="row" v-show="$parent.$parent.criteriaShow">
42
- <!-- <div class="form-group col-sm-3">-->
43
- <!-- <label class="font_normal_body">客户名称:</label>-->
44
- <!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"-->
45
- <!-- v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>-->
46
- <!-- </div>-->
47
42
  <div class="form-group col-sm-3">
48
43
  <label class="font_normal_body">用户编号:</label>
49
44
  <input type="text" style="width:60%" class="input_search" placeholder='用户编号' v-model="model.f_userinfo_code"
@@ -56,6 +51,28 @@
56
51
  v-on:keyup.enter="$parent.$parent.search()"
57
52
  condition="u.f_apply_num like '%{}%'">
58
53
  </div>
54
+ <div class="form-group col-sm-3">
55
+ <label for="bookstart" class="font_normal_body">计划通气日期:</label>
56
+ <datepicker id="bookstart" placeholder="计划通气开始日期"
57
+ style="width: 60%!important;"
58
+ v-model="model.jihuastart"
59
+ :value.sync="model.jihuastart"
60
+ :format="'yyyy-MM-dd'"
61
+ :show-reset-button="true"
62
+ condition="f_reconnaissance_time >= '{}'">
63
+ </datepicker>
64
+ </div>
65
+ <div class="form-group col-sm-3">
66
+ <label for="bookend" class="font_normal_body">计划通气日期:</label>
67
+ <datepicker id="bookend" placeholder="计划通气结束日期"
68
+ style="width: 60%!important;"
69
+ v-model="model.jihuaend"
70
+ :value.sync="model.jihuaend"
71
+ :format="'yyyy-MM-dd'"
72
+ :show-reset-button="true"
73
+ condition="f_reconnaissance_time <= '{}'">
74
+ </datepicker>
75
+ </div>
59
76
  <div class="form-group col-sm-3">
60
77
  <label class="font_normal_body">合同编号:</label>
61
78
  <input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_money"
@@ -69,16 +86,26 @@
69
86
  condition="f_phone like '%{}%'">
70
87
  </div>
71
88
  <div class="form-group col-sm-3">
72
- <label class="font_normal_body">用户评价:</label>
73
- <input type="text" style="width:60%" class="input_search" placeholder='用户评价' v-model="model.f_user_appraise"
74
- v-on:keyup.enter="$parent.$parent.search()"
75
- condition="f_user_appraise like '%{}%'">
89
+ <label for="bookend" class="font_normal_body">预计通气时间:</label>
90
+ <datepicker id="bookend" placeholder="预计通气开始时间"
91
+ style="width: 60%!important;"
92
+ v-model="model.yujistart"
93
+ :value.sync="model.yujistart"
94
+ :format="'yyyy-MM-dd'"
95
+ :show-reset-button="true"
96
+ condition="f_yjgase_time >= '{}'">
97
+ </datepicker>
76
98
  </div>
77
99
  <div class="form-group col-sm-3">
78
- <label class="font_normal_body">合同编号:</label>
79
- <input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
80
- v-on:keyup.enter="$parent.$parent.search()"
81
- condition="f_contract_number = '{}'">
100
+ <label for="bookend" class="font_normal_body">预计通气时间:</label>
101
+ <datepicker id="bookend" placeholder="预计通气结束时间"
102
+ style="width: 60%!important;"
103
+ v-model="model.yujiend"
104
+ :value.sync="model.yujiend"
105
+ :format="'yyyy-MM-dd'"
106
+ :show-reset-button="true"
107
+ condition="f_yjgase_time <= '{}'">
108
+ </datepicker>
82
109
  </div>
83
110
  <div class="form-group col-sm-3">
84
111
  <label class="font_normal_body">报建类型:</label>
@@ -90,7 +117,7 @@
90
117
  :options='$parent.$parent.applytype'
91
118
  class="select select_list"
92
119
  :multiple="true"
93
- ></v-select>
120
+ ></v-select>
94
121
  </div>
95
122
  <div class="form-group col-sm-3">
96
123
  <label class="font_normal_body">办理环节:</label>
@@ -104,6 +131,28 @@
104
131
  :value-single="true"
105
132
  close-on-select ></v-select>
106
133
  </div>
134
+ <div class="form-group col-sm-3">
135
+ <label for="startDate" class="font_normal_body">报建开始日期:</label>
136
+ <datepicker id="startDate" placeholder="报建开始日期"
137
+ style="width: 60%!important;"
138
+ v-model="model.startDate"
139
+ :value.sync="model.startDate"
140
+ :format="'yyyy-MM-dd 00:00:00'"
141
+ :show-reset-button="true"
142
+ condition="f_apply_date >= '{}'">
143
+ </datepicker>
144
+ </div>
145
+ <div class="form-group col-sm-3">
146
+ <label for="endDate" class="font_normal_body">报建结束日期:</label>
147
+ <datepicker id="endDate" placeholder="报建结束日期"
148
+ style="width: 60%!important;"
149
+ v-model="model.endDate"
150
+ :value.sync="model.endDate"
151
+ :format="'yyyy-MM-dd 23:59:59'"
152
+ :show-reset-button="true"
153
+ condition="f_apply_date <= '{}'">
154
+ </datepicker>
155
+ </div>
107
156
  <div class="form-group col-sm-3">
108
157
  <label class="font_normal_body">用户地址:</label>
109
158
  <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
@@ -123,27 +172,33 @@
123
172
  close-on-select ></v-select>
124
173
  </div>
125
174
  <div class="form-group col-sm-3">
126
- <label for="startDate" class="font_normal_body">开始时间:</label>
127
- <datepicker id="startDate" placeholder="开始日期"
175
+ <label for="bookstart" class="font_normal_body">预约开始日期:</label>
176
+ <datepicker id="bookstart" placeholder="预约开始日期"
128
177
  style="width: 60%!important;"
129
- v-model="model.startDate"
130
- :value.sync="model.startDate"
178
+ v-model="model.bookstart"
179
+ :value.sync="model.bookstart"
131
180
  :format="'yyyy-MM-dd 00:00:00'"
132
181
  :show-reset-button="true"
133
- condition="f_apply_date >= '{}'">
182
+ condition="f_order_date >= '{}'">
134
183
  </datepicker>
135
184
  </div>
136
185
  <div class="form-group col-sm-3">
137
- <label for="endDate" class="font_normal_body">结束时间:</label>
138
- <datepicker id="endDate" placeholder="结束日期"
186
+ <label for="bookend" class="font_normal_body">预约结束日期:</label>
187
+ <datepicker id="bookend" placeholder="预约结束日期"
139
188
  style="width: 60%!important;"
140
- v-model="model.endDate"
141
- :value.sync="model.endDate"
189
+ v-model="model.bookend"
190
+ :value.sync="model.bookend"
142
191
  :format="'yyyy-MM-dd 23:59:59'"
143
192
  :show-reset-button="true"
144
- condition="f_apply_date <= '{}'">
193
+ condition="f_order_date <= '{}'">
145
194
  </datepicker>
146
195
  </div>
196
+ <div class="form-group col-sm-3">
197
+ <label class="font_normal_body">用户评价:</label>
198
+ <input type="text" style="width:60%" class="input_search" placeholder='用户评价' v-model="model.f_user_appraise"
199
+ v-on:keyup.enter="$parent.$parent.search()"
200
+ condition="f_user_appraise like '%{}%'">
201
+ </div>
147
202
  <div class="form-group col-sm-3">
148
203
  <label class="font_normal_body">稍后处理:</label>
149
204
  <v-select
@@ -157,31 +212,19 @@
157
212
  close-on-select ></v-select>
158
213
  </div>
159
214
  <div class="form-group col-sm-3">
160
- <label class="font_normal_body">节点发起人:</label>
161
- <input type="text" style="width:60%" class="input_search" v-model="model.act_sender"
162
- v-on:keyup.enter="$parent.$parent.search()" condition="act.sender like '%{}%'" placeholder='节点发起人'>
215
+ <label class="font_normal_body">已收金额>= :</label>
216
+ <input type="text" style="width:60%" class="input_search" placeholder='已收金额>=' v-model="model.f_cumulative_payment_money"
217
+ condition="f_cumulative_payment_money >= '{}'">
163
218
  </div>
164
219
  <div class="form-group col-sm-3">
165
- <label for="bookstart" class="font_normal_body">开始时间:</label>
166
- <datepicker id="bookstart" placeholder="预约开始日期"
167
- style="width: 60%!important;"
168
- v-model="model.bookstart"
169
- :value.sync="model.bookstart"
170
- :format="'yyyy-MM-dd 00:00:00'"
171
- :show-reset-button="true"
172
- condition="f_order_date >= '{}'">
173
- </datepicker>
220
+ <label class="font_normal_body">已收金额<= :</label>
221
+ <input type="text" style="width:60%" class="input_search" placeholder='已收金额=' v-model="model.f_cumulative_payment_money2"
222
+ condition="f_cumulative_payment_money <= '{}'">
174
223
  </div>
175
224
  <div class="form-group col-sm-3">
176
- <label for="bookend" class="font_normal_body">结束时间:</label>
177
- <datepicker id="bookend" placeholder="预约结束日期"
178
- style="width: 60%!important;"
179
- v-model="model.bookend"
180
- :value.sync="model.bookend"
181
- :format="'yyyy-MM-dd 23:59:59'"
182
- :show-reset-button="true"
183
- condition="f_order_date <= '{}'">
184
- </datepicker>
225
+ <label class="font_normal_body">节点发起人:</label>
226
+ <input type="text" style="width:60%" class="input_search" v-model="model.act_sender"
227
+ v-on:keyup.enter="$parent.$parent.search()" condition="act.sender like '%{}%'" placeholder='节点发起人'>
185
228
  </div>
186
229
  </div>
187
230
  </div>
@@ -192,6 +235,7 @@
192
235
  <th style="white-space: nowrap;">操作</th>
193
236
  <th style="white-space: nowrap;">序号</th>
194
237
  <th style="white-space: nowrap;">工程编号</th>
238
+ <th style="white-space: nowrap;">用户编号</th>
195
239
  <th style="white-space: nowrap;">客户名称</th>
196
240
  <th style="white-space: nowrap;">合同编号</th>
197
241
  <th style="white-space: nowrap;">合同金额</th>
@@ -203,6 +247,8 @@
203
247
  <th style="white-space: nowrap;">报建类型</th>
204
248
  <th style="white-space: nowrap;">办理环节</th>
205
249
  <th style="white-space: nowrap;">流程状态</th>
250
+ <th style="white-space: nowrap;">计划通气时间</th>
251
+ <th style="white-space: nowrap;">预计通气时间</th>
206
252
  <th style="white-space: nowrap;">报建日期</th>
207
253
  <th style="white-space: nowrap;">用户评价</th>
208
254
  </tr>
@@ -227,6 +273,9 @@
227
273
  <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
228
274
  <nobr><font>{{row.f_apply_num}}</font></nobr>
229
275
  </td>
276
+ <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
277
+ <nobr><font>{{row.f_userinfo_code}}</font></nobr>
278
+ </td>
230
279
  <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
231
280
  <nobr><font>{{row.f_user_name}}</font></nobr>
232
281
  </td>
@@ -260,6 +309,12 @@
260
309
  <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
261
310
  <nobr><font>{{row.f_sub_state}}</font></nobr>
262
311
  </td>
312
+ <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
313
+ <nobr><font>{{row.f_reconnaissance_time}}</font></nobr>
314
+ </td>
315
+ <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
316
+ <nobr><font>{{row.f_yjgase_time}}</font></nobr>
317
+ </td>
263
318
  <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
264
319
  <nobr><font>{{row.f_apply_date}}</font></nobr>
265
320
  </td>
@@ -332,7 +387,7 @@
332
387
  curorgid: [this.$login.f.orgid],
333
388
  applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
334
389
  defnames: [{label: '全部', value: ''}, ...this.$appdata.getParam('办理环节')], // 流程节点
335
- applyNatures: [{label: '全部', value: ''}], // 报建性质
390
+ applyNatures: [{label: '全部', value: ''},...this.$appdata.getParam('报建性质')], // 报建性质
336
391
  criteriaShow: false,
337
392
  showFile: false,
338
393
  laterList: [
@@ -472,7 +527,11 @@
472
527
  },
473
528
  clear () {
474
529
  Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
475
- this.$refs.cp.$refs.cri.model[key] = null
530
+ if (Array.isArray(this.$refs.cp.$refs.cri.model[key])) {
531
+ this.$refs.cp.$refs.cri.model[key] = [];
532
+ } else {
533
+ this.$refs.cp.$refs.cri.model[key] = null;
534
+ }
476
535
  })
477
536
  },
478
537
  getorg (val) {
@@ -485,6 +544,12 @@
485
544
  computed: {
486
545
  projectStart () {
487
546
  return this.$login.r.includes('报建发起')
547
+ },
548
+ projectTemplate () {
549
+ return this.$login.r.includes('报建流程-模板下载')
550
+ },
551
+ projectImport () {
552
+ return this.$login.r.includes('报建流程-批量散户导入')
488
553
  }
489
554
  },
490
555
  watch: {
@@ -692,7 +692,7 @@
692
692
  data: res.data[i],
693
693
  user: this.$login.f
694
694
  }
695
- http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/stopApply`, {data: data}, {resolveMsg: null, rejectMsg: null})
695
+ new HttpResetClass().load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/stopApply`, {data: data}, {resolveMsg: null, rejectMsg: null})
696
696
  }
697
697
  }
698
698
  })
@@ -1823,6 +1823,8 @@
1823
1823
  num = 'GA'
1824
1824
  }else if (this.show_data.fields[index].value == '内投合同' ){
1825
1825
  num = 'NT'
1826
+ }else if (this.show_data.fields[index].value == '公用合同' ){
1827
+ num = 'GA'
1826
1828
  }
1827
1829
  this.setLabelValue('性质代码', num)
1828
1830
  },
@@ -1942,7 +1944,7 @@
1942
1944
  await http.load('post',`rs/sql/apply_singleTable`,{data: data},{rejectMsg:null,resolveMsg:null}).then( res=>{
1943
1945
  //判断res.data.length == 0,则子流程已经完工,然后将付流程进行到下一步
1944
1946
  if (res.data.length == 0){
1945
- http.load('post',`rs/sql/checkuser`,{data: {condition:` f_process_id= '${this.show_data.f_parent_process_id}'`, data: {id: this.$login.f.id,orgid: this.$login.f.orgid}}},{resolveMsg:null,rejectMsg:null}).then(row=>{
1947
+ http.load('post',`rs/sql/supervisory`,{data: {condition:` u.f_process_id= '${this.show_data.f_parent_process_id}'`, data: {id: this.$login.f.id,orgid: this.$login.f.orgid}}},{resolveMsg:null,rejectMsg:null}).then(row=>{
1946
1948
  const show_data = row.data[0]
1947
1949
  show_data.user = this.$login.f
1948
1950
  show_data.start_activity ='报装申请'
@@ -0,0 +1,294 @@
1
+ <template>
2
+ <div class="col-sm-12">
3
+ <criteria-paged :model="model" v-ref:cp>
4
+ <criteria partial='criteria' @condition-changed='search' v-ref:cri>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
+ <div class="row">
7
+
8
+ <div class="form-group col-sm-3">
9
+ <label class="font_normal_body">工程编号:</label>
10
+ <input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
11
+ v-on:keyup.enter="search"
12
+ condition="f_apply_num like '%{}%'">
13
+ </div>
14
+ <div class="form-group col-sm-3">
15
+ <label class="font_normal_body">客户名称:</label>
16
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
17
+ v-on:keyup.enter="$parent.$parent.search()" condition="a.f_user_name like '%{}%'" placeholder='客户名称'>
18
+ </div>
19
+ <div class="form-group col-sm-3">
20
+ <label class="font_normal_body">用户地址:</label>
21
+ <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
22
+ v-on:keyup.enter="search"
23
+ condition="f_address like '%{}%'">
24
+ </div>
25
+ <div class="form-group col-sm-2 button-range">
26
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
27
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
28
+ <div
29
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
30
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
31
+ class="button_spacing"
32
+ style="float: right">
33
+ </div>
34
+ </div>
35
+ </div>
36
+ <div class="row" v-show="$parent.$parent.criteriaShow">
37
+ <div class="form-group col-sm-3">
38
+ <label class="font_normal_body">组织机构:</label>
39
+ <res-select
40
+ restype='organization'
41
+ :initresid='$parent.$parent.curorgid'
42
+ @res-select="$parent.$parent.getorg"
43
+ is-mul="false"
44
+ ></res-select>
45
+ </div>
46
+ <div class="form-group col-sm-3">
47
+ <label class="font_normal_body">用户编号:</label>
48
+ <input type="text" style="width:60%" class="input_search" placeholder='用户编号' v-model="model.f_userinfo_code"
49
+ v-on:keyup.enter="$parent.$parent.search()"
50
+ condition="f_userinfo_code like '%{}%'">
51
+ </div>
52
+ <div class="form-group col-sm-3">
53
+ <label class="font_normal_body">联系电话:</label>
54
+ <input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
55
+ v-on:keyup.enter="search"
56
+ condition="f_phone like '%{}%'">
57
+ </div>
58
+ <div class="form-group col-sm-3">
59
+ <label class="font_normal_body">合同编号:</label>
60
+ <input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
61
+ v-on:keyup.enter="search"
62
+ condition="f_contract_number = '{}'">
63
+ </div>
64
+ <div class="form-group col-sm-3">
65
+ <label class="font_normal_body">报建类型:</label>
66
+ <v-select
67
+ v-model="model.f_apply_type"
68
+ placeholder='报建类型'
69
+ condition="f_apply_type = '{}'"
70
+ :value.sync="model.f_apply_type"
71
+ :options='$parent.$parent.applytype'
72
+ class="select select_list"
73
+ :value-single="true"
74
+ @change="$parent.$parent.applyTypeChange()"
75
+ close-on-select ></v-select>
76
+ </div>
77
+ <div class="form-group col-sm-3">
78
+ <label class="font_normal_body">类型:</label>
79
+ <v-select
80
+ v-model="model.f_type"
81
+ placeholder='报建类型'
82
+ condition="f_type = '{}'"
83
+ :value.sync="model.f_type"
84
+ :options='$parent.$parent.types'
85
+ class="select select_list"
86
+ :value-single="true"
87
+ close-on-select ></v-select>
88
+ </div>
89
+ <div class="form-group col-sm-3">
90
+ <label class="font_normal_body">办理环节:</label>
91
+ <v-select
92
+ v-model="model.defname"
93
+ placeholder='办理环节'
94
+ condition="defname = '{}'"
95
+ :value.sync="model.defname"
96
+ :options='$parent.$parent.defnames'
97
+ class="select select_list"
98
+ :value-single="true"
99
+ close-on-select ></v-select>
100
+ </div>
101
+ <div class="form-group col-sm-3">
102
+ <label class="font_normal_body">报建性质:</label>
103
+ <v-select
104
+ v-model="model.f_apply_nature"
105
+ placeholder='报建性质'
106
+ condition="f_apply_nature = '{}'"
107
+ :value.sync="model.f_apply_nature"
108
+ :options='$parent.$parent.applyNatures'
109
+ class="select select_list"
110
+ :value-single="true"
111
+ close-on-select ></v-select>
112
+ </div>
113
+ <div class="form-group col-sm-3">
114
+ <label for="startDate" class="font_normal_body">开始时间:</label>
115
+ <datepicker id="startDate" placeholder="开始日期"
116
+ style="width: 60%!important;"
117
+ v-model="model.startDate"
118
+ :value.sync="model.startDate"
119
+ :format="'yyyy-MM-dd 00:00:00'"
120
+ :show-reset-button="true"
121
+ condition="f_apply_date >= '{}'">
122
+ </datepicker>
123
+ </div>
124
+ <div class="form-group col-sm-3">
125
+ <label for="endDate" class="font_normal_body">结束时间:</label>
126
+ <datepicker id="endDate" placeholder="结束日期"
127
+ style="width: 60%!important;"
128
+ v-model="model.endDate"
129
+ :value.sync="model.endDate"
130
+ :format="'yyyy-MM-dd 23:59:59'"
131
+ :show-reset-button="true"
132
+ condition="f_apply_date <= '{}'">
133
+ </datepicker>
134
+ </div>
135
+ </div>
136
+ </div>
137
+ </criteria>
138
+ <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
139
+ <template partial='head'>
140
+ <tr>
141
+ <th style="white-space: nowrap;">序号</th>
142
+ <th style="white-space: nowrap;">操作</th>
143
+ <th style="white-space: nowrap;">报建编号</th>
144
+ <th style="white-space: nowrap;">客户名称</th>
145
+ <th style="white-space: nowrap;">联系人</th>
146
+ <th style="white-space: nowrap;">电话</th>
147
+ <th style="white-space: nowrap;">报建类型</th>
148
+ <th style="white-space: nowrap;">办理环节</th>
149
+ <th style="white-space: nowrap;">类型</th>
150
+ <th style="white-space: nowrap;">状态</th>
151
+ <th style="white-space: nowrap;">终止原因</th>
152
+ <th style="white-space: nowrap;">终止时间</th>
153
+ <th style="white-space: nowrap;">终止人</th>
154
+ <th style="white-space: nowrap;">撤销原因</th>
155
+ <th style="white-space: nowrap;">撤销时间</th>
156
+ <th style="white-space: nowrap;">撤销人</th>
157
+ </tr>
158
+ </template>
159
+ <template partial='body'>
160
+ <tr>
161
+ <td style="text-align: center;">
162
+ <nobr>{{$index+1}}</nobr>
163
+ </td>
164
+ <td style="text-align: center;">
165
+ <dropdown v-if="row.f_type === '暂停报建' && row.f_state === '有效' && $parent.$parent.$parent.stopStart ">
166
+ <button type="button" data-toggle="dropdown" style="border: 0px;background: none;">
167
+ <span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
168
+ </button>
169
+ <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-left">
170
+ <li>
171
+ <a href="#" @click="$parent.$parent.$parent.click(row)">撤销</a>
172
+ </li>
173
+ </ul>
174
+ </dropdown>
175
+ </td>
176
+ <td style="text-align: center;">
177
+ <nobr>{{row.f_apply_num}}</nobr>
178
+ </td>
179
+ <td style="text-align: center;">
180
+ <nobr>{{row.f_user_name}}</nobr>
181
+ </td>
182
+ <td style="text-align: center;">
183
+ <nobr>{{row.f_contact}}</nobr>
184
+ </td>
185
+ <td style="text-align: center;">
186
+ <nobr>{{row.f_phone}}</nobr>
187
+ </td>
188
+ <td style="text-align: center;">
189
+ <nobr>{{row.f_apply_type}}</nobr>
190
+ </td>
191
+ <td style="text-align: center;">
192
+ <nobr>{{row.defname}}</nobr>
193
+ </td>
194
+ <td style="text-align: center;">
195
+ <nobr>{{row.f_type}}</nobr>
196
+ </td>
197
+ <td style="text-align: center;">
198
+ <nobr>{{row.f_state}}</nobr>
199
+ </td>
200
+ <td style="text-align: center;">
201
+ <nobr>{{row.f_stop_reason}}</nobr>
202
+ </td>
203
+ <td style="text-align: center;">
204
+ <nobr>{{row.f_stop_date}}</nobr>
205
+ </td>
206
+ <td style="text-align: center;">
207
+ <nobr>{{row.f_operator}}</nobr>
208
+ </td>
209
+ <td style="text-align: center;">
210
+ <nobr>{{row.f_cancel_reason}}</nobr>
211
+ </td>
212
+ <td style="text-align: center;">
213
+ <nobr>{{row.f_cancel_date}}</nobr>
214
+ </td>
215
+ <td style="text-align: center;">
216
+ <nobr>{{row.f_cancel_operator}}</nobr>
217
+ </td>
218
+ </tr>
219
+ </template>
220
+ </data-grid>
221
+ </criteria-paged>
222
+ </div>
223
+ </template>
224
+ <script>
225
+ import {PagedList} from 'vue-client'
226
+ import {isEmpty} from '../../../components/Util'
227
+ export default {
228
+ title: '勘探详情',
229
+ data () {
230
+ return {
231
+ model: new PagedList('rs/sql/getStopApply', 20, {
232
+ data: {
233
+ orgid: this.$login.f.orgid
234
+ }
235
+ }),
236
+ curorgid: [this.$login.f.orgid],
237
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
238
+ types: [{label: '全部', value: ''},{label: '暂停报建', value: '暂停报建'}, {label: '终止报建', value: '终止报建'}],
239
+ defnames: [{label: '全部', value: ''}], // 流程节点
240
+ applyNatures: [{label: '全部', value: ''}], // 报建性质
241
+ criteriaShow: false
242
+ }
243
+ },
244
+ ready () {
245
+ // 调用查询
246
+ this.search()
247
+ },
248
+ events: {
249
+ },
250
+ methods: {
251
+ // 查询
252
+ search () {
253
+ this.$dispatch('search')
254
+ },
255
+ click (row) {
256
+ this.$dispatch('cancelStopApply', row)
257
+ },
258
+ async applyTypeChange () {
259
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
260
+ let res = await this.$resetpost('rs/logic/getDefnameByType',
261
+ { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
262
+ {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
263
+ )
264
+
265
+ this.defnames = [{label: '全部', value: ''}, ...res.data]
266
+
267
+ this.applyNatures = isEmpty(this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)]
268
+ } else {
269
+ this.defnames = [{label: '全部', value: ''}]
270
+
271
+ this.applyNatures = [{label: '全部', value: ''}]
272
+ }
273
+ },
274
+ clear () {
275
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
276
+ this.$refs.cp.$refs.cri.model[key] = null
277
+ })
278
+ },
279
+ getorg (val) {
280
+ if (val.length <= 0) {
281
+ return
282
+ }
283
+ this.model.params.data.orgid = val[0]
284
+ }
285
+ },
286
+ computed: {
287
+ stopStart () {
288
+ return this.$login.r.includes('暂停报建撤销')
289
+ },
290
+ }
291
+ }
292
+ </script>
293
+ <style scoped>
294
+ </style>