apply-clients 7.1.36-yuchuan-2 → 7.1.36-yuchuan-3

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