apply-clients 7.1.36-yuchuan-40 → 7.1.36-yuchuan-42

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 (68) hide show
  1. package/android.html +27 -27
  2. package/build/dev-server.js +172 -192
  3. package/package.json +119 -119
  4. package/src/apply.js +163 -163
  5. package/src/applyAndroid.js +98 -98
  6. package/src/components/android/AppSign.vue +232 -232
  7. package/src/components/android/Ignition/VentilationIgnition.vue +408 -408
  8. package/src/components/android/Ignition/VentilationIgnitionHandle.vue +472 -472
  9. package/src/components/android/Process/AppExplorationUser.vue +454 -454
  10. package/src/components/android/Process/AppServiceControl.vue +1434 -1434
  11. package/src/components/android/Process/Processes/AppInstallationDetails.vue +1018 -1018
  12. package/src/components/android/Process/Processes/newAppInstallationDetails.vue +671 -671
  13. package/src/components/android/SealManage.vue +278 -278
  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/Build/BuildTsak.vue +117 -117
  17. package/src/components/android/Task/BuildIgnition/BuildIgnition.vue +114 -114
  18. package/src/components/android/Task/GuanXianJianShe/AppExplorationGuanXian.vue +317 -317
  19. package/src/components/android/Task/RepairFromSend/RepairFrom.vue +124 -124
  20. package/src/components/android/Task/RepairFromSend/RepairSend.vue +124 -124
  21. package/src/components/android/Task/ShiGongXinXi/AppShowBuildUser.vue +431 -431
  22. package/src/components/android/Task/Survey/SurveyTsak.vue +141 -141
  23. package/src/components/android/Task/yiban/AppShowDone.vue +442 -442
  24. package/src/components/android/newPackage/customerServiceManager.vue +218 -218
  25. package/src/components/android/newPackage/projectPrice.vue +218 -218
  26. package/src/components/product/ApplyCharge/ApplyChargeList.vue +1101 -1101
  27. package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +325 -325
  28. package/src/components/product/ApplyGuanXian/GuanXianExplorationUser.vue +142 -142
  29. package/src/components/product/ApplyGuanXian/GuanXianSupervisoryhCart.vue +119 -119
  30. package/src/components/product/ApplyMap/AppMapLocation.vue +829 -829
  31. package/src/components/product/ApplyMap/ApplyMapInputSearch.vue +335 -335
  32. package/src/components/product/Function/InstallFunction.vue +132 -132
  33. package/src/components/product/Function/InstallInfoSelect.vue +374 -374
  34. package/src/components/product/GongJianPush/ApplyPushDispose.vue +12 -10
  35. package/src/components/product/GongJianPush/ApplyPushManage.vue +91 -91
  36. package/src/components/product/Ignition/IgnitionDispatch.vue +90 -90
  37. package/src/components/product/Ignition/IgnitionListManage.vue +604 -604
  38. package/src/components/product/Ignition/IgnitionRecord.vue +380 -380
  39. package/src/components/product/InsuranceApply/InsuranceReport.vue +188 -188
  40. package/src/components/product/List/OldShowDevices.vue +271 -271
  41. package/src/components/product/List/ShowAllActivity.vue +541 -541
  42. package/src/components/product/List/ShowDevices.vue +279 -279
  43. package/src/components/product/Print/BuildOrder/buildOrderList.vue +446 -446
  44. package/src/components/product/Process/ExplorationSelect.vue +593 -593
  45. package/src/components/product/Process/ExplorationUser.vue +154 -154
  46. package/src/components/product/Process/New1ExplorationUser.vue +196 -199
  47. package/src/components/product/Process/NewExplorationSelect.vue +587 -587
  48. package/src/components/product/Process/NewExplorationUser.vue +216 -216
  49. package/src/components/product/Process/Processes/InstallationDetails.vue +1159 -1159
  50. package/src/components/product/Process/Processes/Print/printCharge.vue +250 -250
  51. package/src/components/product/Process/Processes/Print/printGaiXianCharge.vue +244 -244
  52. package/src/components/product/Process/Processes/chargeManagement.vue +703 -703
  53. package/src/components/product/Process/Processes/selectApply.vue +250 -250
  54. package/src/components/product/Process/Processes/selectChaiChuUserinfo.vue +230 -230
  55. package/src/components/product/Process/Processes/selectOldUserinfo.vue +241 -241
  56. package/src/components/product/Process/Processes/selectUserinfo.vue +234 -234
  57. package/src/components/product/Process/Service/ServiceControl.vue +2216 -2216
  58. package/src/components/product/ServiceView.vue +644 -644
  59. package/src/components/product/Stop/StopApplyList.vue +224 -224
  60. package/src/components/product/Supervisory/NewSupervisoryhCart.vue +175 -175
  61. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +593 -593
  62. package/src/components/product/Supervisory/SupervisoryControl.vue +114 -114
  63. package/src/components/product/Supervisory/SupervisoryList.vue +580 -580
  64. package/src/components/product/Supervisory/SupervisoryhCart.vue +120 -120
  65. package/src/components/product/Supervisory/YiBanSupervisoryControl.vue +111 -111
  66. package/src/components/product/Supervisory/YiBanSupervisoryList.vue +539 -539
  67. package/src/components/product/VueUtils/ApplyUpload.vue +303 -303
  68. package/src/main.js +27 -27
