apply-clients 7.1.36-yuchuan-51 → 7.1.36-yuchuan-53

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