apply-clients 7.1.36-yuchuan-12 → 7.1.36-yuchuan-14

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 (72) hide show
  1. package/android.html +28 -28
  2. package/build/dev-server.js +25 -10
  3. package/index.html +39 -39
  4. package/package.json +1 -1
  5. package/src/apply.js +162 -161
  6. package/src/applyAndroid.js +97 -97
  7. package/src/components/android/AppSign.vue +235 -235
  8. package/src/components/android/AppUpload.vue +275 -275
  9. package/src/components/android/Ignition/VentilationIgnition.vue +408 -408
  10. package/src/components/android/Ignition/VentilationIgnitionHandle.vue +462 -462
  11. package/src/components/android/Process/AppExplorationUser.vue +454 -454
  12. package/src/components/android/Process/AppServiceControl.vue +1437 -1437
  13. package/src/components/android/Process/Processes/AppInstallationDetails.vue +980 -980
  14. package/src/components/android/Sign/AppSignTask.vue +183 -183
  15. package/src/components/android/Supervisory/AppProcessSupervisory.vue +344 -344
  16. package/src/components/android/Task/GuanXianJianShe/AppExplorationGuanXian.vue +317 -317
  17. package/src/components/android/Task/ShiGongXinXi/AppShowBuildUser.vue +431 -431
  18. package/src/components/android/Task/yiban/AppShowDone.vue +442 -442
  19. package/src/components/android/Task/yiban/ShowDone.vue +95 -95
  20. package/src/components/android/Task/yiban/satisfactionShow.vue +166 -166
  21. package/src/components/android/newPackage/customerServiceManager.vue +218 -218
  22. package/src/components/android/newPackage/projectPrice.vue +218 -218
  23. package/src/components/product/ApplyCharge/ApplyChargeList.vue +1 -1
  24. package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianViewList.vue +272 -272
  25. package/src/components/product/ApplyGuanXian/GuanXianCaiLiao.vue +236 -236
  26. package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +324 -324
  27. package/src/components/product/ApplyGuanXian/GuanXianExplorationUser.vue +144 -144
  28. package/src/components/product/ApplyGuanXian/GuanXianSupervisoryhCart.vue +119 -119
  29. package/src/components/product/ApplyMap/AMapLocation.vue +871 -0
  30. package/src/components/product/ApplyMap/ApplyDragaboutList.vue +223 -223
  31. package/src/components/product/ApplyMap/ApplyInputSearch.vue +212 -212
  32. package/src/components/product/ApplyMap/ApplyMapCom.vue +82 -82
  33. package/src/components/product/ApplyMap/ApplyMapInputSearch.vue +335 -335
  34. package/src/components/product/ApplyMap/ApplyMapLocation.vue +862 -862
  35. package/src/components/product/ChongZheng/ApplyChongZhengList.vue +415 -415
  36. package/src/components/product/Function/InstallFunction.vue +133 -133
  37. package/src/components/product/Function/InstallInfoSelect.vue +371 -371
  38. package/src/components/product/Function/Service/FunctionServiceControl.vue +586 -586
  39. package/src/components/product/GongJianPush/ApplyPushManage.vue +90 -90
  40. package/src/components/product/Ignition/IgnitionListManage.vue +602 -602
  41. package/src/components/product/Ignition/IgnitionRecord.vue +380 -380
  42. package/src/components/product/InsuranceApply/InsuranceReport.vue +1 -2
  43. package/src/components/product/List/OldShowDevices.vue +271 -271
  44. package/src/components/product/List/ShowAllActivity.vue +540 -540
  45. package/src/components/product/List/ShowDevices.vue +279 -279
  46. package/src/components/product/Print/BuildOrder/buildOrderList.vue +446 -446
  47. package/src/components/product/Process/ExplorationSelect.vue +597 -597
  48. package/src/components/product/Process/ExplorationUser.vue +158 -158
  49. package/src/components/product/Process/New1ExplorationUser.vue +201 -201
  50. package/src/components/product/Process/NewExplorationSelect.vue +586 -586
  51. package/src/components/product/Process/NewExplorationUser.vue +219 -219
  52. package/src/components/product/Process/Processes/InstallationDetails.vue +1159 -1159
  53. package/src/components/product/Process/Processes/Print/printCharge.vue +250 -250
  54. package/src/components/product/Process/Processes/Print/printGaiXianCharge.vue +244 -244
  55. package/src/components/product/Process/Processes/chargeManagement.vue +704 -704
  56. package/src/components/product/Process/Processes/devicesManagement.vue +393 -393
  57. package/src/components/product/Process/Processes/newDevicesManagement.vue +413 -413
  58. package/src/components/product/Process/Processes/selectChaiChuUserinfo.vue +230 -230
  59. package/src/components/product/Process/Processes/selectOldUserinfo.vue +241 -241
  60. package/src/components/product/Process/Processes/selectUserinfo.vue +234 -234
  61. package/src/components/product/Process/Service/ServiceControl.vue +2205 -2205
  62. package/src/components/product/ServiceView.vue +644 -644
  63. package/src/components/product/Stop/StopApplyList.vue +224 -224
  64. package/src/components/product/Supervisory/NewSupervisoryhCart.vue +175 -175
  65. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +592 -592
  66. package/src/components/product/Supervisory/SupervisoryControl.vue +116 -116
  67. package/src/components/product/Supervisory/SupervisoryList.vue +557 -557
  68. package/src/components/product/Supervisory/SupervisoryhCart.vue +119 -119
  69. package/src/components/product/Supervisory/YiBanSupervisoryList.vue +539 -539
  70. package/src/components/product/VueUtils/ApplyUpload.vue +285 -285
  71. package/src/components/product/records/AdjustmentRecordList.vue +162 -162
  72. package/src/main.js +27 -27
