apply-clients 3.5.4-90 → 3.5.4-91

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 (49) hide show
  1. package/build/dev-server.js +6 -11
  2. package/package.json +1 -1
  3. package/src/apply.js +139 -137
  4. package/src/components/android/AppCheckTakePic.vue +168 -168
  5. package/src/components/android/AppTakePic.vue +182 -182
  6. package/src/components/android/Process/AppServiceControl.vue +1755 -1755
  7. package/src/components/product/Material/MaterialDetailed.vue +268 -268
  8. package/src/components/product/PcZhihuanManagement.vue +160 -160
  9. package/src/components/product/Process/Processes/selectApply.vue +251 -250
  10. package/src/components/product/Process/Processes/selectBcakApply.vue +250 -0
  11. package/src/filiale/fugou/android/AppAddMaterialScience.vue +440 -440
  12. package/src/filiale/fugou/android/AppAddReplacement.vue +341 -341
  13. package/src/filiale/fugou/android/AppChargeManagement.vue +739 -739
  14. package/src/filiale/fugou/android/AppDevicesManagement.vue +519 -519
  15. package/src/filiale/fugou/android/AppInstallationDetails.vue +541 -541
  16. package/src/filiale/fugou/android/AppServiceControl.vue +1845 -1845
  17. package/src/filiale/fugou/android/AppZhihuanManagement.vue +197 -197
  18. package/src/filiale/fugou/android/printCharge.vue +162 -162
  19. package/src/filiale/fugou/android.js +16 -16
  20. package/src/filiale/fugou/pc/AddReplacement.vue +340 -340
  21. package/src/filiale/fugou/pc/ExplorationSelect.vue +525 -525
  22. package/src/filiale/fugou/pc/ServiceControl.vue +1705 -1705
  23. package/src/filiale/fugou/pc/ServiceView.vue +941 -941
  24. package/src/filiale/fugou/pc/addMaterialScience.vue +481 -481
  25. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +216 -216
  26. package/src/filiale/fugou/pc/chargeReport.vue +143 -143
  27. package/src/filiale/fugou/pc/devicesManagement.vue +483 -483
  28. package/src/filiale/fugou/pc/printChargepc.vue +148 -148
  29. package/src/filiale/fugou/pc.js +15 -15
  30. package/src/filiale/gongyi/android/AppAddMaterialScience.vue +493 -493
  31. package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -686
  32. package/src/filiale/qianneng/android.js +15 -15
  33. package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +261 -261
  34. package/src/filiale/qianneng/pc/Applydetail.vue +378 -378
  35. package/src/filiale/qianneng/pc/InstallFunction.vue +188 -188
  36. package/src/filiale/qianneng/pc.js +29 -29
  37. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +516 -516
  38. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +645 -645
  39. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1681 -1681
  40. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +547 -547
  41. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2112 -2112
  42. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +605 -605
  43. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +683 -683
  44. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1052 -1052
  45. package/src/filiale/yangchunboneng/pc/devicesManagement.vue +574 -574
  46. package/src/main.js +3 -4
  47. package/src/test/SessionTestServlet.java +69 -0
  48. package/webapp/WEB-INF/web.xml +52 -0
  49. package/webapp/session-test.jsp +59 -0