@@ -1,580 +1,580 @@
1
- <template>
2
- <div class="col-sm-12">
3
- <!-- 流程查看 -->
4
- <criteria-paged :model="model" v-ref:cp>
5
- <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
6
- <div novalidate 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" ><strong>工程编号:</strong></label>
10
- <input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
11
- v-on:keyup.enter="$parent.$parent.search()"
12
- condition="f_apply_num like '%{}%'">
13
- </div>
14
- <div class="form-group col-sm-2">
15
- <label class="font_normal_body"><strong>客户名称:</strong></label>
16
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
17
- v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
18
- </div>
19
- <div class="form-group col-sm-2">
20
- <label class="font_normal_body"><strong>联系电话:</strong></label>
21
- <input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
22
- v-on:keyup.enter="$parent.$parent.search()"
23
- condition="f_phone like '%{}%'">
24
- </div>
25
- <div class="form-group col-sm-2">
26
- <label class="font_normal_body"><strong>联&ensp;系&ensp;人:</strong></label>
27
- <input type="text" style="width:60%" class="input_search" v-model="model.f_contact"
28
- v-on:keyup.enter="$parent.$parent.search()" condition="f_contact like '%{}%'" placeholder='联系人'>
29
- </div>
30
- <div class="form-group col-sm-2 button-range">
31
- <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
32
- <button class="button_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
33
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
34
- <bj-export-excel :data="$parent.$parent.getCondition"
35
- :field="$parent.$parent.getfield"
36
- :civil="$parent.$parent.civil"
37
- :uncivil="$parent.$parent.uncivil"
38
- sqlurl="rs/logic/applyExportfile"
39
- sql-name="supervisoryExcel"
40
- template-name='报建记录信息导出'
41
- :choose-col="true"></bj-export-excel>
42
- <div
43
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
44
- @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
45
- class="button_spacing"
46
- style="float: right">
47
- </div>
48
- </div>
49
- </div>
50
- <div class="row" v-show="$parent.$parent.criteriaShow">
51
- <div class="form-group col-sm-2">
52
- <label class="font_normal_body"><strong>设计人员:</strong></label>
53
- <v-select class="select select_list"
54
- placeholder='设计人员'
55
- v-model="model.f_designer_people"
56
- :value.sync="model.f_designer_people"
57
- :options='$parent.$parent.designerPeoples'
58
- :value-single="true"
59
- close-on-select
60
- condition="f_designer_people = '{}'">
61
- </v-select>
62
- </div>
63
- <div class="form-group col-sm-2">
64
- <label class="font_normal_body"><strong>合同编号:</strong></label>
65
- <input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
66
- v-on:keyup.enter="$parent.$parent.search()"
67
- condition="f_contract_number like '%{}%'">
68
- </div>
69
- <div class="form-group col-sm-2">
70
- <label class="font_normal_body"><strong>报建类型:</strong></label>
71
- <v-select
72
- v-model="model.f_apply_type"
73
- placeholder='报建类型'
74
- condition="u.f_apply_type in {}"
75
- :value.sync="model.f_apply_type"
76
- :options='$parent.$parent.applytype'
77
- class="select select_list"
78
- multiple
79
- @change="$parent.$parent.applyTypeChange()"></v-select>
80
- </div>
81
- <div class="form-group col-sm-2">
82
- <label class="font_normal_body"><strong>办理环节:</strong></label>
83
- <v-select
84
- v-model="model.defname"
85
- placeholder='办理环节'
86
- condition="act.defname = '{}'"
87
- :value.sync="model.defname"
88
- :options='$parent.$parent.defnames'
89
- class="select select_list"
90
- :value-single="true"
91
- close-on-select ></v-select>
92
- </div>
93
- <div class="form-group col-sm-2" v-if="model.defname">
94
- <label for="defstartDate" class="font_normal_body"><strong>环节开始时间:</strong></label>
95
- <datepicker id="defstartDate" placeholder="环节开始时间"
96
- style="width: 60%!important;"
97
- v-model="model.defstartDate"
98
- :value.sync="model.defstartDate"
99
- :format="'yyyy-MM-dd 00:00:00'"
100
- :show-reset-button="true"
101
- condition="sendtime >= '{}'">
102
- </datepicker>
103
- </div>
104
- <div class="form-group col-sm-2">
105
- <label class="font_normal_body"><strong>报建性质:</strong></label>
106
- <v-select
107
- v-model="model.f_apply_nature"
108
- placeholder='报建性质'
109
- condition="f_apply_nature = '{}'"
110
- :value.sync="model.f_apply_nature"
111
- :options='$parent.$parent.applyNatures'
112
- class="select select_list"
113
- :value-single="true"
114
- close-on-select ></v-select>
115
- </div>
116
- <div class="form-group col-sm-2">
117
- <label class="font_normal_body"><strong>用户分类:</strong></label>
118
- <v-select
119
- v-model="model.f_user_classification"
120
- placeholder='用户分类'
121
- condition="f_user_classification = '{}'"
122
- :value.sync="model.f_user_classification"
123
- :options='$parent.$parent.UserList'
124
- class="select select_list"
125
- :value-single="true"
126
- close-on-select ></v-select>
127
- </div>
128
- <div class="form-group col-sm-2">
129
- <label class="font_normal_body"><strong>用户类型:</strong></label>
130
- <v-select
131
- v-model="model.f_user_type"
132
- placeholder='普通/煤改'
133
- condition="f_user_type = '{}'"
134
- :value.sync="model.f_user_type"
135
- :options='$parent.$parent.UserType'
136
- class="select select_list"
137
- :value-single="true"
138
- close-on-select ></v-select>
139
- </div>
140
- <div class="form-group col-sm-2">
141
- <label class="font_normal_body"><strong>用户地址:</strong></label>
142
- <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
143
- v-on:keyup.enter="$parent.$parent.search()"
144
- condition="f_address like '%{}%'">
145
- </div>
146
- <div class="form-group col-sm-2">
147
- <label class="font_normal_body"><strong>图纸情况:</strong></label>
148
- <v-select
149
- v-model="model.f_filetype"
150
- placeholder='图纸情况'
151
- condition="f_filetype {}"
152
- :value.sync="model.f_filetype"
153
- :options='$parent.$parent.filetype'
154
- class="select select_list"
155
- :value-single="true"
156
- close-on-select ></v-select>
157
- </div>
158
- <div class="form-group col-sm-2">
159
- <label for="startDate" class="font_normal_body"><strong>开始时间:</strong></label>
160
- <datepicker id="startDate" placeholder="报建开始日期"
161
- style="width: 60%!important;"
162
- v-model="model.startDate"
163
- :value.sync="model.startDate"
164
- :format="'yyyy-MM-dd 00:00:00'"
165
- :show-reset-button="true"
166
- condition="f_apply_date >= '{}'">
167
- </datepicker>
168
- </div>
169
- <div class="form-group col-sm-2">
170
- <label for="endDate" class="font_normal_body"><strong>截止时间:</strong></label>
171
- <datepicker id="endDate" placeholder="报建截止日期"
172
- style="width: 60%!important;"
173
- v-model="model.endDate"
174
- :value.sync="model.endDate"
175
- :format="'yyyy-MM-dd 23:59:59'"
176
- :show-reset-button="true"
177
- condition="f_apply_date <= '{}'">
178
- </datepicker>
179
- </div>
180
- <div class="form-group col-sm-2">
181
- <label for="startDate" class="font_normal_body"><strong>派工时间:</strong></label>
182
- <datepicker id="startDate1" placeholder="派工开始日期"
183
- style="width: 60%!important;"
184
- v-model="model.startDate1"
185
- :value.sync="model.startDate1"
186
- :format="'yyyy-MM-dd 00:00:00'"
187
- :show-reset-button="true"
188
- condition="u.f_release_date >= '{}'">
189
- </datepicker>
190
- </div>
191
- <div class="form-group col-sm-2">
192
- <label for="endDate" class="font_normal_body"><strong>派工时间:</strong></label>
193
- <datepicker id="endDate1" placeholder="派工截止日期"
194
- style="width: 60%!important;"
195
- v-model="model.endDate1"
196
- :value.sync="model.endDate1"
197
- :format="'yyyy-MM-dd 23:59:59'"
198
- :show-reset-button="true"
199
- condition="u.f_release_date <= '{}'">
200
- </datepicker>
201
- </div>
202
- <div class="form-group col-sm-2">
203
- <label for="startDate" class="font_normal_body"><strong>回单日期:</strong></label>
204
- <datepicker id="startDate1" placeholder="回单开始日期"
205
- style="width: 60%!important;"
206
- v-model="model.startDate2"
207
- :value.sync="model.startDate2"
208
- :format="'yyyy-MM-dd 00:00:00'"
209
- :show-reset-button="true"
210
- condition="u.f_outdoors_receipt_time >= '{}'">
211
- </datepicker>
212
- </div>
213
- <div class="form-group col-sm-2">
214
- <label for="endDate" class="font_normal_body"><strong>回单日期:</strong></label>
215
- <datepicker id="endDate1" placeholder="回单截止日期"
216
- style="width: 60%!important;"
217
- v-model="model.endDate2"
218
- :value.sync="model.endDate2"
219
- :format="'yyyy-MM-dd 23:59:59'"
220
- :show-reset-button="true"
221
- condition="u.f_outdoors_receipt_time <= '{}'">
222
- </datepicker>
223
- </div>
224
- <div class="form-group col-sm-2">
225
- <label class="font_normal_body"><strong>派工类型:</strong></label>
226
- <v-select
227
- v-model="model.f_dispatching_type"
228
- placeholder='工队/维修'
229
- condition="u.f_dispatching_type = '{}'"
230
- :value.sync="model.f_dispatching_type"
231
- :options='$parent.$parent.dispatching'
232
- class="select select_list"
233
- :value-single="true"
234
- close-on-select ></v-select>
235
- </div>
236
- <div class="form-group col-sm-2">
237
- <label class="font_normal_body"><strong>新旧报建:</strong></label>
238
- <v-select
239
- v-model="model.f_house_type"
240
- placeholder='新旧报建'
241
- condition="u.f_house_type {}"
242
- :value.sync="model.f_house_type"
243
- :options='$parent.$parent.houseType'
244
- class="select select_list"
245
- :value-single="true"
246
- close-on-select >
247
- </v-select>
248
- </div>
249
- <div class="form-group col-sm-2">
250
- <label class="font_normal_body"><strong>来&emsp;&emsp;源:</strong></label>
251
- <v-select
252
- v-model="model.f_apply_source"
253
- placeholder='来源'
254
- condition="u.f_apply_source = '{}'"
255
- :value.sync="model.f_apply_source"
256
- :options='$parent.$parent.sources'
257
- class="select select_list"
258
- :value-single="true"
259
- close-on-select >
260
- </v-select>
261
- </div>
262
- <div class="form-group col-sm-2">
263
- <label class="font_normal_body"><strong>安装单位:</strong></label>
264
- <input type="text" style="width:60%" class="input_search" placeholder='安装单位' v-model="model.f_construction_name"
265
- v-on:keyup.enter="$parent.$parent.search()"
266
- condition="u.f_construction_name like '%{}%'">
267
- </div>
268
- <div class="form-group col-sm-2">
269
- <label class="font_normal_body"><strong>投保状态:</strong></label>
270
- <v-select
271
- v-model="model.f_insurance_state"
272
- placeholder='投保状态'
273
- condition="u.f_insurance_state= '{}'"
274
- :value.sync="model.f_insurance_state"
275
- :options='$parent.$parent.insuranceStste'
276
- class="select select_list"
277
- :value-single="true"
278
- close-on-select >
279
- </v-select>
280
- </div>
281
- </div>
282
- </div>
283
- </criteria>
284
- <data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
285
- <template partial='head'>
286
- <tr>
287
- <th style="white-space: nowrap;">序号</th>
288
- <th style="white-space: nowrap;">工程编号</th>
289
- <th style="white-space: nowrap;">客户名称</th>
290
- <th style="white-space: nowrap;">联系人</th>
291
- <th style="white-space: nowrap;">合同编号</th>
292
- <th style="white-space: nowrap;">电话</th>
293
- <th style="white-space: nowrap;">设计人员</th>
294
- <th style="white-space: nowrap;">报建类型</th>
295
- <th style="white-space: nowrap;">报建性质</th>
296
- <th style="white-space: nowrap;">用户类型</th>
297
- <th style="white-space: nowrap;">办理环节</th>
298
- <th style="white-space: nowrap;">用户分类</th>
299
- <th style="white-space: nowrap;">地址</th>
300
- <th style="white-space: nowrap;">户数</th>
301
- <th style="white-space: nowrap;">投保状态</th>
302
- <th style="white-space: nowrap;">来源</th>
303
- <th style="white-space: nowrap;">流程状态</th>
304
- <th style="white-space: nowrap;">报建日期</th>
305
- </tr>
306
- </template>
307
- <template partial='body'>
308
- <tr>
309
- <td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
310
- <nobr>{{$index+1}}</nobr>
311
- </td>
312
- <td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
313
- <nobr>{{row.f_apply_num}}</nobr>
314
- </td>
315
- <td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
316
- <nobr>{{row.f_user_name}}</nobr>
317
- </td>
318
- <td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
319
- <nobr>{{row.f_contact}}</nobr>
320
- </td>
321
- <td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
322
- <nobr>{{row.f_contract_number}}</nobr>
323
- </td>
324
- <td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
325
- <nobr>{{row.f_phone}}</nobr>
326
- </td>
327
- <td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
328
- <nobr><font>{{row.f_designer_people}}</font></nobr>
329
- </td>
330
- <td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
331
- <nobr>{{row.f_apply_type}}</nobr>
332
- </td>
333
- <td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
334
- <nobr>{{row.f_apply_nature}}</nobr>
335
- </td>
336
- <td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
337
- <nobr>{{row.f_user_type}}</nobr>
338
- </td>
339
- <td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
340
- <nobr>{{row.defname}}</nobr>
341
- </td>
342
- <td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
343
- <nobr>{{row.f_user_classification}}</nobr>
344
- </td>
345
- <td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
346
- <nobr>{{row.f_address}}</nobr>
347
- </td>
348
- <td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
349
- <nobr>{{row.f_install_count}}</nobr>
350
- </td>
351
- <td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
352
- <nobr>{{row.f_insurance_state}}</nobr>
353
- </td>
354
- <td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
355
- <nobr>{{row.f_apply_source}}</nobr>
356
- </td>
357
- <td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
358
- <nobr>{{row.f_sub_state}}</nobr>
359
- </td>
360
- <td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
361
- <nobr>{{row.f_apply_date}}</nobr>
362
- </td>
363
- </tr>
364
- </template>
365
- </data-grid>
366
- </criteria-paged>
367
- </div>
368
- </template>
369
- <script>
370
- import {HttpResetClass, PagedList} from 'vue-client'
371
- import {isEmpty} from '../../Util'
372
- export default {
373
- title: '勘探详情',
374
- props: ['showData'],
375
- data () {
376
- return {
377
- model: new PagedList('rs/sql/supervisory', 20, {
378
- data: {
379
- f_filiale: "榆林."+this.$login.f.orgs
380
- },
381
- }),
382
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')?this.$appdata.getParam('报建类型'):[]],
383
- defnames: isEmpty(this.$appdata.getParam('办理环节')) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam('办理环节')], // 流程节点
384
- applyNatures: [{label: '全部', value: ''},{label: '工业', value: '工业'},{label: '商业', value: '商业'},{label: '散户', value: '散户'},{label: '小区', value: '小区'},{label: '分户挂表', value: '分户挂表'}], // 报建性质
385
- criteriaShow: false,
386
- sources:[{label: '微信公众号', value: '微信公众号'},{label: '线下发起', value: '线下发起'}],
387
- filetype:[{label: '已上传图纸', value: 'is not null'}, {label: '未上传图纸', value: 'is null'}],
388
- UserList:[{label: '全部', value: ''}, ...this.$appdata.getParam('用户分类')?this.$appdata.getParam('用户分类'):[]],
389
- insuranceStste:[{label: '全部', value: ''}, ...this.$appdata.getParam('投保状态')?this.$appdata.getParam('投保状态'):[]],
390
- UserType:[{label: '全部', value: ''}, {label: '普通用户', value: '普通用户'}, {label: '煤改用户', value: '煤改用户'}],
391
- designerPeoples: this.getDesigner(),
392
- dispatching: [{label: '全部', value: ''}, {label: '施工工队', value: '施工工队'}, {label: '安检维修中心', value: '安检维修中心'}],
393
- houseType:[{label: '全部', value: ''}, {label: '旧报建', value: ` = '旧报导入'`}, {label: '新报建', value: ' is null' }],
394
- getfield: {
395
- 'f_apply_num': ' 工 程 编 号 ',
396
- 'f_charge_date': ' 收 费 日 期 ',
397
- 'f_user_name': ' 用 户 单 位 ',
398
- 'f_user_classification': ' 用户分类 ',
399
- 'f_user_type': ' 用户类型 ',
400
- 'f_address': ' 地 址 ',
401
- 'f_install_count': ' 安装户数 ',
402
- 'huoyan': ' 火眼 ',
403
- 'xiaohuoyan': ' 小火眼 ',
404
- 'bigualu': ' 壁挂炉 ',
405
- 'jiayongzao': ' 家用灶 ',
406
- 'reshuiqi': ' 热水器 ',
407
- 'cainuanlu': ' 采暖炉 ',
408
- 'chashuilu': ' 茶水炉 ',
409
- 'zhengche': ' 蒸车 ',
410
- 'zhengqifashengqi': ' 蒸汽发生器 ',
411
- 'zaoju': ' 灶具 ',
412
- 'yasuoji': ' 压缩机 ',
413
- 'mokuailu': ' 模块炉 ',
414
- 'danweikw': ' 锅炉单位(KW) ',
415
- 'danweimw': ' 锅炉单位(MW) ',
416
- 'dunwei': ' 锅炉吨位(T) ',
417
- 'baojingqi': ' 报警器 ',
418
- "zibifa": ' 安全自闭阀 ',
419
- 'f_meter_types': ' 表 具 明 细 ',
420
- 'f_construct_operator': ' 现 场 项 目 负 责 人 ',
421
- 'f_contact': ' 联 系 人 ',
422
- 'f_phone': ' 电 话 ',
423
- 'f_outdoors_time': ' 户内出单日期 ',
424
- 'f_outdoors_receipt_time': ' 户内回单日期 ',
425
- 'f_courtyard_time': ' 庭院出单日期 ',
426
- 'f_courtyard_receipt_time': ' 庭院回单日期 ',
427
- 'f_construction_unit':' 施 工 单 位 ',
428
- 'f_contract_number': ' 合 同 编 号 ',
429
- 'f_apply_nature': ' 报 建 性 质 ',
430
- 'defname': ' 办 理 环 节 ',
431
- 'f_designer_people':' 设计人员 ',
432
- 'f_apply_source': ' 来源 ',
433
- 'f_apply_type': ' 报 建 类 型 ',
434
- 'f_sub_state': ' 流 程 状 态 ',
435
- 'f_apply_date': ' 报 建 日 期 ',
436
- 'f_house_type': ' 新 旧 报 建 ',
437
- 'f_check_operator': '检测单位',
438
- 'f_engineering_operator': '土建单位',
439
- 'f_insurance_state':'投保状态'
440
- },
441
- civil: {
442
- 'f_apply_num': '工程编号',
443
- 'f_charge_date': '收费日期',
444
- 'f_user_name': '用户单位',
445
- 'f_user_type': ' 用户类型 ',
446
- 'f_address': '地址',
447
- 'f_install_count': '安装户数',
448
- 'baojingqi': ' 报警器 ',
449
- "zibifa": ' 安全自闭阀 ',
450
- 'f_meter_types': '表具明细',
451
- 'f_construct_operator': '现场项目负责人',
452
- 'f_contact': '联系人',
453
- 'f_phone': '电话',
454
- 'f_construction_unit':'施工单位',
455
- 'f_house_type': ' 新 旧 报 建 '
456
- },
457
- uncivil: {
458
- 'f_apply_num': '工程编号',
459
- 'f_charge_date': '收费日期',
460
- 'f_user_name': '用户单位',
461
- 'f_user_type': ' 用户类型 ',
462
- 'f_address': '地址',
463
- 'f_install_count': '安装户数',
464
- 'huoyan': '火眼',
465
- 'xiaohuoyan': '小火眼',
466
- 'bigualu': '壁挂炉',
467
- 'jiayongzao': '家用灶',
468
- 'reshuiqi': '热水器',
469
- 'cainuanlu': '采暖炉',
470
- 'chashuilu': '茶水炉',
471
- 'zhengche': '蒸车',
472
- 'zhengqifashengqi': '蒸汽发生器',
473
- 'zaoju': '灶具',
474
- 'yasuoji': '压缩机',
475
- 'mokuailu': '模块炉',
476
- 'danweikw': '锅炉单位(KW)',
477
- 'danweimw': '锅炉单位(MW)',
478
- 'dunwei': '锅炉吨位(T)',
479
- 'f_meter_types': '表具明细',
480
- 'f_construct_operator': '现场项目负责人',
481
- 'f_contact': '联系人',
482
- 'f_phone': '电话',
483
- 'f_outdoors_time': ' 户内出单日期 ',
484
- 'f_outdoors_receipt_time': ' 户内回单日期 ',
485
- 'f_courtyard_time': ' 庭院出单日期 ',
486
- 'f_courtyard_receipt_time': ' 庭院回单日期 ',
487
- 'f_construction_unit':'施工单位',
488
- 'f_house_type': ' 新 旧 报 建 '
489
- }
490
- }
491
- },
492
- ready () {
493
- // 调用查询
494
- // this.search()
495
- },
496
- events: {
497
- },
498
- methods: {
499
- loadPage () {
500
- this.$dispatch('loadPage')
501
- },
502
- searchCondition (args) {
503
- args.condition = args.condition
504
- if (args.condition.includes('民用报建')) {
505
- args.condition = args.condition.replace('f_apply_type = \'民用报建\'', '(f_apply_type = \'民用报建\' or f_apply_type = \'分户挂表\')');
506
- }
507
- console.log("args.condition",args.condition)
508
- debugger
509
- this.model.search(args.condition, args.model)
510
- },
511
- // 查询
512
- search () {
513
- this.$dispatch('search')
514
- },
515
- check (val) {
516
- this.$dispatch('apply', val)
517
- },
518
- async applyTypeChange () {
519
- if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
520
- let http = new HttpResetClass()
521
- let res = await http.load('POST', 'rs/logic/getDefnameByType', {
522
- f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type},
523
- {resolveMsg: null, rejectMsg: '流程标识获取失败!!!'}
524
- )
525
- this.defnames = [{label: '全部', value: ''}, ...res.data]
526
- // 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}性质`)]
527
- } else {
528
- this.defnames = isEmpty(this.$appdata.getParam('办理环节')) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam('办理环节')]
529
- // this.applyNatures = isEmpty(this.$appdata.getParam('报建性质')) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam('报建性质')] // 报建性质
530
- }
531
- },
532
- async getDesigner() {
533
- let data = {
534
- source: 'this.getParentByType($organization$).getChildByName($设计人员$).getChildren()',
535
- userid: this.$login.f.id
536
- }
537
-
538
- let res = await this.$resetpost(
539
- 'rs/search',
540
- {data: data},
541
- {resolveMsg: null, rejectMsg: '设计人员人员查询失败!!!'}
542
- )
543
- console.log("ces",res.data.map(item => {
544
- return {
545
- label: item.name,
546
- value: item.name
547
- }
548
- }))
549
- this.designerPeoples = res.data.map(item => {
550
- return {
551
- label: item.name,
552
- value: item.name
553
- }
554
- })
555
- },
556
- clear () {
557
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
558
- this.$refs.cp.$refs.cri.model[key] = null
559
- this.$refs.cp.$refs.cri.model.f_apply_type = []
560
- })
561
- }
562
- },
563
- computed: {
564
- getCondition () {
565
- return {
566
- condition: this.$refs.cp.$refs.cri.condition,
567
- data: {
568
- // orgid: this.$login.f.orgid
569
- f_filiale: "榆林."+this.$login.f.orgs
570
- }
571
- }
572
- },
573
- getLoginDepartment(){
574
- return this.$login.f.rolesnames.includes('市场部报装')
575
- }
576
- }
577
- }
578
- </script>
579
- <style scoped>
580
- </style>
1
+ <template>
2
+ <div class="col-sm-12">
3
+ <!-- 流程查看 -->
4
+ <criteria-paged :model="model" v-ref:cp>
5
+ <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
6
+ <div novalidate 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" ><strong>工程编号:</strong></label>
10
+ <input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
11
+ v-on:keyup.enter="$parent.$parent.search()"
12
+ condition="f_apply_num like '%{}%'">
13
+ </div>
14
+ <div class="form-group col-sm-2">
15
+ <label class="font_normal_body"><strong>客户名称:</strong></label>
16
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
17
+ v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
18
+ </div>
19
+ <div class="form-group col-sm-2">
20
+ <label class="font_normal_body"><strong>联系电话:</strong></label>
21
+ <input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
22
+ v-on:keyup.enter="$parent.$parent.search()"
23
+ condition="f_phone like '%{}%'">
24
+ </div>
25
+ <div class="form-group col-sm-2">
26
+ <label class="font_normal_body"><strong>联&ensp;系&ensp;人:</strong></label>
27
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_contact"
28
+ v-on:keyup.enter="$parent.$parent.search()" condition="f_contact like '%{}%'" placeholder='联系人'>
29
+ </div>
30
+ <div class="form-group col-sm-2 button-range">
31
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
32
+ <button class="button_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
33
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
34
+ <bj-export-excel :data="$parent.$parent.getCondition"
35
+ :field="$parent.$parent.getfield"
36
+ :civil="$parent.$parent.civil"
37
+ :uncivil="$parent.$parent.uncivil"
38
+ sqlurl="rs/logic/applyExportfile"
39
+ sql-name="supervisoryExcel"
40
+ template-name='报建记录信息导出'
41
+ :choose-col="true"></bj-export-excel>
42
+ <div
43
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
44
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
45
+ class="button_spacing"
46
+ style="float: right">
47
+ </div>
48
+ </div>
49
+ </div>
50
+ <div class="row" v-show="$parent.$parent.criteriaShow">
51
+ <div class="form-group col-sm-2">
52
+ <label class="font_normal_body"><strong>设计人员:</strong></label>
53
+ <v-select class="select select_list"
54
+ placeholder='设计人员'
55
+ v-model="model.f_designer_people"
56
+ :value.sync="model.f_designer_people"
57
+ :options='$parent.$parent.designerPeoples'
58
+ :value-single="true"
59
+ close-on-select
60
+ condition="f_designer_people = '{}'">
61
+ </v-select>
62
+ </div>
63
+ <div class="form-group col-sm-2">
64
+ <label class="font_normal_body"><strong>合同编号:</strong></label>
65
+ <input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
66
+ v-on:keyup.enter="$parent.$parent.search()"
67
+ condition="f_contract_number like '%{}%'">
68
+ </div>
69
+ <div class="form-group col-sm-2">
70
+ <label class="font_normal_body"><strong>报建类型:</strong></label>
71
+ <v-select
72
+ v-model="model.f_apply_type"
73
+ placeholder='报建类型'
74
+ condition="u.f_apply_type in {}"
75
+ :value.sync="model.f_apply_type"
76
+ :options='$parent.$parent.applytype'
77
+ class="select select_list"
78
+ multiple
79
+ @change="$parent.$parent.applyTypeChange()"></v-select>
80
+ </div>
81
+ <div class="form-group col-sm-2">
82
+ <label class="font_normal_body"><strong>办理环节:</strong></label>
83
+ <v-select
84
+ v-model="model.defname"
85
+ placeholder='办理环节'
86
+ condition="act.defname = '{}'"
87
+ :value.sync="model.defname"
88
+ :options='$parent.$parent.defnames'
89
+ class="select select_list"
90
+ :value-single="true"
91
+ close-on-select ></v-select>
92
+ </div>
93
+ <div class="form-group col-sm-2" v-if="model.defname">
94
+ <label for="defstartDate" class="font_normal_body"><strong>环节开始时间:</strong></label>
95
+ <datepicker id="defstartDate" placeholder="环节开始时间"
96
+ style="width: 60%!important;"
97
+ v-model="model.defstartDate"
98
+ :value.sync="model.defstartDate"
99
+ :format="'yyyy-MM-dd 00:00:00'"
100
+ :show-reset-button="true"
101
+ condition="sendtime >= '{}'">
102
+ </datepicker>
103
+ </div>
104
+ <div class="form-group col-sm-2">
105
+ <label class="font_normal_body"><strong>报建性质:</strong></label>
106
+ <v-select
107
+ v-model="model.f_apply_nature"
108
+ placeholder='报建性质'
109
+ condition="f_apply_nature = '{}'"
110
+ :value.sync="model.f_apply_nature"
111
+ :options='$parent.$parent.applyNatures'
112
+ class="select select_list"
113
+ :value-single="true"
114
+ close-on-select ></v-select>
115
+ </div>
116
+ <div class="form-group col-sm-2">
117
+ <label class="font_normal_body"><strong>用户分类:</strong></label>
118
+ <v-select
119
+ v-model="model.f_user_classification"
120
+ placeholder='用户分类'
121
+ condition="f_user_classification = '{}'"
122
+ :value.sync="model.f_user_classification"
123
+ :options='$parent.$parent.UserList'
124
+ class="select select_list"
125
+ :value-single="true"
126
+ close-on-select ></v-select>
127
+ </div>
128
+ <div class="form-group col-sm-2">
129
+ <label class="font_normal_body"><strong>用户类型:</strong></label>
130
+ <v-select
131
+ v-model="model.f_user_type"
132
+ placeholder='普通/煤改'
133
+ condition="f_user_type = '{}'"
134
+ :value.sync="model.f_user_type"
135
+ :options='$parent.$parent.UserType'
136
+ class="select select_list"
137
+ :value-single="true"
138
+ close-on-select ></v-select>
139
+ </div>
140
+ <div class="form-group col-sm-2">
141
+ <label class="font_normal_body"><strong>用户地址:</strong></label>
142
+ <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
143
+ v-on:keyup.enter="$parent.$parent.search()"
144
+ condition="f_address like '%{}%'">
145
+ </div>
146
+ <div class="form-group col-sm-2">
147
+ <label class="font_normal_body"><strong>图纸情况:</strong></label>
148
+ <v-select
149
+ v-model="model.f_filetype"
150
+ placeholder='图纸情况'
151
+ condition="f_filetype {}"
152
+ :value.sync="model.f_filetype"
153
+ :options='$parent.$parent.filetype'
154
+ class="select select_list"
155
+ :value-single="true"
156
+ close-on-select ></v-select>
157
+ </div>
158
+ <div class="form-group col-sm-2">
159
+ <label for="startDate" class="font_normal_body"><strong>开始时间:</strong></label>
160
+ <datepicker id="startDate" placeholder="报建开始日期"
161
+ style="width: 60%!important;"
162
+ v-model="model.startDate"
163
+ :value.sync="model.startDate"
164
+ :format="'yyyy-MM-dd 00:00:00'"
165
+ :show-reset-button="true"
166
+ condition="f_apply_date >= '{}'">
167
+ </datepicker>
168
+ </div>
169
+ <div class="form-group col-sm-2">
170
+ <label for="endDate" class="font_normal_body"><strong>截止时间:</strong></label>
171
+ <datepicker id="endDate" placeholder="报建截止日期"
172
+ style="width: 60%!important;"
173
+ v-model="model.endDate"
174
+ :value.sync="model.endDate"
175
+ :format="'yyyy-MM-dd 23:59:59'"
176
+ :show-reset-button="true"
177
+ condition="f_apply_date <= '{}'">
178
+ </datepicker>
179
+ </div>
180
+ <div class="form-group col-sm-2">
181
+ <label for="startDate" class="font_normal_body"><strong>派工时间:</strong></label>
182
+ <datepicker id="startDate1" placeholder="派工开始日期"
183
+ style="width: 60%!important;"
184
+ v-model="model.startDate1"
185
+ :value.sync="model.startDate1"
186
+ :format="'yyyy-MM-dd 00:00:00'"
187
+ :show-reset-button="true"
188
+ condition="u.f_release_date >= '{}'">
189
+ </datepicker>
190
+ </div>
191
+ <div class="form-group col-sm-2">
192
+ <label for="endDate" class="font_normal_body"><strong>派工时间:</strong></label>
193
+ <datepicker id="endDate1" placeholder="派工截止日期"
194
+ style="width: 60%!important;"
195
+ v-model="model.endDate1"
196
+ :value.sync="model.endDate1"
197
+ :format="'yyyy-MM-dd 23:59:59'"
198
+ :show-reset-button="true"
199
+ condition="u.f_release_date <= '{}'">
200
+ </datepicker>
201
+ </div>
202
+ <div class="form-group col-sm-2">
203
+ <label for="startDate" class="font_normal_body"><strong>回单日期:</strong></label>
204
+ <datepicker id="startDate1" placeholder="回单开始日期"
205
+ style="width: 60%!important;"
206
+ v-model="model.startDate2"
207
+ :value.sync="model.startDate2"
208
+ :format="'yyyy-MM-dd 00:00:00'"
209
+ :show-reset-button="true"
210
+ condition="u.f_outdoors_receipt_time >= '{}'">
211
+ </datepicker>
212
+ </div>
213
+ <div class="form-group col-sm-2">
214
+ <label for="endDate" class="font_normal_body"><strong>回单日期:</strong></label>
215
+ <datepicker id="endDate1" placeholder="回单截止日期"
216
+ style="width: 60%!important;"
217
+ v-model="model.endDate2"
218
+ :value.sync="model.endDate2"
219
+ :format="'yyyy-MM-dd 23:59:59'"
220
+ :show-reset-button="true"
221
+ condition="u.f_outdoors_receipt_time <= '{}'">
222
+ </datepicker>
223
+ </div>
224
+ <div class="form-group col-sm-2">
225
+ <label class="font_normal_body"><strong>派工类型:</strong></label>
226
+ <v-select
227
+ v-model="model.f_dispatching_type"
228
+ placeholder='工队/维修'
229
+ condition="u.f_dispatching_type = '{}'"
230
+ :value.sync="model.f_dispatching_type"
231
+ :options='$parent.$parent.dispatching'
232
+ class="select select_list"
233
+ :value-single="true"
234
+ close-on-select ></v-select>
235
+ </div>
236
+ <div class="form-group col-sm-2">
237
+ <label class="font_normal_body"><strong>新旧报建:</strong></label>
238
+ <v-select
239
+ v-model="model.f_house_type"
240
+ placeholder='新旧报建'
241
+ condition="u.f_house_type {}"
242
+ :value.sync="model.f_house_type"
243
+ :options='$parent.$parent.houseType'
244
+ class="select select_list"
245
+ :value-single="true"
246
+ close-on-select >
247
+ </v-select>
248
+ </div>
249
+ <div class="form-group col-sm-2">
250
+ <label class="font_normal_body"><strong>来&emsp;&emsp;源:</strong></label>
251
+ <v-select
252
+ v-model="model.f_apply_source"
253
+ placeholder='来源'
254
+ condition="u.f_apply_source = '{}'"
255
+ :value.sync="model.f_apply_source"
256
+ :options='$parent.$parent.sources'
257
+ class="select select_list"
258
+ :value-single="true"
259
+ close-on-select >
260
+ </v-select>
261
+ </div>
262
+ <div class="form-group col-sm-2">
263
+ <label class="font_normal_body"><strong>安装单位:</strong></label>
264
+ <input type="text" style="width:60%" class="input_search" placeholder='安装单位' v-model="model.f_construction_name"
265
+ v-on:keyup.enter="$parent.$parent.search()"
266
+ condition="u.f_construction_name like '%{}%'">
267
+ </div>
268
+ <div class="form-group col-sm-2">
269
+ <label class="font_normal_body"><strong>投保状态:</strong></label>
270
+ <v-select
271
+ v-model="model.f_insurance_state"
272
+ placeholder='投保状态'
273
+ condition="u.f_insurance_state= '{}'"
274
+ :value.sync="model.f_insurance_state"
275
+ :options='$parent.$parent.insuranceStste'
276
+ class="select select_list"
277
+ :value-single="true"
278
+ close-on-select >
279
+ </v-select>
280
+ </div>
281
+ </div>
282
+ </div>
283
+ </criteria>
284
+ <data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
285
+ <template partial='head'>
286
+ <tr>
287
+ <th style="white-space: nowrap;">序号</th>
288
+ <th style="white-space: nowrap;">工程编号</th>
289
+ <th style="white-space: nowrap;">客户名称</th>
290
+ <th style="white-space: nowrap;">联系人</th>
291
+ <th style="white-space: nowrap;">合同编号</th>
292
+ <th style="white-space: nowrap;">电话</th>
293
+ <th style="white-space: nowrap;">设计人员</th>
294
+ <th style="white-space: nowrap;">报建类型</th>
295
+ <th style="white-space: nowrap;">报建性质</th>
296
+ <th style="white-space: nowrap;">用户类型</th>
297
+ <th style="white-space: nowrap;">办理环节</th>
298
+ <th style="white-space: nowrap;">用户分类</th>
299
+ <th style="white-space: nowrap;">地址</th>
300
+ <th style="white-space: nowrap;">户数</th>
301
+ <th style="white-space: nowrap;">投保状态</th>
302
+ <th style="white-space: nowrap;">来源</th>
303
+ <th style="white-space: nowrap;">流程状态</th>
304
+ <th style="white-space: nowrap;">报建日期</th>
305
+ </tr>
306
+ </template>
307
+ <template partial='body'>
308
+ <tr>
309
+ <td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
310
+ <nobr>{{$index+1}}</nobr>
311
+ </td>
312
+ <td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
313
+ <nobr>{{row.f_apply_num}}</nobr>
314
+ </td>
315
+ <td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
316
+ <nobr>{{row.f_user_name}}</nobr>
317
+ </td>
318
+ <td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
319
+ <nobr>{{row.f_contact}}</nobr>
320
+ </td>
321
+ <td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
322
+ <nobr>{{row.f_contract_number}}</nobr>
323
+ </td>
324
+ <td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
325
+ <nobr>{{row.f_phone}}</nobr>
326
+ </td>
327
+ <td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
328
+ <nobr><font>{{row.f_designer_people}}</font></nobr>
329
+ </td>
330
+ <td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
331
+ <nobr>{{row.f_apply_type}}</nobr>
332
+ </td>
333
+ <td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
334
+ <nobr>{{row.f_apply_nature}}</nobr>
335
+ </td>
336
+ <td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
337
+ <nobr>{{row.f_user_type}}</nobr>
338
+ </td>
339
+ <td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
340
+ <nobr>{{row.defname}}</nobr>
341
+ </td>
342
+ <td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
343
+ <nobr>{{row.f_user_classification}}</nobr>
344
+ </td>
345
+ <td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
346
+ <nobr>{{row.f_address}}</nobr>
347
+ </td>
348
+ <td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
349
+ <nobr>{{row.f_install_count}}</nobr>
350
+ </td>
351
+ <td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
352
+ <nobr>{{row.f_insurance_state}}</nobr>
353
+ </td>
354
+ <td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
355
+ <nobr>{{row.f_apply_source}}</nobr>
356
+ </td>
357
+ <td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
358
+ <nobr>{{row.f_sub_state}}</nobr>
359
+ </td>
360
+ <td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
361
+ <nobr>{{row.f_apply_date}}</nobr>
362
+ </td>
363
+ </tr>
364
+ </template>
365
+ </data-grid>
366
+ </criteria-paged>
367
+ </div>
368
+ </template>
369
+ <script>
370
+ import {HttpResetClass, PagedList} from 'vue-client'
371
+ import {isEmpty} from '../../Util'
372
+ export default {
373
+ title: '勘探详情',
374
+ props: ['showData'],
375
+ data () {
376
+ return {
377
+ model: new PagedList('rs/sql/supervisory', 20, {
378
+ data: {
379
+ f_filiale: "榆林."+this.$login.f.orgs
380
+ },
381
+ }),
382
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')?this.$appdata.getParam('报建类型'):[]],
383
+ defnames: isEmpty(this.$appdata.getParam('办理环节')) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam('办理环节')], // 流程节点
384
+ applyNatures: [{label: '全部', value: ''},{label: '工业', value: '工业'},{label: '商业', value: '商业'},{label: '散户', value: '散户'},{label: '小区', value: '小区'},{label: '分户挂表', value: '分户挂表'}], // 报建性质
385
+ criteriaShow: false,
386
+ sources:[{label: '微信公众号', value: '微信公众号'},{label: '线下发起', value: '线下发起'}],
387
+ filetype:[{label: '已上传图纸', value: 'is not null'}, {label: '未上传图纸', value: 'is null'}],
388
+ UserList:[{label: '全部', value: ''}, ...this.$appdata.getParam('用户分类')?this.$appdata.getParam('用户分类'):[]],
389
+ insuranceStste:[{label: '全部', value: ''}, ...this.$appdata.getParam('投保状态')?this.$appdata.getParam('投保状态'):[]],
390
+ UserType:[{label: '全部', value: ''}, {label: '普通用户', value: '普通用户'}, {label: '煤改用户', value: '煤改用户'}],
391
+ designerPeoples: this.getDesigner(),
392
+ dispatching: [{label: '全部', value: ''}, {label: '施工工队', value: '施工工队'}, {label: '安检维修中心', value: '安检维修中心'}],
393
+ houseType:[{label: '全部', value: ''}, {label: '旧报建', value: ` = '旧报导入'`}, {label: '新报建', value: ' is null' }],
394
+ getfield: {
395
+ 'f_apply_num': ' 工 程 编 号 ',
396
+ 'f_charge_date': ' 收 费 日 期 ',
397
+ 'f_user_name': ' 用 户 单 位 ',
398
+ 'f_user_classification': ' 用户分类 ',
399
+ 'f_user_type': ' 用户类型 ',
400
+ 'f_address': ' 地 址 ',
401
+ 'f_install_count': ' 安装户数 ',
402
+ 'huoyan': ' 火眼 ',
403
+ 'xiaohuoyan': ' 小火眼 ',
404
+ 'bigualu': ' 壁挂炉 ',
405
+ 'jiayongzao': ' 家用灶 ',
406
+ 'reshuiqi': ' 热水器 ',
407
+ 'cainuanlu': ' 采暖炉 ',
408
+ 'chashuilu': ' 茶水炉 ',
409
+ 'zhengche': ' 蒸车 ',
410
+ 'zhengqifashengqi': ' 蒸汽发生器 ',
411
+ 'zaoju': ' 灶具 ',
412
+ 'yasuoji': ' 压缩机 ',
413
+ 'mokuailu': ' 模块炉 ',
414
+ 'danweikw': ' 锅炉单位(KW) ',
415
+ 'danweimw': ' 锅炉单位(MW) ',
416
+ 'dunwei': ' 锅炉吨位(T) ',
417
+ 'baojingqi': ' 报警器 ',
418
+ "zibifa": ' 安全自闭阀 ',
419
+ 'f_meter_types': ' 表 具 明 细 ',
420
+ 'f_construct_operator': ' 现 场 项 目 负 责 人 ',
421
+ 'f_contact': ' 联 系 人 ',
422
+ 'f_phone': ' 电 话 ',
423
+ 'f_outdoors_time': ' 户内出单日期 ',
424
+ 'f_outdoors_receipt_time': ' 户内回单日期 ',
425
+ 'f_courtyard_time': ' 庭院出单日期 ',
426
+ 'f_courtyard_receipt_time': ' 庭院回单日期 ',
427
+ 'f_construction_unit':' 施 工 单 位 ',
428
+ 'f_contract_number': ' 合 同 编 号 ',
429
+ 'f_apply_nature': ' 报 建 性 质 ',
430
+ 'defname': ' 办 理 环 节 ',
431
+ 'f_designer_people':' 设计人员 ',
432
+ 'f_apply_source': ' 来源 ',
433
+ 'f_apply_type': ' 报 建 类 型 ',
434
+ 'f_sub_state': ' 流 程 状 态 ',
435
+ 'f_apply_date': ' 报 建 日 期 ',
436
+ 'f_house_type': ' 新 旧 报 建 ',
437
+ 'f_check_operator': '检测单位',
438
+ 'f_engineering_operator': '土建单位',
439
+ 'f_insurance_state':'投保状态'
440
+ },
441
+ civil: {
442
+ 'f_apply_num': '工程编号',
443
+ 'f_charge_date': '收费日期',
444
+ 'f_user_name': '用户单位',
445
+ 'f_user_type': ' 用户类型 ',
446
+ 'f_address': '地址',
447
+ 'f_install_count': '安装户数',
448
+ 'baojingqi': ' 报警器 ',
449
+ "zibifa": ' 安全自闭阀 ',
450
+ 'f_meter_types': '表具明细',
451
+ 'f_construct_operator': '现场项目负责人',
452
+ 'f_contact': '联系人',
453
+ 'f_phone': '电话',
454
+ 'f_construction_unit':'施工单位',
455
+ 'f_house_type': ' 新 旧 报 建 '
456
+ },
457
+ uncivil: {
458
+ 'f_apply_num': '工程编号',
459
+ 'f_charge_date': '收费日期',
460
+ 'f_user_name': '用户单位',
461
+ 'f_user_type': ' 用户类型 ',
462
+ 'f_address': '地址',
463
+ 'f_install_count': '安装户数',
464
+ 'huoyan': '火眼',
465
+ 'xiaohuoyan': '小火眼',
466
+ 'bigualu': '壁挂炉',
467
+ 'jiayongzao': '家用灶',
468
+ 'reshuiqi': '热水器',
469
+ 'cainuanlu': '采暖炉',
470
+ 'chashuilu': '茶水炉',
471
+ 'zhengche': '蒸车',
472
+ 'zhengqifashengqi': '蒸汽发生器',
473
+ 'zaoju': '灶具',
474
+ 'yasuoji': '压缩机',
475
+ 'mokuailu': '模块炉',
476
+ 'danweikw': '锅炉单位(KW)',
477
+ 'danweimw': '锅炉单位(MW)',
478
+ 'dunwei': '锅炉吨位(T)',
479
+ 'f_meter_types': '表具明细',
480
+ 'f_construct_operator': '现场项目负责人',
481
+ 'f_contact': '联系人',
482
+ 'f_phone': '电话',
483
+ 'f_outdoors_time': ' 户内出单日期 ',
484
+ 'f_outdoors_receipt_time': ' 户内回单日期 ',
485
+ 'f_courtyard_time': ' 庭院出单日期 ',
486
+ 'f_courtyard_receipt_time': ' 庭院回单日期 ',
487
+ 'f_construction_unit':'施工单位',
488
+ 'f_house_type': ' 新 旧 报 建 '
489
+ }
490
+ }
491
+ },
492
+ ready () {
493
+ // 调用查询
494
+ // this.search()
495
+ },
496
+ events: {
497
+ },
498
+ methods: {
499
+ loadPage () {
500
+ this.$dispatch('loadPage')
501
+ },
502
+ searchCondition (args) {
503
+ args.condition = args.condition
504
+ if (args.condition.includes('民用报建')) {
505
+ args.condition = args.condition.replace('f_apply_type = \'民用报建\'', '(f_apply_type = \'民用报建\' or f_apply_type = \'分户挂表\')');
506
+ }
507
+ console.log("args.condition",args.condition)
508
+ debugger
509
+ this.model.search(args.condition, args.model)
510
+ },
511
+ // 查询
512
+ search () {
513
+ this.$dispatch('search')
514
+ },
515
+ check (val) {
516
+ this.$dispatch('apply', val)
517
+ },
518
+ async applyTypeChange () {
519
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
520
+ let http = new HttpResetClass()
521
+ let res = await http.load('POST', 'rs/logic/getDefnameByType', {
522
+ f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type},
523
+ {resolveMsg: null, rejectMsg: '流程标识获取失败!!!'}
524
+ )
525
+ this.defnames = [{label: '全部', value: ''}, ...res.data]
526
+ // 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}性质`)]
527
+ } else {
528
+ this.defnames = isEmpty(this.$appdata.getParam('办理环节')) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam('办理环节')]
529
+ // this.applyNatures = isEmpty(this.$appdata.getParam('报建性质')) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam('报建性质')] // 报建性质
530
+ }
531
+ },
532
+ async getDesigner() {
533
+ let data = {
534
+ source: 'this.getParentByType($organization$).getChildByName($设计人员$).getChildren()',
535
+ userid: this.$login.f.id
536
+ }
537
+
538
+ let res = await this.$resetpost(
539
+ 'rs/search',
540
+ {data: data},
541
+ {resolveMsg: null, rejectMsg: '设计人员人员查询失败!!!'}
542
+ )
543
+ console.log("ces",res.data.map(item => {
544
+ return {
545
+ label: item.name,
546
+ value: item.name
547
+ }
548
+ }))
549
+ this.designerPeoples = res.data.map(item => {
550
+ return {
551
+ label: item.name,
552
+ value: item.name
553
+ }
554
+ })
555
+ },
556
+ clear () {
557
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
558
+ this.$refs.cp.$refs.cri.model[key] = null
559
+ this.$refs.cp.$refs.cri.model.f_apply_type = []
560
+ })
561
+ }
562
+ },
563
+ computed: {
564
+ getCondition () {
565
+ return {
566
+ condition: this.$refs.cp.$refs.cri.condition,
567
+ data: {
568
+ // orgid: this.$login.f.orgid
569
+ f_filiale: "榆林."+this.$login.f.orgs
570
+ }
571
+ }
572
+ },
573
+ getLoginDepartment(){
574
+ return this.$login.f.rolesnames.includes('市场部报装')
575
+ }
576
+ }
577
+ }
578
+ </script>
579
+ <style scoped>
580
+ </style>