@@ -1,540 +1,540 @@
1
- <template>
2
- <div class="flex-row">
3
- <div class="basic-main">
4
- <criteria-paged :model="model" v-ref:cp>
5
- <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
6
- <div class="form-horizontal select-overspread container-fluid auto" partial>
7
- <div class="row">
8
- <div class="form-group col-sm-2">
9
- <label class="font_normal_body">报建编号:</label>
10
- <input type="text" class="input_search" style="width: 60%" v-model="model.f_apply_num"
11
- v-on:keyup.enter="$parent.$parent.search()" condition="t.f_apply_num like '%{}%'"
12
- placeholder='报建编号'>
13
- </div>
14
- <div class="form-group col-sm-2">
15
- <label class="font_normal_body">用户名称:</label>
16
- <input type="text" class="input_search" style="width: 60%" v-model="model.f_user_name"
17
- v-on:keyup.enter="$parent.$parent.search()" condition="t.f_user_name like '%{}%'"
18
- placeholder='用户名称'>
19
- </div>
20
- <div class="form-group col-sm-2">
21
- <label class="font_normal_body">报建类型:</label>
22
- <v-select
23
- v-model="model.f_apply_type"
24
- placeholder='请选择'
25
- condition="t.f_apply_type = '{}'"
26
- :value.sync="model.f_apply_type"
27
- :options='$parent.$parent.applytype'
28
- class="select select_list"
29
- :value-single="true"
30
- @change="$parent.$parent.applyTypeChange()"
31
- close-on-select></v-select>
32
- </div>
33
- <div class="form-group col-sm-2">
34
- <label class="font_normal_body">办理环节:</label>
35
- <v-select
36
- v-model="model.defname"
37
- placeholder='办理环节'
38
- :value.sync="model.defname"
39
- :options='$parent.$parent.defnames1'
40
- class="select select_list"
41
- :value-single="true"
42
- @change="$parent.$parent.defnameChange()"
43
- close-on-select ></v-select>
44
- </div>
45
- <div class="form-group col-sm-3 button-range">
46
- <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
47
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
48
- <export-excel :data="$parent.$parent.getCondition"
49
- :field="$parent.$parent.getfield"
50
- sqlurl="rs/logic/applyExportfile"
51
- sql-name="applyGetAllActivityTime"
52
- template-name='报建时间环节信息导出'
53
- :choose-col="true"></export-excel>
54
- <div
55
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
56
- @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
57
- class="button_spacing"
58
- style="float: right">
59
- </div>
60
- </div>
61
- </div>
62
- <div class="row" v-show="$parent.$parent.criteriaShow">
63
-
64
- <div class="form-group col-sm-3">
65
- <label for="startDate" class="font_normal_body">报建申请时间:</label>
66
- <datepicker id="startDate" placeholder="开始日期"
67
- style="width: 60%!important;"
68
- v-model="model.sq_startDate"
69
- :value.sync="model.sq_startDate"
70
- :format="'yyyy-MM-dd 00:00:00'"
71
- :show-reset-button="true"
72
- condition="sq_sendtime >= '{}'">
73
- </datepicker>
74
- </div>
75
- <div class="form-group col-sm-3">
76
- <label for="endDate" class="font_normal_body">报建申请时间:</label>
77
- <datepicker id="endDate" placeholder="结束日期"
78
- style="width: 60%!important;"
79
- v-model="model.sq_endDate"
80
- :value.sync="model.sq_endDate"
81
- :format="'yyyy-MM-dd 23:59:59'"
82
- :show-reset-button="true"
83
- condition="sq_sendtime<= '{}'">
84
- </datepicker>
85
- </div>
86
- <div class="form-group col-sm-3">
87
- <label for="startDate" class="font_normal_body">报建完成时间:</label>
88
- <datepicker id="startDate" placeholder="开始日期"
89
- style="width: 60%!important;"
90
- v-model="model.wc_startDate"
91
- :value.sync="model.wc_startDate"
92
- :format="'yyyy-MM-dd 00:00:00'"
93
- :show-reset-button="true"
94
- condition="sq_finishtime>= '{}'">
95
- </datepicker>
96
- </div>
97
- <div class="form-group col-sm-3">
98
- <label for="endDate" class="font_normal_body">报建完成时间:</label>
99
- <datepicker id="endDate" placeholder="结束日期"
100
- style="width: 60%!important;"
101
- v-model="model.wc_endDate"
102
- :value.sync="model.wc_endDate"
103
- :format="'yyyy-MM-dd 23:59:59'"
104
- :show-reset-button="true"
105
- condition="sq_finishtime<= '{}'">
106
- </datepicker>
107
- </div>
108
- <div class="form-group col-sm-3">
109
- <label for="startDate" class="font_normal_body">环节开始时间:</label>
110
- <datepicker id="startDate" placeholder="开始日期"
111
- style="width: 60%!important;"
112
- v-model="model.hjks_startDate"
113
- :value.sync="model.hjks_startDate"
114
- :format="'yyyy-MM-dd 00:00:00'"
115
- :show-reset-button="true"
116
- >
117
- </datepicker>
118
- </div>
119
- <div class="form-group col-sm-3">
120
- <label for="endDate" class="font_normal_body">环节开始时间:</label>
121
- <datepicker id="endDate" placeholder="结束日期"
122
- style="width: 60%!important;"
123
- v-model="model.hjks_endDate"
124
- :value.sync="model.hjks_endDate"
125
- :format="'yyyy-MM-dd 23:59:59'"
126
- :show-reset-button="true"
127
- >
128
- </datepicker>
129
- </div>
130
- <div class="form-group col-sm-3" v-if="$parent.$parent.defnameShow">
131
- <label for="startDate" class="font_normal_body">环节结束时间:</label>
132
- <datepicker id="startDate" placeholder="开始日期"
133
- style="width: 60%!important;"
134
- v-model="model.hjjs_startDate"
135
- :value.sync="model.hjjs_startDate"
136
- :format="'yyyy-MM-dd 00:00:00'"
137
- :show-reset-button="true"
138
- >
139
- </datepicker>
140
- </div>
141
- <div class="form-group col-sm-3" v-if="$parent.$parent.defnameShow">
142
- <label for="endDate" class="font_normal_body">环节结束时间:</label>
143
- <datepicker id="endDate" placeholder="结束日期"
144
- style="width: 60%!important;"
145
- v-model="model.hjjs_endDate"
146
- :value.sync="model.hjjs_endDate"
147
- :format="'yyyy-MM-dd 23:59:59'"
148
- :show-reset-button="true"
149
- >
150
- </datepicker>
151
- </div>
152
- <div class="form-group col-sm-2" v-if="$parent.$parent.typeShow">
153
- <label class="font_normal_body">派工类型:</label>
154
- <v-select
155
- v-model="model.f_dispatching_type"
156
- placeholder='工队/维修'
157
- condition="f_dispatching_type = '{}'"
158
- :value.sync="model.f_dispatching_type"
159
- :options='$parent.$parent.dispatching'
160
- class="select select_list"
161
- :value-single="true"
162
- close-on-select ></v-select>
163
- </div>
164
- </div>
165
- </div>
166
- </criteria>
167
- <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
168
- <template partial='head'>
169
- <tr>
170
- <th style="white-space: nowrap;">序号</th>
171
- <th style="white-space: nowrap;">报建编号</th>
172
- <th style="white-space: nowrap;">报建类型</th>
173
- <th style="white-space: nowrap;">用户名称</th>
174
- <th style="white-space: nowrap;">电话</th>
175
- <th style="white-space: nowrap;">报装申请时间</th>
176
- <th style="white-space: nowrap;">报装申请完成时间</th>
177
- <th style="white-space: nowrap;">报建受理</th>
178
- <th style="white-space: nowrap;">报建受理完成时间</th>
179
- <th style="white-space: nowrap;">现场勘察</th>
180
- <th style="white-space: nowrap;">现场勘察完成时间</th>
181
- <th style="white-space: nowrap;">收费标准</th>
182
- <th style="white-space: nowrap;">收费标准完成时间</th>
183
- <th style="white-space: nowrap;">报装缴费</th>
184
- <th style="white-space: nowrap;">报装缴费完成时间</th>
185
- <th style="white-space: nowrap;">合同签订</th>
186
- <th style="white-space: nowrap;">合同签订完成时间</th>
187
- <th style="white-space: nowrap;">设计出图</th>
188
- <th style="white-space: nowrap;">设计出图完成时间</th>
189
- <th style="white-space: nowrap;">工程派工</th>
190
- <th style="white-space: nowrap;">工程派工完成时间</th>
191
- <th style="white-space: nowrap;">工程队派工</th>
192
- <th style="white-space: nowrap;">工程队派工完成时间</th>
193
- <th style="white-space: nowrap;">监理单位派工</th>
194
- <th style="white-space: nowrap;">监理单位派工完成时间</th>
195
- <th style="white-space: nowrap;">工程施工</th>
196
- <th style="white-space: nowrap;">工程施工完成时间</th>
197
- <th style="white-space: nowrap;">点火通气</th>
198
- <th style="white-space: nowrap;">点火通气完成时间</th>
199
- <th style="white-space: nowrap;">核算费用</th>
200
- <th style="white-space: nowrap;">核算费用完成时间</th>
201
- <th style="white-space: nowrap;">部长审核</th>
202
- <th style="white-space: nowrap;">部长审核完成时间</th>
203
- <th style="white-space: nowrap;">经理审核</th>
204
- <th style="white-space: nowrap;">经理审核完成时间</th>
205
- <th style="white-space: nowrap;">维修派单</th>
206
- <th style="white-space: nowrap;">维修派单完成时间</th>
207
- <th style="white-space: nowrap;">安检维修施工</th>
208
- <th style="white-space: nowrap;">安检维修施工完成时间</th>
209
- <th style="white-space: nowrap;">图纸变更</th>
210
- <th style="white-space: nowrap;">图纸变更完成时间</th>
211
- <th style="white-space: nowrap;">核对气量</th>
212
- <th style="white-space: nowrap;">核对气量完成时间</th>
213
- <th style="white-space: nowrap;">工程查看</th>
214
- <th style="white-space: nowrap;">工程查看完成时间</th>
215
- <th style="white-space: nowrap;">完工时间</th>
216
- </tr>
217
- </template>
218
- <template partial='body'>
219
- <tr>
220
- <td style="text-align: center;">
221
- <nobr><font>{{ $index + 1 }}</font></nobr>
222
- </td>
223
- <td style="text-align: center;">
224
- <nobr><font>{{ row.f_apply_num }}</font></nobr>
225
- </td>
226
- <td style="text-align: center;">
227
- <nobr><font>{{ row.f_apply_type }}</font></nobr>
228
- </td>
229
- <td style="text-align: center;">
230
- <nobr><font>{{ row.f_user_name }}</font></nobr>
231
- </td>
232
- <td style="text-align: center;">
233
- <nobr><font>{{ row.f_phone }}</font></nobr>
234
- </td>
235
- <td style="text-align: center;">
236
- <nobr><font>{{ row.sq_sendtime ? row.sq_sendtime : row.sl_sendtime }}</font></nobr>
237
- </td>
238
- <td style="text-align: center;">
239
- <nobr><font>{{ row.sq_finishtime ? row.sq_finishtime : row.sl_sendtime }}</font></nobr>
240
- </td>
241
- <td style="text-align: center;">
242
- <nobr><font>{{ row.sl_sendtime }}</font></nobr>
243
- </td>
244
- <td style="text-align: center;">
245
- <nobr><font>{{ row.sl_finishtime }}</font></nobr>
246
- </td>
247
- <td style="text-align: center;">
248
- <nobr><font>{{ row.kc_sendtime }}</font></nobr>
249
- </td>
250
- <td style="text-align: center;">
251
- <nobr><font>{{ row.kc_finishtime }}</font></nobr>
252
- </td>
253
- <td style="text-align: center;">
254
- <nobr><font>{{ row.bz_sendtime }}</font></nobr>
255
- </td>
256
- <td style="text-align: center;">
257
- <nobr><font>{{ row.bz_finishtime }}</font></nobr>
258
- </td>
259
- <td style="text-align: center;">
260
- <nobr><font>{{ row.jf_sendtime }}</font></nobr>
261
- </td>
262
- <td style="text-align: center;">
263
- <nobr><font>{{ row.jf_finishtime }}</font></nobr>
264
- </td>
265
- <td style="text-align: center;">
266
- <nobr><font>{{ row.ht_sendtime }}</font></nobr>
267
- </td>
268
- <td style="text-align: center;">
269
- <nobr><font>{{ row.ht_finishtime }}</font></nobr>
270
- </td>
271
- <td style="text-align: center;">
272
- <nobr><font>{{ row.ct_sendtime }}</font></nobr>
273
- </td>
274
- <td style="text-align: center;">
275
- <nobr><font>{{ row.ct_finishtime }}</font></nobr>
276
- </td>
277
- <td style="text-align: center;">
278
- <nobr><font>{{ row.pg_sendtime }}</font></nobr>
279
- </td>
280
- <td style="text-align: center;">
281
- <nobr><font>{{ row.pg_finishtime }}</font></nobr>
282
- </td>
283
- <td style="text-align: center;">
284
- <nobr><font>{{ row.gdpg_sendtime }}</font></nobr>
285
- </td>
286
- <td style="text-align: center;">
287
- <nobr><font>{{ row.gdpg_finishtime }}</font></nobr>
288
- </td>
289
- <td style="text-align: center;">
290
- <nobr><font>{{ row.jlpg_sendtime }}</font></nobr>
291
- </td>
292
- <td style="text-align: center;">
293
- <nobr><font>{{ row.jlpg_finishtime }}</font></nobr>
294
- </td>
295
- <td style="text-align: center;">
296
- <nobr><font>{{ row.sg_sendtime }}</font></nobr>
297
- </td>
298
- <td style="text-align: center;">
299
- <nobr><font>{{ row.sg_finishtime }}</font></nobr>
300
- </td>
301
- <td style="text-align: center;">
302
- <nobr><font>{{ row.tq_sendtime }}</font></nobr>
303
- </td>
304
- <td style="text-align: center;">
305
- <nobr><font>{{ row.tq_finishtime }}</font></nobr>
306
- </td>
307
- <td style="text-align: center;">
308
- <nobr><font>{{ row.hs_sendtime }}</font></nobr>
309
- </td>
310
- <td style="text-align: center;">
311
- <nobr><font>{{ row.hs_finishtime }}</font></nobr>
312
- </td>
313
- <td style="text-align: center;">
314
- <nobr><font>{{ row.bzsh_sendtime }}</font></nobr>
315
- </td>
316
- <td style="text-align: center;">
317
- <nobr><font>{{ row.bzsh_finishtime }}</font></nobr>
318
- </td>
319
- <td style="text-align: center;">
320
- <nobr><font>{{ row.jlsh_sendtime }}</font></nobr>
321
- </td>
322
- <td style="text-align: center;">
323
- <nobr><font>{{ row.jlsh_finishtime }}</font></nobr>
324
- </td>
325
- <td style="text-align: center;">
326
- <nobr><font>{{ row.wxpd_sendtime }}</font></nobr>
327
- </td>
328
- <td style="text-align: center;">
329
- <nobr><font>{{ row.wxpd_finishtime }}</font></nobr>
330
- </td>
331
- <td style="text-align: center;">
332
- <nobr><font>{{ row.wxsg_sendtime }}</font></nobr>
333
- </td>
334
- <td style="text-align: center;">
335
- <nobr><font>{{ row.wxsg_finishtime }}</font></nobr>
336
- </td>
337
- <td style="text-align: center;">
338
- <nobr><font>{{ row.tzbg_sendtime }}</font></nobr>
339
- </td>
340
- <td style="text-align: center;">
341
- <nobr><font>{{ row.tzbg_finishtime }}</font></nobr>
342
- </td>
343
- <td style="text-align: center;">
344
- <nobr><font>{{ row.hdql_sendtime }}</font></nobr>
345
- </td>
346
- <td style="text-align: center;">
347
- <nobr><font>{{ row.hdql_finishtime }}</font></nobr>
348
- </td>
349
- <td style="text-align: center;">
350
- <nobr><font>{{ row.gcck_sendtime }}</font></nobr>
351
- </td>
352
- <td style="text-align: center;">
353
- <nobr><font>{{ row.gcck_finishtime }}</font></nobr>
354
- </td>
355
- <td style="text-align: center;">
356
- <nobr><font>{{ row.wg_sendtime }}</font></nobr>
357
- </td>
358
- </tr>
359
- </template>
360
- </data-grid>
361
- </criteria-paged>
362
- </div>
363
- </div>
364
- </template>
365
-
366
- <script>
367
- import {PagedList} from 'vue-client'
368
- import {isEmpty} from "../../Util";
369
-
370
-
371
- export default {
372
- title: '报建环节时间节点',
373
- data () {
374
- return {
375
- model: new PagedList('rs/sql/applyGetAllActivityTime', 20, {
376
- data: {
377
- f_filiale: this.$login.f.f_fengongsi?this.$login.f.f_fengongsi:'榆林.榆川天然气'
378
- }
379
- }),
380
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')?this.$appdata.getParam('报建类型'):[]],
381
- dispatching: [{label: '全部', value: ''}, {label: '施工工队', value: '施工工队'}, {label: '安检维修中心', value: '安检维修中心'}],
382
- defnames1: [{label: '全部', value: ''},
383
- {label: '报装申请', value: 'sq_'},
384
- {label: '报建受理', value: 'sl_'},
385
- {label: '现场勘察', value: 'kc_'},
386
- {label: '收费标准', value: 'bz_'},
387
- {label: '报装缴费', value: 'jf_'},
388
- {label: '合同签订', value: 'ht_'},
389
- {label: '设计出图', value: 'ct_'},
390
- {label: '工程派工', value: 'pg_'},
391
- {label: '工程队派工', value: 'gdpg_'},
392
- {label: '监理单位派工', value: 'jlpg_'},
393
- {label: '工程施工', value: 'sg_'},
394
- {label: '点火通气', value: 'tq_'},
395
- {label: '核算费用', value: 'hs_'},
396
- {label: '部长审核', value: 'bzsh_'},
397
- {label: '经理审核', value: 'jlsh_'},
398
- {label: '维修派单', value: 'wxpd_'},
399
- {label: '安检维修施工', value: 'wxsg_'},
400
- {label: '图纸变更', value: 'tzbg_'},
401
- {label: '核对气量', value: 'hdql_'},
402
- {label: '工程查看', value: 'gcck_'},
403
- {label: '完工', value: 'wg_'}
404
- ],
405
- criteriaShow: false,
406
- defnameShow: true,
407
- typeShow:false,
408
- getfield: {
409
- 'f_apply_num': ' 报 建 编 号 ',
410
- 'f_apply_type': ' 报 建 类 型 ',
411
- 'f_user_name': ' 用 户 名 称 ',
412
- 'f_phone': ' 电 话 ',
413
- 'sq_sendtime':'报装申请时间',
414
- 'sq_finishtime':'报装申请完成时间',
415
- 'sl_sendtime':'报建受理',
416
- 'sl_finishtime':'报建受理完成时间',
417
- 'kc_sendtime':'现场勘察',
418
- 'kc_finishtime':'现场勘察完成时间',
419
- 'bz_sendtime':'收费标准',
420
- 'bz_finishtime':'收费标准完成时间',
421
- 'jf_sendtime':'报装缴费',
422
- 'jf_finishtime':'报装缴费完成时间',
423
- 'ht_sendtime':'合同签订',
424
- 'ht_finishtime':'合同签订完成时间',
425
- 'ct_sendtime':'设计出图',
426
- 'ct_finishtime':'设计出图完成时间',
427
- 'pg_sendtime':'工程派工',
428
- 'pg_finishtime':'工程派工完成时间',
429
- 'gdpg_sendtime':'工程队派工',
430
- 'gdpg_finishtime':'工程队派工完成时间',
431
- 'jlpg_sendtime':'监理单位派工',
432
- 'jlpg_finishtime':'监理单位派工完成时间',
433
- 'sg_sendtime':'工程施工',
434
- 'sg_finishtime':'工程施工完成时间',
435
- 'tq_sendtime':'点火通气',
436
- 'tq_finishtime':'点火通气完成时间',
437
- 'hs_sendtime':'核算费用',
438
- 'hs_finishtime':'核算费用完成时间',
439
- 'bzsh_sendtime':'部长审核',
440
- 'bzsh_finishtime':'部长审核完成时间',
441
- 'jlsh_sendtime':'经理审核',
442
- 'jlsh_finishtime':'经理审核完成时间',
443
- 'wxpd_sendtime':'维修派单',
444
- 'wxpd_finishtime':'维修派单完成时间',
445
- 'wxsg_sendtime':'安检维修施工',
446
- 'wxsg_finishtime':'安检维修施工完成时间',
447
- 'tzbg_sendtime':'图纸变更',
448
- 'tzbg_finishtime':'图纸变更完成时间',
449
- 'hdql_sendtime':'核对气量',
450
- 'hdql_finishtime':'核对气量完成时间',
451
- 'gcck_sendtime':'工程查看',
452
- 'gcck_finishtime':'工程查看完成时间',
453
- 'f_address':'地址',
454
- 'wg_sendtime':'完工时间'
455
- }
456
- }
457
- },
458
- ready () {
459
- // 调用查询
460
- this.search()
461
- },
462
- methods: {
463
- searchCondition (args) {
464
- if(!isEmpty(args.model.defname)){
465
- //判断是否选了时间,没有则提示
466
- if(args.model.defname=='wg_'){
467
- if(isEmpty(args.model.hjks_startDate)){
468
- this.$showMessage('请选择完工环节开始时间')
469
- return
470
- }
471
- }else{
472
- if(isEmpty(args.model.hjks_startDate)){
473
- this.$showMessage('请选择环节开始时间')
474
- return
475
- }
476
- }
477
- }
478
- if(!isEmpty(args.model.hjks_startDate)){
479
- args.condition+= " AND " +`${args.model.defname}`+'sendtime'+'>='+`'${args.model.hjks_startDate}'`
480
- }
481
- if(!isEmpty(args.model.hjks_endDate)){
482
- args.condition+= " AND " +`${args.model.defname}`+'sendtime'+'<='+`'${args.model.hjks_endDate}'`
483
- }
484
- if(!isEmpty(args.model.hjjs_startDate)){
485
- args.condition+= " AND " +`${args.model.defname}`+'finishtime'+'>='+`'${args.model.hjjs_startDate}'`
486
- }
487
- if(!isEmpty(args.model.hjjs_endDate)){
488
- args.condition+= " AND " +`${args.model.defname}`+'finishtime'+'<='+`'${args.model.hjjs_endDate}'`
489
- }
490
- this.model.search(args.condition, args.model)
491
- },
492
- defnameChange(){
493
- debugger
494
- //选择的是完工,则隐藏环节结束时间
495
- if(this.$refs.cp.$refs.cri.model.defname=='wg_'){
496
- this.typeShow=true
497
- this.defnameShow=false
498
- }else{
499
- this.typeShow=false
500
- this.defnameShow=true
501
- }
502
- },
503
- async applyTypeChange () {
504
- if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
505
- let res = await this.$resetpost('rs/logic/getDefnameByType',
506
- { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
507
- {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
508
- )
509
- this.defnames = [{label: '全部', value: ''}, ...res.data]
510
- } else {
511
- this.defnames = isEmpty(this.$appdata.getParam('办理环节')) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam('办理环节')]
512
- }
513
- },
514
- clear () {
515
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
516
- this.$refs.cp.$refs.cri.model[key] = []
517
- })
518
- },
519
- // 查询
520
- search () {
521
- this.$refs.cp.$refs.cri.search()
522
- }
523
- },
524
- computed: {
525
- getCondition () {
526
-
527
- return {
528
- condition: this.model.condition,
529
- data: {
530
- f_filiale: this.$login.f.f_fengongsi?this.$login.f.f_fengongsi:'榆林.榆川天然气'
531
- }
532
- }
533
- }
534
- }
535
- }
536
- </script>
537
-
538
- <style scoped>
539
-
540
- </style>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <criteria-paged :model="model" v-ref:cp>
5
+ <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
6
+ <div class="form-horizontal select-overspread container-fluid auto" partial>
7
+ <div class="row">
8
+ <div class="form-group col-sm-2">
9
+ <label class="font_normal_body">报建编号:</label>
10
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_apply_num"
11
+ v-on:keyup.enter="$parent.$parent.search()" condition="t.f_apply_num like '%{}%'"
12
+ placeholder='报建编号'>
13
+ </div>
14
+ <div class="form-group col-sm-2">
15
+ <label class="font_normal_body">用户名称:</label>
16
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_user_name"
17
+ v-on:keyup.enter="$parent.$parent.search()" condition="t.f_user_name like '%{}%'"
18
+ placeholder='用户名称'>
19
+ </div>
20
+ <div class="form-group col-sm-2">
21
+ <label class="font_normal_body">报建类型:</label>
22
+ <v-select
23
+ v-model="model.f_apply_type"
24
+ placeholder='请选择'
25
+ condition="t.f_apply_type = '{}'"
26
+ :value.sync="model.f_apply_type"
27
+ :options='$parent.$parent.applytype'
28
+ class="select select_list"
29
+ :value-single="true"
30
+ @change="$parent.$parent.applyTypeChange()"
31
+ close-on-select></v-select>
32
+ </div>
33
+ <div class="form-group col-sm-2">
34
+ <label class="font_normal_body">办理环节:</label>
35
+ <v-select
36
+ v-model="model.defname"
37
+ placeholder='办理环节'
38
+ :value.sync="model.defname"
39
+ :options='$parent.$parent.defnames1'
40
+ class="select select_list"
41
+ :value-single="true"
42
+ @change="$parent.$parent.defnameChange()"
43
+ close-on-select ></v-select>
44
+ </div>
45
+ <div class="form-group col-sm-3 button-range">
46
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
47
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
48
+ <export-excel :data="$parent.$parent.getCondition"
49
+ :field="$parent.$parent.getfield"
50
+ sqlurl="rs/logic/applyExportfile"
51
+ sql-name="applyGetAllActivityTime"
52
+ template-name='报建时间环节信息导出'
53
+ :choose-col="true"></export-excel>
54
+ <div
55
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
56
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
57
+ class="button_spacing"
58
+ style="float: right">
59
+ </div>
60
+ </div>
61
+ </div>
62
+ <div class="row" v-show="$parent.$parent.criteriaShow">
63
+
64
+ <div class="form-group col-sm-3">
65
+ <label for="startDate" class="font_normal_body">报建申请时间:</label>
66
+ <datepicker id="startDate" placeholder="开始日期"
67
+ style="width: 60%!important;"
68
+ v-model="model.sq_startDate"
69
+ :value.sync="model.sq_startDate"
70
+ :format="'yyyy-MM-dd 00:00:00'"
71
+ :show-reset-button="true"
72
+ condition="sq_sendtime >= '{}'">
73
+ </datepicker>
74
+ </div>
75
+ <div class="form-group col-sm-3">
76
+ <label for="endDate" class="font_normal_body">报建申请时间:</label>
77
+ <datepicker id="endDate" placeholder="结束日期"
78
+ style="width: 60%!important;"
79
+ v-model="model.sq_endDate"
80
+ :value.sync="model.sq_endDate"
81
+ :format="'yyyy-MM-dd 23:59:59'"
82
+ :show-reset-button="true"
83
+ condition="sq_sendtime<= '{}'">
84
+ </datepicker>
85
+ </div>
86
+ <div class="form-group col-sm-3">
87
+ <label for="startDate" class="font_normal_body">报建完成时间:</label>
88
+ <datepicker id="startDate" placeholder="开始日期"
89
+ style="width: 60%!important;"
90
+ v-model="model.wc_startDate"
91
+ :value.sync="model.wc_startDate"
92
+ :format="'yyyy-MM-dd 00:00:00'"
93
+ :show-reset-button="true"
94
+ condition="sq_finishtime>= '{}'">
95
+ </datepicker>
96
+ </div>
97
+ <div class="form-group col-sm-3">
98
+ <label for="endDate" class="font_normal_body">报建完成时间:</label>
99
+ <datepicker id="endDate" placeholder="结束日期"
100
+ style="width: 60%!important;"
101
+ v-model="model.wc_endDate"
102
+ :value.sync="model.wc_endDate"
103
+ :format="'yyyy-MM-dd 23:59:59'"
104
+ :show-reset-button="true"
105
+ condition="sq_finishtime<= '{}'">
106
+ </datepicker>
107
+ </div>
108
+ <div class="form-group col-sm-3">
109
+ <label for="startDate" class="font_normal_body">环节开始时间:</label>
110
+ <datepicker id="startDate" placeholder="开始日期"
111
+ style="width: 60%!important;"
112
+ v-model="model.hjks_startDate"
113
+ :value.sync="model.hjks_startDate"
114
+ :format="'yyyy-MM-dd 00:00:00'"
115
+ :show-reset-button="true"
116
+ >
117
+ </datepicker>
118
+ </div>
119
+ <div class="form-group col-sm-3">
120
+ <label for="endDate" class="font_normal_body">环节开始时间:</label>
121
+ <datepicker id="endDate" placeholder="结束日期"
122
+ style="width: 60%!important;"
123
+ v-model="model.hjks_endDate"
124
+ :value.sync="model.hjks_endDate"
125
+ :format="'yyyy-MM-dd 23:59:59'"
126
+ :show-reset-button="true"
127
+ >
128
+ </datepicker>
129
+ </div>
130
+ <div class="form-group col-sm-3" v-if="$parent.$parent.defnameShow">
131
+ <label for="startDate" class="font_normal_body">环节结束时间:</label>
132
+ <datepicker id="startDate" placeholder="开始日期"
133
+ style="width: 60%!important;"
134
+ v-model="model.hjjs_startDate"
135
+ :value.sync="model.hjjs_startDate"
136
+ :format="'yyyy-MM-dd 00:00:00'"
137
+ :show-reset-button="true"
138
+ >
139
+ </datepicker>
140
+ </div>
141
+ <div class="form-group col-sm-3" v-if="$parent.$parent.defnameShow">
142
+ <label for="endDate" class="font_normal_body">环节结束时间:</label>
143
+ <datepicker id="endDate" placeholder="结束日期"
144
+ style="width: 60%!important;"
145
+ v-model="model.hjjs_endDate"
146
+ :value.sync="model.hjjs_endDate"
147
+ :format="'yyyy-MM-dd 23:59:59'"
148
+ :show-reset-button="true"
149
+ >
150
+ </datepicker>
151
+ </div>
152
+ <div class="form-group col-sm-2" v-if="$parent.$parent.typeShow">
153
+ <label class="font_normal_body">派工类型:</label>
154
+ <v-select
155
+ v-model="model.f_dispatching_type"
156
+ placeholder='工队/维修'
157
+ condition="f_dispatching_type = '{}'"
158
+ :value.sync="model.f_dispatching_type"
159
+ :options='$parent.$parent.dispatching'
160
+ class="select select_list"
161
+ :value-single="true"
162
+ close-on-select ></v-select>
163
+ </div>
164
+ </div>
165
+ </div>
166
+ </criteria>
167
+ <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
168
+ <template partial='head'>
169
+ <tr>
170
+ <th style="white-space: nowrap;">序号</th>
171
+ <th style="white-space: nowrap;">报建编号</th>
172
+ <th style="white-space: nowrap;">报建类型</th>
173
+ <th style="white-space: nowrap;">用户名称</th>
174
+ <th style="white-space: nowrap;">电话</th>
175
+ <th style="white-space: nowrap;">报装申请时间</th>
176
+ <th style="white-space: nowrap;">报装申请完成时间</th>
177
+ <th style="white-space: nowrap;">报建受理</th>
178
+ <th style="white-space: nowrap;">报建受理完成时间</th>
179
+ <th style="white-space: nowrap;">现场勘察</th>
180
+ <th style="white-space: nowrap;">现场勘察完成时间</th>
181
+ <th style="white-space: nowrap;">收费标准</th>
182
+ <th style="white-space: nowrap;">收费标准完成时间</th>
183
+ <th style="white-space: nowrap;">报装缴费</th>
184
+ <th style="white-space: nowrap;">报装缴费完成时间</th>
185
+ <th style="white-space: nowrap;">合同签订</th>
186
+ <th style="white-space: nowrap;">合同签订完成时间</th>
187
+ <th style="white-space: nowrap;">设计出图</th>
188
+ <th style="white-space: nowrap;">设计出图完成时间</th>
189
+ <th style="white-space: nowrap;">工程派工</th>
190
+ <th style="white-space: nowrap;">工程派工完成时间</th>
191
+ <th style="white-space: nowrap;">工程队派工</th>
192
+ <th style="white-space: nowrap;">工程队派工完成时间</th>
193
+ <th style="white-space: nowrap;">监理单位派工</th>
194
+ <th style="white-space: nowrap;">监理单位派工完成时间</th>
195
+ <th style="white-space: nowrap;">工程施工</th>
196
+ <th style="white-space: nowrap;">工程施工完成时间</th>
197
+ <th style="white-space: nowrap;">点火通气</th>
198
+ <th style="white-space: nowrap;">点火通气完成时间</th>
199
+ <th style="white-space: nowrap;">核算费用</th>
200
+ <th style="white-space: nowrap;">核算费用完成时间</th>
201
+ <th style="white-space: nowrap;">部长审核</th>
202
+ <th style="white-space: nowrap;">部长审核完成时间</th>
203
+ <th style="white-space: nowrap;">经理审核</th>
204
+ <th style="white-space: nowrap;">经理审核完成时间</th>
205
+ <th style="white-space: nowrap;">维修派单</th>
206
+ <th style="white-space: nowrap;">维修派单完成时间</th>
207
+ <th style="white-space: nowrap;">安检维修施工</th>
208
+ <th style="white-space: nowrap;">安检维修施工完成时间</th>
209
+ <th style="white-space: nowrap;">图纸变更</th>
210
+ <th style="white-space: nowrap;">图纸变更完成时间</th>
211
+ <th style="white-space: nowrap;">核对气量</th>
212
+ <th style="white-space: nowrap;">核对气量完成时间</th>
213
+ <th style="white-space: nowrap;">工程查看</th>
214
+ <th style="white-space: nowrap;">工程查看完成时间</th>
215
+ <th style="white-space: nowrap;">完工时间</th>
216
+ </tr>
217
+ </template>
218
+ <template partial='body'>
219
+ <tr>
220
+ <td style="text-align: center;">
221
+ <nobr><font>{{ $index + 1 }}</font></nobr>
222
+ </td>
223
+ <td style="text-align: center;">
224
+ <nobr><font>{{ row.f_apply_num }}</font></nobr>
225
+ </td>
226
+ <td style="text-align: center;">
227
+ <nobr><font>{{ row.f_apply_type }}</font></nobr>
228
+ </td>
229
+ <td style="text-align: center;">
230
+ <nobr><font>{{ row.f_user_name }}</font></nobr>
231
+ </td>
232
+ <td style="text-align: center;">
233
+ <nobr><font>{{ row.f_phone }}</font></nobr>
234
+ </td>
235
+ <td style="text-align: center;">
236
+ <nobr><font>{{ row.sq_sendtime ? row.sq_sendtime : row.sl_sendtime }}</font></nobr>
237
+ </td>
238
+ <td style="text-align: center;">
239
+ <nobr><font>{{ row.sq_finishtime ? row.sq_finishtime : row.sl_sendtime }}</font></nobr>
240
+ </td>
241
+ <td style="text-align: center;">
242
+ <nobr><font>{{ row.sl_sendtime }}</font></nobr>
243
+ </td>
244
+ <td style="text-align: center;">
245
+ <nobr><font>{{ row.sl_finishtime }}</font></nobr>
246
+ </td>
247
+ <td style="text-align: center;">
248
+ <nobr><font>{{ row.kc_sendtime }}</font></nobr>
249
+ </td>
250
+ <td style="text-align: center;">
251
+ <nobr><font>{{ row.kc_finishtime }}</font></nobr>
252
+ </td>
253
+ <td style="text-align: center;">
254
+ <nobr><font>{{ row.bz_sendtime }}</font></nobr>
255
+ </td>
256
+ <td style="text-align: center;">
257
+ <nobr><font>{{ row.bz_finishtime }}</font></nobr>
258
+ </td>
259
+ <td style="text-align: center;">
260
+ <nobr><font>{{ row.jf_sendtime }}</font></nobr>
261
+ </td>
262
+ <td style="text-align: center;">
263
+ <nobr><font>{{ row.jf_finishtime }}</font></nobr>
264
+ </td>
265
+ <td style="text-align: center;">
266
+ <nobr><font>{{ row.ht_sendtime }}</font></nobr>
267
+ </td>
268
+ <td style="text-align: center;">
269
+ <nobr><font>{{ row.ht_finishtime }}</font></nobr>
270
+ </td>
271
+ <td style="text-align: center;">
272
+ <nobr><font>{{ row.ct_sendtime }}</font></nobr>
273
+ </td>
274
+ <td style="text-align: center;">
275
+ <nobr><font>{{ row.ct_finishtime }}</font></nobr>
276
+ </td>
277
+ <td style="text-align: center;">
278
+ <nobr><font>{{ row.pg_sendtime }}</font></nobr>
279
+ </td>
280
+ <td style="text-align: center;">
281
+ <nobr><font>{{ row.pg_finishtime }}</font></nobr>
282
+ </td>
283
+ <td style="text-align: center;">
284
+ <nobr><font>{{ row.gdpg_sendtime }}</font></nobr>
285
+ </td>
286
+ <td style="text-align: center;">
287
+ <nobr><font>{{ row.gdpg_finishtime }}</font></nobr>
288
+ </td>
289
+ <td style="text-align: center;">
290
+ <nobr><font>{{ row.jlpg_sendtime }}</font></nobr>
291
+ </td>
292
+ <td style="text-align: center;">
293
+ <nobr><font>{{ row.jlpg_finishtime }}</font></nobr>
294
+ </td>
295
+ <td style="text-align: center;">
296
+ <nobr><font>{{ row.sg_sendtime }}</font></nobr>
297
+ </td>
298
+ <td style="text-align: center;">
299
+ <nobr><font>{{ row.sg_finishtime }}</font></nobr>
300
+ </td>
301
+ <td style="text-align: center;">
302
+ <nobr><font>{{ row.tq_sendtime }}</font></nobr>
303
+ </td>
304
+ <td style="text-align: center;">
305
+ <nobr><font>{{ row.tq_finishtime }}</font></nobr>
306
+ </td>
307
+ <td style="text-align: center;">
308
+ <nobr><font>{{ row.hs_sendtime }}</font></nobr>
309
+ </td>
310
+ <td style="text-align: center;">
311
+ <nobr><font>{{ row.hs_finishtime }}</font></nobr>
312
+ </td>
313
+ <td style="text-align: center;">
314
+ <nobr><font>{{ row.bzsh_sendtime }}</font></nobr>
315
+ </td>
316
+ <td style="text-align: center;">
317
+ <nobr><font>{{ row.bzsh_finishtime }}</font></nobr>
318
+ </td>
319
+ <td style="text-align: center;">
320
+ <nobr><font>{{ row.jlsh_sendtime }}</font></nobr>
321
+ </td>
322
+ <td style="text-align: center;">
323
+ <nobr><font>{{ row.jlsh_finishtime }}</font></nobr>
324
+ </td>
325
+ <td style="text-align: center;">
326
+ <nobr><font>{{ row.wxpd_sendtime }}</font></nobr>
327
+ </td>
328
+ <td style="text-align: center;">
329
+ <nobr><font>{{ row.wxpd_finishtime }}</font></nobr>
330
+ </td>
331
+ <td style="text-align: center;">
332
+ <nobr><font>{{ row.wxsg_sendtime }}</font></nobr>
333
+ </td>
334
+ <td style="text-align: center;">
335
+ <nobr><font>{{ row.wxsg_finishtime }}</font></nobr>
336
+ </td>
337
+ <td style="text-align: center;">
338
+ <nobr><font>{{ row.tzbg_sendtime }}</font></nobr>
339
+ </td>
340
+ <td style="text-align: center;">
341
+ <nobr><font>{{ row.tzbg_finishtime }}</font></nobr>
342
+ </td>
343
+ <td style="text-align: center;">
344
+ <nobr><font>{{ row.hdql_sendtime }}</font></nobr>
345
+ </td>
346
+ <td style="text-align: center;">
347
+ <nobr><font>{{ row.hdql_finishtime }}</font></nobr>
348
+ </td>
349
+ <td style="text-align: center;">
350
+ <nobr><font>{{ row.gcck_sendtime }}</font></nobr>
351
+ </td>
352
+ <td style="text-align: center;">
353
+ <nobr><font>{{ row.gcck_finishtime }}</font></nobr>
354
+ </td>
355
+ <td style="text-align: center;">
356
+ <nobr><font>{{ row.wg_sendtime }}</font></nobr>
357
+ </td>
358
+ </tr>
359
+ </template>
360
+ </data-grid>
361
+ </criteria-paged>
362
+ </div>
363
+ </div>
364
+ </template>
365
+
366
+ <script>
367
+ import {PagedList} from 'vue-client'
368
+ import {isEmpty} from "../../Util";
369
+
370
+
371
+ export default {
372
+ title: '报建环节时间节点',
373
+ data () {
374
+ return {
375
+ model: new PagedList('rs/sql/applyGetAllActivityTime', 20, {
376
+ data: {
377
+ f_filiale: this.$login.f.f_fengongsi?this.$login.f.f_fengongsi:'榆林.榆川天然气'
378
+ }
379
+ }),
380
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')?this.$appdata.getParam('报建类型'):[]],
381
+ dispatching: [{label: '全部', value: ''}, {label: '施工工队', value: '施工工队'}, {label: '安检维修中心', value: '安检维修中心'}],
382
+ defnames1: [{label: '全部', value: ''},
383
+ {label: '报装申请', value: 'sq_'},
384
+ {label: '报建受理', value: 'sl_'},
385
+ {label: '现场勘察', value: 'kc_'},
386
+ {label: '收费标准', value: 'bz_'},
387
+ {label: '报装缴费', value: 'jf_'},
388
+ {label: '合同签订', value: 'ht_'},
389
+ {label: '设计出图', value: 'ct_'},
390
+ {label: '工程派工', value: 'pg_'},
391
+ {label: '工程队派工', value: 'gdpg_'},
392
+ {label: '监理单位派工', value: 'jlpg_'},
393
+ {label: '工程施工', value: 'sg_'},
394
+ {label: '点火通气', value: 'tq_'},
395
+ {label: '核算费用', value: 'hs_'},
396
+ {label: '部长审核', value: 'bzsh_'},
397
+ {label: '经理审核', value: 'jlsh_'},
398
+ {label: '维修派单', value: 'wxpd_'},
399
+ {label: '安检维修施工', value: 'wxsg_'},
400
+ {label: '图纸变更', value: 'tzbg_'},
401
+ {label: '核对气量', value: 'hdql_'},
402
+ {label: '工程查看', value: 'gcck_'},
403
+ {label: '完工', value: 'wg_'}
404
+ ],
405
+ criteriaShow: false,
406
+ defnameShow: true,
407
+ typeShow:false,
408
+ getfield: {
409
+ 'f_apply_num': ' 报 建 编 号 ',
410
+ 'f_apply_type': ' 报 建 类 型 ',
411
+ 'f_user_name': ' 用 户 名 称 ',
412
+ 'f_phone': ' 电 话 ',
413
+ 'sq_sendtime':'报装申请时间',
414
+ 'sq_finishtime':'报装申请完成时间',
415
+ 'sl_sendtime':'报建受理',
416
+ 'sl_finishtime':'报建受理完成时间',
417
+ 'kc_sendtime':'现场勘察',
418
+ 'kc_finishtime':'现场勘察完成时间',
419
+ 'bz_sendtime':'收费标准',
420
+ 'bz_finishtime':'收费标准完成时间',
421
+ 'jf_sendtime':'报装缴费',
422
+ 'jf_finishtime':'报装缴费完成时间',
423
+ 'ht_sendtime':'合同签订',
424
+ 'ht_finishtime':'合同签订完成时间',
425
+ 'ct_sendtime':'设计出图',
426
+ 'ct_finishtime':'设计出图完成时间',
427
+ 'pg_sendtime':'工程派工',
428
+ 'pg_finishtime':'工程派工完成时间',
429
+ 'gdpg_sendtime':'工程队派工',
430
+ 'gdpg_finishtime':'工程队派工完成时间',
431
+ 'jlpg_sendtime':'监理单位派工',
432
+ 'jlpg_finishtime':'监理单位派工完成时间',
433
+ 'sg_sendtime':'工程施工',
434
+ 'sg_finishtime':'工程施工完成时间',
435
+ 'tq_sendtime':'点火通气',
436
+ 'tq_finishtime':'点火通气完成时间',
437
+ 'hs_sendtime':'核算费用',
438
+ 'hs_finishtime':'核算费用完成时间',
439
+ 'bzsh_sendtime':'部长审核',
440
+ 'bzsh_finishtime':'部长审核完成时间',
441
+ 'jlsh_sendtime':'经理审核',
442
+ 'jlsh_finishtime':'经理审核完成时间',
443
+ 'wxpd_sendtime':'维修派单',
444
+ 'wxpd_finishtime':'维修派单完成时间',
445
+ 'wxsg_sendtime':'安检维修施工',
446
+ 'wxsg_finishtime':'安检维修施工完成时间',
447
+ 'tzbg_sendtime':'图纸变更',
448
+ 'tzbg_finishtime':'图纸变更完成时间',
449
+ 'hdql_sendtime':'核对气量',
450
+ 'hdql_finishtime':'核对气量完成时间',
451
+ 'gcck_sendtime':'工程查看',
452
+ 'gcck_finishtime':'工程查看完成时间',
453
+ 'f_address':'地址',
454
+ 'wg_sendtime':'完工时间'
455
+ }
456
+ }
457
+ },
458
+ ready () {
459
+ // 调用查询
460
+ this.search()
461
+ },
462
+ methods: {
463
+ searchCondition (args) {
464
+ if(!isEmpty(args.model.defname)){
465
+ //判断是否选了时间,没有则提示
466
+ if(args.model.defname=='wg_'){
467
+ if(isEmpty(args.model.hjks_startDate)){
468
+ this.$showMessage('请选择完工环节开始时间')
469
+ return
470
+ }
471
+ }else{
472
+ if(isEmpty(args.model.hjks_startDate)){
473
+ this.$showMessage('请选择环节开始时间')
474
+ return
475
+ }
476
+ }
477
+ }
478
+ if(!isEmpty(args.model.hjks_startDate)){
479
+ args.condition+= " AND " +`${args.model.defname}`+'sendtime'+'>='+`'${args.model.hjks_startDate}'`
480
+ }
481
+ if(!isEmpty(args.model.hjks_endDate)){
482
+ args.condition+= " AND " +`${args.model.defname}`+'sendtime'+'<='+`'${args.model.hjks_endDate}'`
483
+ }
484
+ if(!isEmpty(args.model.hjjs_startDate)){
485
+ args.condition+= " AND " +`${args.model.defname}`+'finishtime'+'>='+`'${args.model.hjjs_startDate}'`
486
+ }
487
+ if(!isEmpty(args.model.hjjs_endDate)){
488
+ args.condition+= " AND " +`${args.model.defname}`+'finishtime'+'<='+`'${args.model.hjjs_endDate}'`
489
+ }
490
+ this.model.search(args.condition, args.model)
491
+ },
492
+ defnameChange(){
493
+ debugger
494
+ //选择的是完工,则隐藏环节结束时间
495
+ if(this.$refs.cp.$refs.cri.model.defname=='wg_'){
496
+ this.typeShow=true
497
+ this.defnameShow=false
498
+ }else{
499
+ this.typeShow=false
500
+ this.defnameShow=true
501
+ }
502
+ },
503
+ async applyTypeChange () {
504
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
505
+ let res = await this.$resetpost('rs/logic/getDefnameByType',
506
+ { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
507
+ {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
508
+ )
509
+ this.defnames = [{label: '全部', value: ''}, ...res.data]
510
+ } else {
511
+ this.defnames = isEmpty(this.$appdata.getParam('办理环节')) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam('办理环节')]
512
+ }
513
+ },
514
+ clear () {
515
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
516
+ this.$refs.cp.$refs.cri.model[key] = []
517
+ })
518
+ },
519
+ // 查询
520
+ search () {
521
+ this.$refs.cp.$refs.cri.search()
522
+ }
523
+ },
524
+ computed: {
525
+ getCondition () {
526
+
527
+ return {
528
+ condition: this.model.condition,
529
+ data: {
530
+ f_filiale: this.$login.f.f_fengongsi?this.$login.f.f_fengongsi:'榆林.榆川天然气'
531
+ }
532
+ }
533
+ }
534
+ }
535
+ }
536
+ </script>
537
+
538
+ <style scoped>
539
+
540
+ </style>