@@ -1,683 +1,683 @@
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
- <div class="form-group col-sm-3">
8
- <label class="font_normal_body">客户名称:</label>
9
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
10
- v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
11
- </div>
12
- <div class="form-group col-sm-3">
13
- <label class="font_normal_body">用户编号:</label>
14
- <input type="text" style="width:60%" class="input_search" placeholder='用户编号' v-model="model.f_userinfo_code"
15
- v-on:keyup.enter="$parent.$parent.search()"
16
- condition="f_userinfo_code like '%{}%'">
17
- </div>
18
- <div class="form-group col-sm-3">
19
- <label class="font_normal_body">组织机构:</label>
20
- <res-select
21
- restype='organization'
22
- :initresid='$parent.$parent.curorgid'·
23
- @res-select="$parent.$parent.getorg"
24
- is-mul="false"
25
- ></res-select>
26
- </div>
27
- <div class="form-group col-sm-2 button-range">
28
- <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
29
- <button class="button_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
30
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
31
- <export-excel :data="$parent.$parent.getCondition"
32
- :field="$parent.$parent.getfield"
33
- sqlurl="rs/logic/applyExportfile"
34
- sql-name="supervisory"
35
- template-name='报装信息导出'
36
- :choose-col="true"></export-excel>
37
- <div
38
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
39
- @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
40
- class="button_spacing"
41
- style="float: right">
42
- </div>
43
- </div>
44
- </div>
45
- <div class="row" v-show="$parent.$parent.criteriaShow">
46
- <div class="form-group col-sm-3">
47
- <label class="font_normal_body">用户类型:</label>
48
- <v-select
49
- v-model="model.f_user_type"
50
- placeholder='用户类型'
51
- condition="f_user_type = '{}'"
52
- :value.sync="model.f_user_type"
53
- :options='$parent.$parent.usertype'
54
- class="select select_list"
55
- :value-single="true"
56
- close-on-select ></v-select>
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_apply_num"
61
- v-on:keyup.enter="search"
62
- condition="f_apply_num like '%{}%'">
63
- </div>
64
- <div class="form-group col-sm-3">
65
- <label class="font_normal_body">合同金额:</label>
66
- <input type="text" style="width:60%" class="input_search" placeholder='合同金额' v-model="model.f_contract_money"
67
- v-on:keyup.enter="$parent.$parent.search()"
68
- condition="f_contract_money like '%{}%'">
69
- </div>
70
- <div class="form-group col-sm-3">
71
- <label class="font_normal_body">联系电话:</label>
72
- <input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
73
- v-on:keyup.enter="search"
74
- condition="f_phone like '%{}%'">
75
- </div>
76
- <div class="form-group col-sm-3">
77
- <label class="font_normal_body">合同编号:</label>
78
- <input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
79
- v-on:keyup.enter="search"
80
- condition="f_contract_number = '{}'">
81
- </div>
82
- <div class="form-group col-sm-3">
83
- <label class="font_normal_body">报建类型:</label>
84
- <v-select
85
- v-model="model.f_apply_type"
86
- placeholder='报建类型'
87
- condition="f_apply_type in {}"
88
- :value.sync="model.f_apply_type"
89
- :options='$parent.$parent.applytype'
90
- class="select select_list"
91
- :multiple="true"
92
- @change="$parent.$parent.applyTypeChange()"
93
- ></v-select>
94
- </div>
95
- <div class="form-group col-sm-3">
96
- <label class="font_normal_body">办理环节:</label>
97
- <v-select
98
- v-model="model.defname"
99
- placeholder='办理环节'
100
- condition="defname = '{}'"
101
- :value.sync="model.defname"
102
- :options='$parent.$parent.defnames'
103
- class="select select_list"
104
- :value-single="true"
105
- close-on-select ></v-select>
106
- </div>
107
- <div class="form-group col-sm-3">
108
- <label class="font_normal_body">报建性质:</label>
109
- <v-select
110
- v-model="model.f_apply_nature"
111
- placeholder='报建性质'
112
- condition="f_apply_nature = '{}'"
113
- :value.sync="model.f_apply_nature"
114
- :options='$parent.$parent.applyNatures'
115
- class="select select_list"
116
- :value-single="true"
117
- close-on-select ></v-select>
118
- </div>
119
- <div class="form-group col-sm-3">
120
- <label class="font_normal_body">流程状态:</label>
121
- <v-select
122
- v-model="model.f_sub_state"
123
- placeholder='流程状态'
124
- condition="f_sub_state = '{}'"
125
- :value.sync="model.f_sub_state"
126
- :options='$parent.$parent.subStates'
127
- class="select select_list"
128
- :value-single="true"
129
- close-on-select ></v-select>
130
- </div>
131
- <div class="form-group col-sm-3">
132
- <label class="font_normal_body">用户地址:</label>
133
- <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
134
- v-on:keyup.enter="search"
135
- condition="f_address like '%{}%'">
136
- </div>
137
- <div class="form-group col-sm-3">
138
- <label class="font_normal_body">用户评价:</label>
139
- <input type="text" style="width:60%" class="input_search" placeholder='用户评价' v-model="model.f_user_appraise"
140
- v-on:keyup.enter="search"
141
- condition="f_user_appraise like '%{}%'">
142
- </div>
143
- <div class="form-group col-sm-3">
144
- <label for="startDate" class="font_normal_body">开始时间:</label>
145
- <datepicker id="startDate" placeholder="开始日期"
146
- style="width: 60%!important;"
147
- v-model="model.startDate"
148
- :value.sync="model.startDate"
149
- :format="'yyyy-MM-dd 00:00:00'"
150
- :show-reset-button="true"
151
- condition="f_apply_date >= '{}'">
152
- </datepicker>
153
- </div>
154
- <div class="form-group col-sm-3">
155
- <label for="endDate" class="font_normal_body">结束时间:</label>
156
- <datepicker id="endDate" placeholder="结束日期"
157
- style="width: 60%!important;"
158
- v-model="model.endDate"
159
- :value.sync="model.endDate"
160
- :format="'yyyy-MM-dd 23:59:59'"
161
- :show-reset-button="true"
162
- condition="f_apply_date <= '{}'">
163
- </datepicker>
164
- </div>
165
- <div class="form-group col-sm-3">
166
- <label class="font_normal_body">施工单位:</label>
167
- <input type="text" style="width:60%" class="input_search" v-model="model.f_construction_unit"
168
- v-on:keyup.enter="$parent.$parent.search()" condition="f_construction_unit like '%{}%'" placeholder='施工单位'>
169
- </div>
170
- <div class="form-group col-sm-3">
171
- <label class="font_normal_body">表&emsp;&emsp;号:</label>
172
- <input type="text" style="width:60%" class="input_search" placeholder='表号' v-model="model.f_meternumber"
173
- v-on:keyup.enter="$parent.$parent.search()"
174
- condition="meternumber like '%{}%'">
175
- </div>
176
- <div class="form-group col-sm-3">
177
- <label class="font_normal_body">发起人:</label>
178
- <input type="text" style="width:60%" class="input_search" placeholder='发起人' v-model="model.f_operator"
179
- v-on:keyup.enter="$parent.$parent.search()"
180
- condition="f_operator like '%{}%'">
181
- </div>
182
- <div class="form-group col-sm-3">
183
- <label for="startDate" class="font_normal_body">完工时间:</label>
184
- <datepicker id="startDate" placeholder="开始日期"
185
- style="width: 60%!important;"
186
- v-model="model.startDate1"
187
- :value.sync="model.startDate1"
188
- :format="'yyyy-MM-dd 00:00:00'"
189
- :show-reset-button="true"
190
- condition=" f_finish_date >= '{}'">
191
- </datepicker>
192
- </div>
193
- <div class="form-group col-sm-3">
194
- <label for="endDate" class="font_normal_body">完工时间:</label>
195
- <datepicker id="endDate" placeholder="结束日期"
196
- style="width: 60%!important;"
197
- v-model="model.endDate1"
198
- :value.sync="model.endDate1"
199
- :format="'yyyy-MM-dd 23:59:59'"
200
- :show-reset-button="true"
201
- condition=" f_finish_date <= '{}'">
202
- </datepicker>
203
- </div>
204
- <div class="form-group col-sm-3">
205
- <label for="bookstart" class="font_normal_body">开始时间:</label>
206
- <datepicker id="bookstart" placeholder="预约开始日期"
207
- style="width: 60%!important;"
208
- v-model="model.bookstart"
209
- :value.sync="model.bookstart"
210
- :format="'yyyy-MM-dd 00:00:00'"
211
- :show-reset-button="true"
212
- condition="f_order_date >= '{}'">
213
- </datepicker>
214
- </div>
215
- <div class="form-group col-sm-3">
216
- <label for="bookend" class="font_normal_body">结束时间:</label>
217
- <datepicker id="bookend" placeholder="预约结束日期"
218
- style="width: 60%!important;"
219
- v-model="model.bookend"
220
- :value.sync="model.bookend"
221
- :format="'yyyy-MM-dd 23:59:59'"
222
- :show-reset-button="true"
223
- condition="f_order_date <= '{}'">
224
- </datepicker>
225
- </div>
226
- <div class="form-group col-sm-3">
227
- <label for="checkstart" class="font_normal_body">验收时间:</label>
228
- <datepicker id="checkstart" placeholder="开始日期"
229
- style="width: 60%!important;"
230
- v-model="model.checkstartDate"
231
- :value.sync="model.checkstartDate"
232
- :format="'yyyy-MM-dd 00:00:00'"
233
- :show-reset-button="true"
234
- condition="f_acceptance_time >= '{}'">
235
- </datepicker>
236
- </div>
237
- <div class="form-group col-sm-3">
238
- <label for="checkend" class="font_normal_body">验收时间:</label>
239
- <datepicker id="checkend" placeholder="结束日期"
240
- style="width: 60%!important;"
241
- v-model="model.checkendDate"
242
- :value.sync="model.checkendDate"
243
- :format="'yyyy-MM-dd 23:59:59'"
244
- :show-reset-button="true"
245
- condition="f_acceptance_time <= '{}'">
246
- </datepicker>
247
- </div>
248
- <div class="form-group col-sm-3">
249
- <label class="font_normal_body">施工人:</label>
250
- <input type="text" style="width:60%" class="input_search" placeholder='施工人' v-model="model.f_budget_people"
251
- v-on:keyup.enter="$parent.$parent.search()"
252
- condition="f_budget_people like '%{}%'">
253
- </div>
254
- <div class="form-group col-sm-3">
255
- <label class="font_normal_body">施工备注:</label>
256
- <input type="text" style="width:60%" class="input_search" placeholder='施工备注' v-model="model.f_construction_remarks"
257
- v-on:keyup.enter="$parent.$parent.search()"
258
- condition="f_construction_remarks like '%{}%'">
259
- </div>
260
- <div class="form-group col-sm-3">
261
- <label class="font_normal_body">审核人:</label>
262
- <v-select
263
- v-model="model.f_audit_user"
264
- placeholder='审核人'
265
- condition="u.f_audit_user like '%{}%'"
266
- :value.sync="model.f_audit_user"
267
- :options='$parent.$parent.audituser'
268
- class="select select_list"
269
- :value-single="true"
270
- close-on-select ></v-select>
271
- </div>
272
- <div class="form-group col-sm-3">
273
- <label class="font_normal_body">审核状态:</label>
274
- <v-select
275
- v-model="model.f_audit_status"
276
- placeholder='审核状态'
277
- condition="u.f_audit_status = '{}'"
278
- :value.sync="model.f_audit_status"
279
- :options='$parent.$parent.AuditsOptions'
280
- class="select select_list"
281
- :value-single="true"
282
- close-on-select ></v-select>
283
- </div>
284
- <div class="form-group col-sm-3">
285
- <label class="font_normal_body">审核备注:</label>
286
- <input type="text" style="width:60%" class="input_search" placeholder='审核备注' v-model="model.f_audit_remark"
287
- v-on:keyup.enter="$parent.$parent.search()"
288
- condition="u.f_audit_remark like '%{}%'">
289
- </div>
290
- <div class="form-group col-sm-3">
291
- <label class="font_normal_body">抽查人:</label>
292
- <v-select
293
- v-model="model.f_check_user"
294
- placeholder='抽查人'
295
- condition="u.f_check_user like '%{}%'"
296
- :value.sync="model.f_check_user"
297
- :options='$parent.$parent.checkuser'
298
- class="select select_list"
299
- :value-single="true"
300
- close-on-select ></v-select>
301
- </div>
302
- <div class="form-group col-sm-3">
303
- <label class="font_normal_body">抽查状态:</label>
304
- <v-select
305
- v-model="model.f_check_state"
306
- placeholder='审核状态'
307
- condition="u.f_check_state = '{}'"
308
- :value.sync="model.f_check_state"
309
- :options='$parent.$parent.ChecksOptions'
310
- class="select select_list"
311
- :value-single="true"
312
- close-on-select ></v-select>
313
- </div>
314
- <div class="form-group col-sm-3">
315
- <label class="font_normal_body">抽查备注:</label>
316
- <input type="text" style="width:60%" class="input_search" placeholder='抽查备注' v-model="model.f_check_comments"
317
- v-on:keyup.enter="$parent.$parent.search()"
318
- condition="u.f_check_comments like '%{}%'">
319
- </div>
320
- </div>
321
- </div>
322
- </criteria>
323
- <data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
324
- <template partial='head'>
325
- <tr>
326
- <th style="white-space: nowrap;">序号</th>
327
- <th style="white-space: nowrap;">工程编号</th>
328
- <th style="white-space: nowrap;">用户编号</th>
329
- <th style="white-space: nowrap;">客户名称</th>
330
- <th style="white-space: nowrap;">客户类型</th>
331
- <th style="white-space: nowrap;">合同编号</th>
332
- <th style="white-space: nowrap;">电话</th>
333
- <th style="white-space: nowrap;">地址</th>
334
- <th style="white-space: nowrap;">来源</th>
335
- <th style="white-space: nowrap;">报建类型</th>
336
- <th style="white-space: nowrap;">办理环节</th>
337
- <th style="white-space: nowrap;">流程状态</th>
338
- <th style="white-space: nowrap;">报建日期</th>
339
- <th style="white-space: nowrap;">完工日期</th>
340
- <th style="white-space: nowrap;">通气申请人</th>
341
- <th style="white-space: nowrap;">通气施工人</th>
342
- <th style="white-space: nowrap;">派单时间</th>
343
- <th style="white-space: nowrap;">安装项目</th>
344
- <th style="white-space: nowrap;">施工单位</th>
345
- <th style="white-space: nowrap;">施工备注</th>
346
- <th style="white-space: nowrap;">施工时间</th>
347
- <th style="white-space: nowrap;">缴费金额</th>
348
- <th style="white-space: nowrap;">验收时间</th>
349
- <th style="white-space: nowrap;">施工人</th>
350
- <th style="white-space: nowrap;">用户评价</th>
351
- <th style="white-space: nowrap;">发起人</th>
352
- <th style="white-space: nowrap;">审核人</th>
353
- <th style="white-space: nowrap;">审核状态</th>
354
- <th style="white-space: nowrap;">审核时间</th>
355
- <th style="white-space: nowrap;">审核备注</th>
356
- <th style="white-space: nowrap;">抽查人</th>
357
- <th style="white-space: nowrap;">抽查状态</th>
358
- <th style="white-space: nowrap;">抽查时间</th>
359
- <th style="white-space: nowrap;">抽查备注</th>
360
- </tr>
361
- </template>
362
- <template partial='body'>
363
- <tr>
364
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
365
- <nobr>{{$index+1}}</nobr>
366
- </td>
367
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
368
- <nobr>{{row.f_apply_num}}</nobr>
369
- </td>
370
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
371
- <nobr>{{row.f_userinfo_code}}</nobr>
372
- </td>
373
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
374
- <nobr>{{row.f_user_name}}</nobr>
375
- </td>
376
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
377
- <nobr>{{row.f_user_type}}</nobr>
378
- </td>
379
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
380
- <nobr>{{row.f_contract_number}}</nobr>
381
- </td>
382
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
383
- <nobr>{{row.f_phone}}</nobr>
384
- </td>
385
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
386
- <nobr>{{row.f_address}}</nobr>
387
- </td>
388
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
389
- <nobr>{{row.f_apply_source}}</nobr>
390
- </td>
391
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
392
- <nobr>{{row.f_apply_type}}</nobr>
393
- </td>
394
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
395
- <nobr>{{row.defname}}</nobr>
396
- </td>
397
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
398
- <nobr>{{row.f_sub_state}}</nobr>
399
- </td>
400
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
401
- <nobr>{{row.f_apply_date}}</nobr>
402
- </td>
403
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
404
- <nobr>{{row.f_finish_date}}</nobr>
405
- </td>
406
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
407
- <nobr>{{row.f_shenqing_person}}</nobr>
408
- </td>
409
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
410
- <nobr>{{row.f_tongqi_person}}</nobr>
411
- </td>
412
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
413
- <nobr>{{row.ftime}}</nobr>
414
- </td>
415
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
416
- <nobr>{{row.f_install_project}}</nobr>
417
- </td>
418
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
419
- <nobr>{{row.f_construction_unit}}</nobr>
420
- </td>
421
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
422
- <nobr>{{row.f_construction_remarks}}</nobr>
423
- </td>
424
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
425
- <nobr>{{row.f_construction_date}}</nobr>
426
- </td>
427
- <!-- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
428
- <nobr>{{row['热水器']}}</nobr>
429
- </td>
430
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
431
- <nobr>{{row['灶具']}}</nobr>
432
- </td>-->
433
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
434
- <nobr>{{row.f_cumulative_payment_money}}</nobr>
435
- </td>
436
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
437
- <nobr>{{row.f_acceptance_time}}</nobr>
438
- </td>
439
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
440
- <nobr>{{row.f_budget_people}}</nobr>
441
- </td>
442
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
443
- <nobr>{{row.f_user_appraise}}</nobr>
444
- </td>
445
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
446
- <nobr>{{row.f_operator}}</nobr>
447
- </td>
448
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
449
- <nobr>{{row.f_audit_user}}</nobr>
450
- </td>
451
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
452
- <nobr>{{row.f_audit_status}}</nobr>
453
- </td>
454
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
455
- <nobr>{{row.f_audit_time}}</nobr>
456
- </td>
457
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
458
- <nobr>{{row.f_audit_remark}}</nobr>
459
- </td>
460
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
461
- <nobr>{{row.f_check_user}}</nobr>
462
- </td>
463
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
464
- <nobr>{{row.f_check_state}}</nobr>
465
- </td>
466
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
467
- <nobr>{{row.f_check_time}}</nobr>
468
- </td>
469
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
470
- <nobr>{{row.f_check_comments}}</nobr>
471
- </td>
472
- </tr>
473
- </template>
474
- </data-grid>
475
- </criteria-paged>
476
- </div>
477
- </template>
478
- <script>
479
- import {HttpResetClass, PagedList} from 'vue-client'
480
- import {isEmpty} from '../../../components/Util'
481
- export default {
482
- title: '勘探详情',
483
- props: ['showData'],
484
- data () {
485
- return {
486
- model: new PagedList('rs/sql/supervisoryNew', 20, {
487
- data: {
488
- orgid: this.$login.f.orgid
489
- }
490
- }),
491
- orgid:'',
492
- AuditsOptions:this.$appdata.getParam("报建审核状态"),
493
- ChecksOptions:this.$appdata.getParam("报建抽查状态"),
494
- curorgid: [this.$login.f.orgid],
495
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('审核抽查报建类型')],
496
- usertype: [{label: '全部', value: ''}, {label: '民用', value: '民用'}, {label: '非民用', value: '非民用'}],
497
- defnames: [{label: '全部', value: ''}], // 流程节点
498
- applyNatures: [{label: '全部', value: ''}], // 报建性质
499
- criteriaShow: false,
500
- subStates: [
501
- {label: '全部', value: ''},
502
- {label: '新增', value: '新增'},
503
- {label: '暂停', value: '暂停'},
504
- {label: '终止', value: '终止'},
505
- {label: '完工', value: '完工'},
506
- {label: '正在进行', value: '正在进行'}
507
- ], // 流程状态
508
- lyStates: [
509
- {label: '全部', value: ''},
510
- {label: '已领', value: '已领'},
511
- {label: '未领', value: '未领'}
512
-
513
- ],
514
- checkuser:[{label: '全部', value: ''}],
515
- audituser:[{label: '全部', value: ''}],
516
- // 流程状态
517
- getfield: {
518
- 'f_apply_num': '工程编号',
519
- 'f_userinfo_code': '用户编号',
520
- 'f_user_name': '客户名称',
521
- 'f_user_type': '客户类型',
522
- 'f_contract_number': '合同编号',
523
- 'f_phone': '电话',
524
- 'f_address': '地址',
525
- 'f_apply_type': '报建类型',
526
- 'f_apply_nature': '报建性质',
527
- 'f_cumulative_payment_money': '收费金额',
528
- 'defname': '办理环节',
529
- 'f_sub_state': '流程状态',
530
- 'f_apply_date': '报建日期',
531
- 'f_finish_date': '完工日期',
532
- 'f_shenqing_person': '通气申请人',
533
- 'f_tongqi_person': '通气施工人',
534
- 'f_apply_remarks': '备注',
535
- 'f_payment_remarks': '缴费备注',
536
- 'f_install_project': '安装项目',
537
- 'f_construction_unit': '施工单位',
538
- 'f_construction_date': '施工时间',
539
- 'f_construction_remarks': '施工备注',
540
- 'f_budget_people':'施工人',
541
- 'f_acceptance_time':'验收时间',
542
- 'f_audit_user':'审核人',
543
- 'f_audit_time':'审核时间',
544
- 'f_audit_status':'审核状态',
545
- 'f_audit_remark':'审核备注',
546
- 'f_check_user':'抽查人',
547
- 'f_check_time':'抽查时间',
548
- 'f_check_state':'抽查状态',
549
- 'f_check_comments':'抽查备注',
550
- }
551
- }
552
- },
553
- ready () {
554
- // 调用查询
555
- this.search()
556
- this.getaudituser()
557
- this.getcheckuser()
558
- },
559
- events: {
560
- },
561
- methods: {
562
- loadPage () {
563
- this.$dispatch('loadPage')
564
- },
565
- // 查询
566
- search () {
567
- this.$dispatch('search')
568
- },
569
- check (val) {
570
- this.$dispatch('apply', val)
571
- },
572
- async applyTypeChange () {
573
- //判断this.$refs.cp.$refs.cri.model.f_apply_type是不是数组
574
- if (Array.isArray(this.$refs.cp.$refs.cri.model.f_apply_type)) {
575
- if(this.$refs.cp.$refs.cri.model.f_apply_type.length>0){
576
- for (let i = 0; i < this.$refs.cp.$refs.cri.model.f_apply_type.length; i++) {
577
- let res = await this.$resetpost('rs/logic/getDefnameByType',
578
- { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type[i] },
579
- {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
580
- )
581
- if (!isEmpty(res.data)) {
582
- const newDefnames = [{ label: '全部', value: '' }, ...res.data];
583
- const newApplyNatures = isEmpty(this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type[i]}性质`))
584
- ? [{ label: '全部', value: '' }]
585
- : [{ label: '全部', value: '' }, ...this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type[i]}性质`)];
586
- // 检查并追加 defnames
587
- newDefnames.forEach(item => {
588
- if (!this.defnames.some(defname => defname.value === item.value)) {
589
- this.defnames.push(item);
590
- }
591
- });
592
- // 检查并追加 applyNatures
593
- newApplyNatures.forEach(item => {
594
- if (!this.applyNatures.some(applyNature => applyNature.value === item.value)) {
595
- this.applyNatures.push(item);
596
- }
597
- });
598
- }
599
- }
600
- }
601
- }else{
602
- if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
603
- let res = await this.$resetpost('rs/logic/getDefnameByType',
604
- { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
605
- {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
606
- )
607
-
608
- this.defnames = [{label: '全部', value: ''}, ...res.data]
609
-
610
- 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}性质`)]
611
- } else {
612
- this.defnames = [{label: '全部', value: ''}]
613
-
614
- this.applyNatures = [{label: '全部', value: ''}]
615
- }
616
- }
617
- },
618
- clear () {
619
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
620
- this.$refs.cp.$refs.cri.model[key] = null
621
- })
622
- },
623
- getorg (val) {
624
- if (val.length <= 0) {
625
- return
626
- }
627
- this.model.params.data.orgid = val[0]
628
- this.orgid= val[0]
629
- },
630
- getcheckuser(){
631
- let http = new HttpResetClass()
632
- let data = {
633
- items: 'f_check_user',
634
- groupitem: 'f_check_user',
635
- tablename: 't_apply',
636
- condition: `f_orgid = '${this.$login.f.orgid}' `
637
- }
638
- http.load('POST', 'rs/sql/tel_singleTable_GroupBy', {data:data}, {
639
- resolveMsg: null,
640
- rejectMsg: '抽查人查询失败!!!'
641
- }).then(res=>{
642
- res.data.forEach(item =>{
643
- if(!isEmpty(item.f_check_user)){
644
- this.checkuser.push({label: item.f_check_user, value: item.f_check_user})
645
- }
646
- })
647
- })
648
- },
649
- getaudituser(){
650
- let http = new HttpResetClass()
651
- let data = {
652
- items: 'f_audit_user',
653
- groupitem: 'f_audit_user',
654
- tablename: 't_apply',
655
- condition: `f_orgid = '${this.$login.f.orgid}' `
656
- }
657
- http.load('POST', 'rs/sql/tel_singleTable_GroupBy', {data:data}, {
658
- resolveMsg: null,
659
- rejectMsg: '审核人查询失败!!!'
660
- }).then(res=>{
661
- res.data.forEach((item) =>{
662
- if(!isEmpty(item.f_audit_user)){
663
- this.audituser.push({label: item.f_audit_user, value: item.f_audit_user})
664
- }
665
- }
666
- )
667
- })
668
- }
669
- },
670
- computed: {
671
- getCondition () {
672
- return {
673
- condition: this.model.condition,
674
- data: {
675
- orgid: this.orgid
676
- }
677
- }
678
- }
679
- }
680
- }
681
- </script>
682
- <style scoped>
683
- </style>
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
+ <div class="form-group col-sm-3">
8
+ <label class="font_normal_body">客户名称:</label>
9
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
10
+ v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
11
+ </div>
12
+ <div class="form-group col-sm-3">
13
+ <label class="font_normal_body">用户编号:</label>
14
+ <input type="text" style="width:60%" class="input_search" placeholder='用户编号' v-model="model.f_userinfo_code"
15
+ v-on:keyup.enter="$parent.$parent.search()"
16
+ condition="f_userinfo_code like '%{}%'">
17
+ </div>
18
+ <div class="form-group col-sm-3">
19
+ <label class="font_normal_body">组织机构:</label>
20
+ <res-select
21
+ restype='organization'
22
+ :initresid='$parent.$parent.curorgid'·
23
+ @res-select="$parent.$parent.getorg"
24
+ is-mul="false"
25
+ ></res-select>
26
+ </div>
27
+ <div class="form-group col-sm-2 button-range">
28
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
29
+ <button class="button_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
30
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
31
+ <export-excel :data="$parent.$parent.getCondition"
32
+ :field="$parent.$parent.getfield"
33
+ sqlurl="rs/logic/applyExportfile"
34
+ sql-name="supervisory"
35
+ template-name='报装信息导出'
36
+ :choose-col="true"></export-excel>
37
+ <div
38
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
39
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
40
+ class="button_spacing"
41
+ style="float: right">
42
+ </div>
43
+ </div>
44
+ </div>
45
+ <div class="row" v-show="$parent.$parent.criteriaShow">
46
+ <div class="form-group col-sm-3">
47
+ <label class="font_normal_body">用户类型:</label>
48
+ <v-select
49
+ v-model="model.f_user_type"
50
+ placeholder='用户类型'
51
+ condition="f_user_type = '{}'"
52
+ :value.sync="model.f_user_type"
53
+ :options='$parent.$parent.usertype'
54
+ class="select select_list"
55
+ :value-single="true"
56
+ close-on-select ></v-select>
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_apply_num"
61
+ v-on:keyup.enter="search"
62
+ condition="f_apply_num like '%{}%'">
63
+ </div>
64
+ <div class="form-group col-sm-3">
65
+ <label class="font_normal_body">合同金额:</label>
66
+ <input type="text" style="width:60%" class="input_search" placeholder='合同金额' v-model="model.f_contract_money"
67
+ v-on:keyup.enter="$parent.$parent.search()"
68
+ condition="f_contract_money like '%{}%'">
69
+ </div>
70
+ <div class="form-group col-sm-3">
71
+ <label class="font_normal_body">联系电话:</label>
72
+ <input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
73
+ v-on:keyup.enter="search"
74
+ condition="f_phone like '%{}%'">
75
+ </div>
76
+ <div class="form-group col-sm-3">
77
+ <label class="font_normal_body">合同编号:</label>
78
+ <input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
79
+ v-on:keyup.enter="search"
80
+ condition="f_contract_number = '{}'">
81
+ </div>
82
+ <div class="form-group col-sm-3">
83
+ <label class="font_normal_body">报建类型:</label>
84
+ <v-select
85
+ v-model="model.f_apply_type"
86
+ placeholder='报建类型'
87
+ condition="f_apply_type in {}"
88
+ :value.sync="model.f_apply_type"
89
+ :options='$parent.$parent.applytype'
90
+ class="select select_list"
91
+ :multiple="true"
92
+ @change="$parent.$parent.applyTypeChange()"
93
+ ></v-select>
94
+ </div>
95
+ <div class="form-group col-sm-3">
96
+ <label class="font_normal_body">办理环节:</label>
97
+ <v-select
98
+ v-model="model.defname"
99
+ placeholder='办理环节'
100
+ condition="defname = '{}'"
101
+ :value.sync="model.defname"
102
+ :options='$parent.$parent.defnames'
103
+ class="select select_list"
104
+ :value-single="true"
105
+ close-on-select ></v-select>
106
+ </div>
107
+ <div class="form-group col-sm-3">
108
+ <label class="font_normal_body">报建性质:</label>
109
+ <v-select
110
+ v-model="model.f_apply_nature"
111
+ placeholder='报建性质'
112
+ condition="f_apply_nature = '{}'"
113
+ :value.sync="model.f_apply_nature"
114
+ :options='$parent.$parent.applyNatures'
115
+ class="select select_list"
116
+ :value-single="true"
117
+ close-on-select ></v-select>
118
+ </div>
119
+ <div class="form-group col-sm-3">
120
+ <label class="font_normal_body">流程状态:</label>
121
+ <v-select
122
+ v-model="model.f_sub_state"
123
+ placeholder='流程状态'
124
+ condition="f_sub_state = '{}'"
125
+ :value.sync="model.f_sub_state"
126
+ :options='$parent.$parent.subStates'
127
+ class="select select_list"
128
+ :value-single="true"
129
+ close-on-select ></v-select>
130
+ </div>
131
+ <div class="form-group col-sm-3">
132
+ <label class="font_normal_body">用户地址:</label>
133
+ <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
134
+ v-on:keyup.enter="search"
135
+ condition="f_address like '%{}%'">
136
+ </div>
137
+ <div class="form-group col-sm-3">
138
+ <label class="font_normal_body">用户评价:</label>
139
+ <input type="text" style="width:60%" class="input_search" placeholder='用户评价' v-model="model.f_user_appraise"
140
+ v-on:keyup.enter="search"
141
+ condition="f_user_appraise like '%{}%'">
142
+ </div>
143
+ <div class="form-group col-sm-3">
144
+ <label for="startDate" class="font_normal_body">开始时间:</label>
145
+ <datepicker id="startDate" placeholder="开始日期"
146
+ style="width: 60%!important;"
147
+ v-model="model.startDate"
148
+ :value.sync="model.startDate"
149
+ :format="'yyyy-MM-dd 00:00:00'"
150
+ :show-reset-button="true"
151
+ condition="f_apply_date >= '{}'">
152
+ </datepicker>
153
+ </div>
154
+ <div class="form-group col-sm-3">
155
+ <label for="endDate" class="font_normal_body">结束时间:</label>
156
+ <datepicker id="endDate" placeholder="结束日期"
157
+ style="width: 60%!important;"
158
+ v-model="model.endDate"
159
+ :value.sync="model.endDate"
160
+ :format="'yyyy-MM-dd 23:59:59'"
161
+ :show-reset-button="true"
162
+ condition="f_apply_date <= '{}'">
163
+ </datepicker>
164
+ </div>
165
+ <div class="form-group col-sm-3">
166
+ <label class="font_normal_body">施工单位:</label>
167
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_construction_unit"
168
+ v-on:keyup.enter="$parent.$parent.search()" condition="f_construction_unit like '%{}%'" placeholder='施工单位'>
169
+ </div>
170
+ <div class="form-group col-sm-3">
171
+ <label class="font_normal_body">表&emsp;&emsp;号:</label>
172
+ <input type="text" style="width:60%" class="input_search" placeholder='表号' v-model="model.f_meternumber"
173
+ v-on:keyup.enter="$parent.$parent.search()"
174
+ condition="meternumber like '%{}%'">
175
+ </div>
176
+ <div class="form-group col-sm-3">
177
+ <label class="font_normal_body">发起人:</label>
178
+ <input type="text" style="width:60%" class="input_search" placeholder='发起人' v-model="model.f_operator"
179
+ v-on:keyup.enter="$parent.$parent.search()"
180
+ condition="f_operator like '%{}%'">
181
+ </div>
182
+ <div class="form-group col-sm-3">
183
+ <label for="startDate" class="font_normal_body">完工时间:</label>
184
+ <datepicker id="startDate" placeholder="开始日期"
185
+ style="width: 60%!important;"
186
+ v-model="model.startDate1"
187
+ :value.sync="model.startDate1"
188
+ :format="'yyyy-MM-dd 00:00:00'"
189
+ :show-reset-button="true"
190
+ condition=" f_finish_date >= '{}'">
191
+ </datepicker>
192
+ </div>
193
+ <div class="form-group col-sm-3">
194
+ <label for="endDate" class="font_normal_body">完工时间:</label>
195
+ <datepicker id="endDate" placeholder="结束日期"
196
+ style="width: 60%!important;"
197
+ v-model="model.endDate1"
198
+ :value.sync="model.endDate1"
199
+ :format="'yyyy-MM-dd 23:59:59'"
200
+ :show-reset-button="true"
201
+ condition=" f_finish_date <= '{}'">
202
+ </datepicker>
203
+ </div>
204
+ <div class="form-group col-sm-3">
205
+ <label for="bookstart" class="font_normal_body">开始时间:</label>
206
+ <datepicker id="bookstart" placeholder="预约开始日期"
207
+ style="width: 60%!important;"
208
+ v-model="model.bookstart"
209
+ :value.sync="model.bookstart"
210
+ :format="'yyyy-MM-dd 00:00:00'"
211
+ :show-reset-button="true"
212
+ condition="f_order_date >= '{}'">
213
+ </datepicker>
214
+ </div>
215
+ <div class="form-group col-sm-3">
216
+ <label for="bookend" class="font_normal_body">结束时间:</label>
217
+ <datepicker id="bookend" placeholder="预约结束日期"
218
+ style="width: 60%!important;"
219
+ v-model="model.bookend"
220
+ :value.sync="model.bookend"
221
+ :format="'yyyy-MM-dd 23:59:59'"
222
+ :show-reset-button="true"
223
+ condition="f_order_date <= '{}'">
224
+ </datepicker>
225
+ </div>
226
+ <div class="form-group col-sm-3">
227
+ <label for="checkstart" class="font_normal_body">验收时间:</label>
228
+ <datepicker id="checkstart" placeholder="开始日期"
229
+ style="width: 60%!important;"
230
+ v-model="model.checkstartDate"
231
+ :value.sync="model.checkstartDate"
232
+ :format="'yyyy-MM-dd 00:00:00'"
233
+ :show-reset-button="true"
234
+ condition="f_acceptance_time >= '{}'">
235
+ </datepicker>
236
+ </div>
237
+ <div class="form-group col-sm-3">
238
+ <label for="checkend" class="font_normal_body">验收时间:</label>
239
+ <datepicker id="checkend" placeholder="结束日期"
240
+ style="width: 60%!important;"
241
+ v-model="model.checkendDate"
242
+ :value.sync="model.checkendDate"
243
+ :format="'yyyy-MM-dd 23:59:59'"
244
+ :show-reset-button="true"
245
+ condition="f_acceptance_time <= '{}'">
246
+ </datepicker>
247
+ </div>
248
+ <div class="form-group col-sm-3">
249
+ <label class="font_normal_body">施工人:</label>
250
+ <input type="text" style="width:60%" class="input_search" placeholder='施工人' v-model="model.f_budget_people"
251
+ v-on:keyup.enter="$parent.$parent.search()"
252
+ condition="f_budget_people like '%{}%'">
253
+ </div>
254
+ <div class="form-group col-sm-3">
255
+ <label class="font_normal_body">施工备注:</label>
256
+ <input type="text" style="width:60%" class="input_search" placeholder='施工备注' v-model="model.f_construction_remarks"
257
+ v-on:keyup.enter="$parent.$parent.search()"
258
+ condition="f_construction_remarks like '%{}%'">
259
+ </div>
260
+ <div class="form-group col-sm-3">
261
+ <label class="font_normal_body">审核人:</label>
262
+ <v-select
263
+ v-model="model.f_audit_user"
264
+ placeholder='审核人'
265
+ condition="u.f_audit_user like '%{}%'"
266
+ :value.sync="model.f_audit_user"
267
+ :options='$parent.$parent.audituser'
268
+ class="select select_list"
269
+ :value-single="true"
270
+ close-on-select ></v-select>
271
+ </div>
272
+ <div class="form-group col-sm-3">
273
+ <label class="font_normal_body">审核状态:</label>
274
+ <v-select
275
+ v-model="model.f_audit_status"
276
+ placeholder='审核状态'
277
+ condition="u.f_audit_status = '{}'"
278
+ :value.sync="model.f_audit_status"
279
+ :options='$parent.$parent.AuditsOptions'
280
+ class="select select_list"
281
+ :value-single="true"
282
+ close-on-select ></v-select>
283
+ </div>
284
+ <div class="form-group col-sm-3">
285
+ <label class="font_normal_body">审核备注:</label>
286
+ <input type="text" style="width:60%" class="input_search" placeholder='审核备注' v-model="model.f_audit_remark"
287
+ v-on:keyup.enter="$parent.$parent.search()"
288
+ condition="u.f_audit_remark like '%{}%'">
289
+ </div>
290
+ <div class="form-group col-sm-3">
291
+ <label class="font_normal_body">抽查人:</label>
292
+ <v-select
293
+ v-model="model.f_check_user"
294
+ placeholder='抽查人'
295
+ condition="u.f_check_user like '%{}%'"
296
+ :value.sync="model.f_check_user"
297
+ :options='$parent.$parent.checkuser'
298
+ class="select select_list"
299
+ :value-single="true"
300
+ close-on-select ></v-select>
301
+ </div>
302
+ <div class="form-group col-sm-3">
303
+ <label class="font_normal_body">抽查状态:</label>
304
+ <v-select
305
+ v-model="model.f_check_state"
306
+ placeholder='审核状态'
307
+ condition="u.f_check_state = '{}'"
308
+ :value.sync="model.f_check_state"
309
+ :options='$parent.$parent.ChecksOptions'
310
+ class="select select_list"
311
+ :value-single="true"
312
+ close-on-select ></v-select>
313
+ </div>
314
+ <div class="form-group col-sm-3">
315
+ <label class="font_normal_body">抽查备注:</label>
316
+ <input type="text" style="width:60%" class="input_search" placeholder='抽查备注' v-model="model.f_check_comments"
317
+ v-on:keyup.enter="$parent.$parent.search()"
318
+ condition="u.f_check_comments like '%{}%'">
319
+ </div>
320
+ </div>
321
+ </div>
322
+ </criteria>
323
+ <data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
324
+ <template partial='head'>
325
+ <tr>
326
+ <th style="white-space: nowrap;">序号</th>
327
+ <th style="white-space: nowrap;">工程编号</th>
328
+ <th style="white-space: nowrap;">用户编号</th>
329
+ <th style="white-space: nowrap;">客户名称</th>
330
+ <th style="white-space: nowrap;">客户类型</th>
331
+ <th style="white-space: nowrap;">合同编号</th>
332
+ <th style="white-space: nowrap;">电话</th>
333
+ <th style="white-space: nowrap;">地址</th>
334
+ <th style="white-space: nowrap;">来源</th>
335
+ <th style="white-space: nowrap;">报建类型</th>
336
+ <th style="white-space: nowrap;">办理环节</th>
337
+ <th style="white-space: nowrap;">流程状态</th>
338
+ <th style="white-space: nowrap;">报建日期</th>
339
+ <th style="white-space: nowrap;">完工日期</th>
340
+ <th style="white-space: nowrap;">通气申请人</th>
341
+ <th style="white-space: nowrap;">通气施工人</th>
342
+ <th style="white-space: nowrap;">派单时间</th>
343
+ <th style="white-space: nowrap;">安装项目</th>
344
+ <th style="white-space: nowrap;">施工单位</th>
345
+ <th style="white-space: nowrap;">施工备注</th>
346
+ <th style="white-space: nowrap;">施工时间</th>
347
+ <th style="white-space: nowrap;">缴费金额</th>
348
+ <th style="white-space: nowrap;">验收时间</th>
349
+ <th style="white-space: nowrap;">施工人</th>
350
+ <th style="white-space: nowrap;">用户评价</th>
351
+ <th style="white-space: nowrap;">发起人</th>
352
+ <th style="white-space: nowrap;">审核人</th>
353
+ <th style="white-space: nowrap;">审核状态</th>
354
+ <th style="white-space: nowrap;">审核时间</th>
355
+ <th style="white-space: nowrap;">审核备注</th>
356
+ <th style="white-space: nowrap;">抽查人</th>
357
+ <th style="white-space: nowrap;">抽查状态</th>
358
+ <th style="white-space: nowrap;">抽查时间</th>
359
+ <th style="white-space: nowrap;">抽查备注</th>
360
+ </tr>
361
+ </template>
362
+ <template partial='body'>
363
+ <tr>
364
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
365
+ <nobr>{{$index+1}}</nobr>
366
+ </td>
367
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
368
+ <nobr>{{row.f_apply_num}}</nobr>
369
+ </td>
370
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
371
+ <nobr>{{row.f_userinfo_code}}</nobr>
372
+ </td>
373
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
374
+ <nobr>{{row.f_user_name}}</nobr>
375
+ </td>
376
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
377
+ <nobr>{{row.f_user_type}}</nobr>
378
+ </td>
379
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
380
+ <nobr>{{row.f_contract_number}}</nobr>
381
+ </td>
382
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
383
+ <nobr>{{row.f_phone}}</nobr>
384
+ </td>
385
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
386
+ <nobr>{{row.f_address}}</nobr>
387
+ </td>
388
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
389
+ <nobr>{{row.f_apply_source}}</nobr>
390
+ </td>
391
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
392
+ <nobr>{{row.f_apply_type}}</nobr>
393
+ </td>
394
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
395
+ <nobr>{{row.defname}}</nobr>
396
+ </td>
397
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
398
+ <nobr>{{row.f_sub_state}}</nobr>
399
+ </td>
400
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
401
+ <nobr>{{row.f_apply_date}}</nobr>
402
+ </td>
403
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
404
+ <nobr>{{row.f_finish_date}}</nobr>
405
+ </td>
406
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
407
+ <nobr>{{row.f_shenqing_person}}</nobr>
408
+ </td>
409
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
410
+ <nobr>{{row.f_tongqi_person}}</nobr>
411
+ </td>
412
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
413
+ <nobr>{{row.ftime}}</nobr>
414
+ </td>
415
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
416
+ <nobr>{{row.f_install_project}}</nobr>
417
+ </td>
418
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
419
+ <nobr>{{row.f_construction_unit}}</nobr>
420
+ </td>
421
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
422
+ <nobr>{{row.f_construction_remarks}}</nobr>
423
+ </td>
424
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
425
+ <nobr>{{row.f_construction_date}}</nobr>
426
+ </td>
427
+ <!-- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
428
+ <nobr>{{row['热水器']}}</nobr>
429
+ </td>
430
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
431
+ <nobr>{{row['灶具']}}</nobr>
432
+ </td>-->
433
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
434
+ <nobr>{{row.f_cumulative_payment_money}}</nobr>
435
+ </td>
436
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
437
+ <nobr>{{row.f_acceptance_time}}</nobr>
438
+ </td>
439
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
440
+ <nobr>{{row.f_budget_people}}</nobr>
441
+ </td>
442
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
443
+ <nobr>{{row.f_user_appraise}}</nobr>
444
+ </td>
445
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
446
+ <nobr>{{row.f_operator}}</nobr>
447
+ </td>
448
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
449
+ <nobr>{{row.f_audit_user}}</nobr>
450
+ </td>
451
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
452
+ <nobr>{{row.f_audit_status}}</nobr>
453
+ </td>
454
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
455
+ <nobr>{{row.f_audit_time}}</nobr>
456
+ </td>
457
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
458
+ <nobr>{{row.f_audit_remark}}</nobr>
459
+ </td>
460
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
461
+ <nobr>{{row.f_check_user}}</nobr>
462
+ </td>
463
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
464
+ <nobr>{{row.f_check_state}}</nobr>
465
+ </td>
466
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
467
+ <nobr>{{row.f_check_time}}</nobr>
468
+ </td>
469
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
470
+ <nobr>{{row.f_check_comments}}</nobr>
471
+ </td>
472
+ </tr>
473
+ </template>
474
+ </data-grid>
475
+ </criteria-paged>
476
+ </div>
477
+ </template>
478
+ <script>
479
+ import {HttpResetClass, PagedList} from 'vue-client'
480
+ import {isEmpty} from '../../../components/Util'
481
+ export default {
482
+ title: '勘探详情',
483
+ props: ['showData'],
484
+ data () {
485
+ return {
486
+ model: new PagedList('rs/sql/supervisoryNew', 20, {
487
+ data: {
488
+ orgid: this.$login.f.orgid
489
+ }
490
+ }),
491
+ orgid:'',
492
+ AuditsOptions:this.$appdata.getParam("报建审核状态"),
493
+ ChecksOptions:this.$appdata.getParam("报建抽查状态"),
494
+ curorgid: [this.$login.f.orgid],
495
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('审核抽查报建类型')],
496
+ usertype: [{label: '全部', value: ''}, {label: '民用', value: '民用'}, {label: '非民用', value: '非民用'}],
497
+ defnames: [{label: '全部', value: ''}], // 流程节点
498
+ applyNatures: [{label: '全部', value: ''}], // 报建性质
499
+ criteriaShow: false,
500
+ subStates: [
501
+ {label: '全部', value: ''},
502
+ {label: '新增', value: '新增'},
503
+ {label: '暂停', value: '暂停'},
504
+ {label: '终止', value: '终止'},
505
+ {label: '完工', value: '完工'},
506
+ {label: '正在进行', value: '正在进行'}
507
+ ], // 流程状态
508
+ lyStates: [
509
+ {label: '全部', value: ''},
510
+ {label: '已领', value: '已领'},
511
+ {label: '未领', value: '未领'}
512
+
513
+ ],
514
+ checkuser:[{label: '全部', value: ''}],
515
+ audituser:[{label: '全部', value: ''}],
516
+ // 流程状态
517
+ getfield: {
518
+ 'f_apply_num': '工程编号',
519
+ 'f_userinfo_code': '用户编号',
520
+ 'f_user_name': '客户名称',
521
+ 'f_user_type': '客户类型',
522
+ 'f_contract_number': '合同编号',
523
+ 'f_phone': '电话',
524
+ 'f_address': '地址',
525
+ 'f_apply_type': '报建类型',
526
+ 'f_apply_nature': '报建性质',
527
+ 'f_cumulative_payment_money': '收费金额',
528
+ 'defname': '办理环节',
529
+ 'f_sub_state': '流程状态',
530
+ 'f_apply_date': '报建日期',
531
+ 'f_finish_date': '完工日期',
532
+ 'f_shenqing_person': '通气申请人',
533
+ 'f_tongqi_person': '通气施工人',
534
+ 'f_apply_remarks': '备注',
535
+ 'f_payment_remarks': '缴费备注',
536
+ 'f_install_project': '安装项目',
537
+ 'f_construction_unit': '施工单位',
538
+ 'f_construction_date': '施工时间',
539
+ 'f_construction_remarks': '施工备注',
540
+ 'f_budget_people':'施工人',
541
+ 'f_acceptance_time':'验收时间',
542
+ 'f_audit_user':'审核人',
543
+ 'f_audit_time':'审核时间',
544
+ 'f_audit_status':'审核状态',
545
+ 'f_audit_remark':'审核备注',
546
+ 'f_check_user':'抽查人',
547
+ 'f_check_time':'抽查时间',
548
+ 'f_check_state':'抽查状态',
549
+ 'f_check_comments':'抽查备注',
550
+ }
551
+ }
552
+ },
553
+ ready () {
554
+ // 调用查询
555
+ this.search()
556
+ this.getaudituser()
557
+ this.getcheckuser()
558
+ },
559
+ events: {
560
+ },
561
+ methods: {
562
+ loadPage () {
563
+ this.$dispatch('loadPage')
564
+ },
565
+ // 查询
566
+ search () {
567
+ this.$dispatch('search')
568
+ },
569
+ check (val) {
570
+ this.$dispatch('apply', val)
571
+ },
572
+ async applyTypeChange () {
573
+ //判断this.$refs.cp.$refs.cri.model.f_apply_type是不是数组
574
+ if (Array.isArray(this.$refs.cp.$refs.cri.model.f_apply_type)) {
575
+ if(this.$refs.cp.$refs.cri.model.f_apply_type.length>0){
576
+ for (let i = 0; i < this.$refs.cp.$refs.cri.model.f_apply_type.length; i++) {
577
+ let res = await this.$resetpost('rs/logic/getDefnameByType',
578
+ { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type[i] },
579
+ {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
580
+ )
581
+ if (!isEmpty(res.data)) {
582
+ const newDefnames = [{ label: '全部', value: '' }, ...res.data];
583
+ const newApplyNatures = isEmpty(this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type[i]}性质`))
584
+ ? [{ label: '全部', value: '' }]
585
+ : [{ label: '全部', value: '' }, ...this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type[i]}性质`)];
586
+ // 检查并追加 defnames
587
+ newDefnames.forEach(item => {
588
+ if (!this.defnames.some(defname => defname.value === item.value)) {
589
+ this.defnames.push(item);
590
+ }
591
+ });
592
+ // 检查并追加 applyNatures
593
+ newApplyNatures.forEach(item => {
594
+ if (!this.applyNatures.some(applyNature => applyNature.value === item.value)) {
595
+ this.applyNatures.push(item);
596
+ }
597
+ });
598
+ }
599
+ }
600
+ }
601
+ }else{
602
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
603
+ let res = await this.$resetpost('rs/logic/getDefnameByType',
604
+ { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
605
+ {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
606
+ )
607
+
608
+ this.defnames = [{label: '全部', value: ''}, ...res.data]
609
+
610
+ 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}性质`)]
611
+ } else {
612
+ this.defnames = [{label: '全部', value: ''}]
613
+
614
+ this.applyNatures = [{label: '全部', value: ''}]
615
+ }
616
+ }
617
+ },
618
+ clear () {
619
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
620
+ this.$refs.cp.$refs.cri.model[key] = null
621
+ })
622
+ },
623
+ getorg (val) {
624
+ if (val.length <= 0) {
625
+ return
626
+ }
627
+ this.model.params.data.orgid = val[0]
628
+ this.orgid= val[0]
629
+ },
630
+ getcheckuser(){
631
+ let http = new HttpResetClass()
632
+ let data = {
633
+ items: 'f_check_user',
634
+ groupitem: 'f_check_user',
635
+ tablename: 't_apply',
636
+ condition: `f_orgid = '${this.$login.f.orgid}' `
637
+ }
638
+ http.load('POST', 'rs/sql/tel_singleTable_GroupBy', {data:data}, {
639
+ resolveMsg: null,
640
+ rejectMsg: '抽查人查询失败!!!'
641
+ }).then(res=>{
642
+ res.data.forEach(item =>{
643
+ if(!isEmpty(item.f_check_user)){
644
+ this.checkuser.push({label: item.f_check_user, value: item.f_check_user})
645
+ }
646
+ })
647
+ })
648
+ },
649
+ getaudituser(){
650
+ let http = new HttpResetClass()
651
+ let data = {
652
+ items: 'f_audit_user',
653
+ groupitem: 'f_audit_user',
654
+ tablename: 't_apply',
655
+ condition: `f_orgid = '${this.$login.f.orgid}' `
656
+ }
657
+ http.load('POST', 'rs/sql/tel_singleTable_GroupBy', {data:data}, {
658
+ resolveMsg: null,
659
+ rejectMsg: '审核人查询失败!!!'
660
+ }).then(res=>{
661
+ res.data.forEach((item) =>{
662
+ if(!isEmpty(item.f_audit_user)){
663
+ this.audituser.push({label: item.f_audit_user, value: item.f_audit_user})
664
+ }
665
+ }
666
+ )
667
+ })
668
+ }
669
+ },
670
+ computed: {
671
+ getCondition () {
672
+ return {
673
+ condition: this.model.condition,
674
+ data: {
675
+ orgid: this.orgid
676
+ }
677
+ }
678
+ }
679
+ }
680
+ }
681
+ </script>
682
+ <style scoped>
683
+ </style>