apply-clients 3.5.4-99 → 3.5.5-2

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 (50) hide show
  1. package/build/dev-server.js +9 -6
  2. package/package.json +1 -1
  3. package/src/App.vue +25 -25
  4. package/src/components/android/AppTakePic.vue +182 -182
  5. package/src/components/android/Process/AppExplorationUser.vue +508 -508
  6. package/src/components/product/Material/MaterialDetailed.vue +268 -268
  7. package/src/components/product/ServiceView.vue +1028 -1028
  8. package/src/filiale/ancheng/android/AppSign.vue +149 -149
  9. package/src/filiale/ancheng/android/AppTakePic.vue +143 -143
  10. package/src/filiale/ancheng/android.js +7 -7
  11. package/src/filiale/baiyin/android/ByAddMaterialScience.vue +858 -858
  12. package/src/filiale/fugou/android/AppAddMaterialScience.vue +440 -440
  13. package/src/filiale/fugou/android/AppDevicesManagement.vue +519 -519
  14. package/src/filiale/fugou/android/AppInstallationDetails.vue +541 -541
  15. package/src/filiale/fugou/android/AppServiceControl.vue +1836 -1845
  16. package/src/filiale/fugou/android/printCharge.vue +162 -162
  17. package/src/filiale/fugou/android.js +16 -16
  18. package/src/filiale/fugou/pc/ExplorationSelect.vue +525 -525
  19. package/src/filiale/fugou/pc/ServiceControl.vue +1705 -1705
  20. package/src/filiale/fugou/pc/ServiceView.vue +941 -941
  21. package/src/filiale/fugou/pc/devicesManagement.vue +483 -483
  22. package/src/filiale/fugou/pc/printChargepc.vue +148 -148
  23. package/src/filiale/gongyi/android/AppAddMaterialScience.vue +493 -493
  24. package/src/filiale/hongda/pc/ApplyDetailsList.vue +329 -329
  25. package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -686
  26. package/src/filiale/qianneng/android/AppServiceView.vue +795 -795
  27. package/src/filiale/qianneng/android.js +15 -15
  28. package/src/filiale/qianneng/pc/ApplyChargeList.vue +639 -639
  29. package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +261 -261
  30. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +769 -769
  31. package/src/filiale/qianneng/pc/Applydetail.vue +417 -417
  32. package/src/filiale/qianneng/pc/InstallFunction.vue +188 -188
  33. package/src/filiale/qianneng/pc/InstallInfoSelect.vue +434 -434
  34. package/src/filiale/qianneng/pc/ServiceControl.vue +1382 -1382
  35. package/src/filiale/qianneng/pc/StopApplyList.vue +334 -334
  36. package/src/filiale/qianneng/pc/SupervisoryList.vue +396 -396
  37. package/src/filiale/qianneng/pc/chargeManagement.vue +813 -813
  38. package/src/filiale/qianneng/pc.js +29 -29
  39. package/src/filiale/ruihua/pc/ServiceControl.vue +1966 -1966
  40. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +520 -520
  41. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +645 -645
  42. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1706 -1706
  43. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +547 -547
  44. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2115 -2115
  45. package/src/filiale/yangchunboneng/pc/ServiceView.vue +1007 -1007
  46. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +605 -605
  47. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +683 -683
  48. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1052 -1052
  49. package/src/filiale/yangchunboneng/pc/devicesManagement.vue +574 -574
  50. package/src/main.js +23 -23
@@ -1,396 +1,396 @@
1
- <template>
2
- <div class="col-sm-12">
3
- <criteria-paged :model="model" v-ref:cp>
4
- <criteria partial='criteria' @condition-changed='search' v-ref:cri>
5
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
- <div class="row">
7
- <div class="form-group col-sm-3">
8
- <label class="font_normal_body">工程编号:</label>
9
- <input type="text" style="width:60%" class="input_search" 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-3">
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-3">
19
- <label class="font_normal_body">用户地址:</label>
20
- <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
21
- v-on:keyup.enter="$parent.$parent.search()"
22
- condition="f_address like '%{}%'">
23
- </div>
24
- <div class="form-group col-sm-2 button-range">
25
- <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
26
- <button class="button_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
27
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
28
- <export-excel :data="$parent.$parent.getCondition"
29
- :field="$parent.$parent.getfield"
30
- sqlurl="rs/logic/applyExportfile"
31
- sql-name="supervisory"
32
- template-name='报装信息导出'
33
- :choose-col="true"></export-excel>
34
- <div
35
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
36
- @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
37
- class="button_spacing"
38
- style="float: right">
39
- </div>
40
- </div>
41
- </div>
42
- <div class="row" v-show="$parent.$parent.criteriaShow">
43
- <div class="form-group col-sm-3">
44
- <label class="font_normal_body">组织机构:</label>
45
- <res-select
46
- restype='organization'
47
- :initresid='$parent.$parent.curorgid'
48
- @res-select="$parent.$parent.getorg"
49
- is-mul="false"
50
- ></res-select>
51
- </div>
52
- <div class="form-group col-sm-3">
53
- <label class="font_normal_body">用户编号:</label>
54
- <input type="text" style="width:60%" class="input_search" placeholder='用户编号' v-model="model.f_userinfo_code"
55
- v-on:keyup.enter="$parent.$parent.search()"
56
- condition="u.f_userinfo_code like '%{}%'">
57
- </div>
58
- <div class="form-group col-sm-3">
59
- <label class="font_normal_body">客户电话:</label>
60
- <input type="text" style="width:60%" class="input_search" placeholder='客户电话' v-model="model.f_phone"
61
- v-on:keyup.enter="$parent.$parent.search()"
62
- condition="u.f_phone like '%{}%'">
63
- </div>
64
- <div class="form-group col-sm-3">
65
- <label class="font_normal_body">入户证号:</label>
66
- <input type="text" style="width:60%" class="input_search" placeholder='入户证号' v-model="model.f_entry_number"
67
- v-on:keyup.enter="$parent.$parent.search()"
68
- condition="u.f_entry_number like '%{}%'">
69
- </div>
70
- <div class="form-group col-sm-3">
71
- <label class="font_normal_body">报建类型:</label>
72
- <v-select
73
- v-model="model.f_apply_type"
74
- placeholder='报建类型'
75
- condition="f_apply_type = '{}'"
76
- :value.sync="model.f_apply_type"
77
- :options='$parent.$parent.applytype'
78
- class="select select_list"
79
- :value-single="true"
80
- close-on-select ></v-select>
81
- </div>
82
- <div class="form-group col-sm-3">
83
- <label class="font_normal_body">办理环节:</label>
84
- <v-select
85
- v-model="model.defname"
86
- placeholder='办理环节'
87
- condition="defname = '{}'"
88
- :value.sync="model.defname"
89
- :options='$parent.$parent.defnames'
90
- class="select select_list"
91
- :value-single="true"
92
- close-on-select ></v-select>
93
- </div>
94
- <div class="form-group col-sm-3">
95
- <label class="font_normal_body">报建性质:</label>
96
- <v-select
97
- v-model="model.f_apply_nature"
98
- placeholder='报建性质'
99
- condition="f_apply_nature = '{}'"
100
- :value.sync="model.f_apply_nature"
101
- :options='$parent.$parent.applyNatures'
102
- class="select select_list"
103
- :value-single="true"
104
- close-on-select ></v-select>
105
- </div>
106
- <div class="form-group col-sm-3">
107
- <label for="startDate" class="font_normal_body">开始时间:</label>
108
- <datepicker id="startDate" placeholder="开始日期"
109
- style="width: 60%!important;"
110
- v-model="model.startDate"
111
- :value.sync="model.startDate"
112
- :format="'yyyy-MM-dd 00:00:00'"
113
- :show-reset-button="true"
114
- condition="f_apply_date >= '{}'">
115
- </datepicker>
116
- </div>
117
- <div class="form-group col-sm-3">
118
- <label for="endDate" class="font_normal_body">结束时间:</label>
119
- <datepicker id="endDate" placeholder="结束日期"
120
- style="width: 60%!important;"
121
- v-model="model.endDate"
122
- :value.sync="model.endDate"
123
- :format="'yyyy-MM-dd 23:59:59'"
124
- :show-reset-button="true"
125
- condition="f_apply_date <= '{}'">
126
- </datepicker>
127
- </div>
128
- <div class="form-group col-sm-3">
129
- <label class="font_normal_body">客户类型:</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-3">
141
- <label class="font_normal_body">行业:</label>
142
- <input type="text" style="width:60%" class="input_search" v-model="model.f_industry"
143
- v-on:keyup.enter="$parent.$parent.search()" condition="f_industry like '%{}%'" placeholder='行业'>
144
- </div>
145
- <div class="form-group col-sm-3">
146
- <label class="font_normal_body">办理角色(办理人):</label>
147
- <input type="text" style="width:60%" class="input_search" v-model="model.operator"
148
- v-on:keyup.enter="$parent.$parent.search()" condition="operator like '%{}%'" placeholder='办理角色(办理人)'>
149
- </div>
150
- <div class="form-group col-sm-3">
151
- <label class="font_normal_body">用气性质:</label>
152
- <v-select
153
- v-model="model.f_gas_nature"
154
- placeholder='用气性质'
155
- condition="f_gas_nature = '{}'"
156
- :value.sync="model.f_gas_nature"
157
- :options='$parent.$parent.gasNatures'
158
- class="select select_list"
159
- :value-single="true"
160
- close-on-select ></v-select>
161
- </div>
162
- <div class="form-group col-sm-3">
163
- <label class="font_normal_body">流程状态:</label>
164
- <v-select
165
- v-model="model.f_sub_state"
166
- placeholder='流程状态'
167
- condition="f_sub_state = '{}'"
168
- :value.sync="model.f_sub_state"
169
- :options='$parent.$parent.subStates'
170
- class="select select_list"
171
- :value-single="true"
172
- close-on-select ></v-select>
173
- </div>
174
- <div class="form-group col-sm-3">
175
- <label class="font_normal_body">来源:</label>
176
- <v-select
177
- v-model="model.f_apply_source"
178
- placeholder='来源'
179
- condition="f_apply_source = '{}'"
180
- :value.sync="model.f_apply_source"
181
- :options='$parent.$parent.applysources'
182
- class="select select_list"
183
- :value-single="true"
184
- close-on-select ></v-select>
185
- </div>
186
- <div class="form-group col-sm-3">
187
- <label class="font_normal_body">备注:</label>
188
- <input type="text"
189
- style="width:60%"
190
- class="input_search"
191
- v-model="model.f_apply_remarks"
192
- v-on:keyup.enter="$parent.$parent.search()"
193
- condition="f_apply_remarks like '%{}%'" placeholder='备注'>
194
- </div>
195
- </div>
196
- </div>
197
- </criteria>
198
- <data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
199
- <template partial='head'>
200
- <tr class="title">
201
- <th style="white-space: nowrap;">序号</th>
202
- <th style="white-space: nowrap;">工程编号</th>
203
- <th style="white-space: nowrap;">客户编号</th>
204
- <th style="white-space: nowrap;">客户名称</th>
205
- <th style="white-space: nowrap;">地址</th>
206
- <th style="white-space: nowrap;">电话</th>
207
- <th style="white-space: nowrap;">入户证号</th>
208
- <th style="white-space: nowrap;">来源</th>
209
- <th style="white-space: nowrap;">报建类型</th>
210
- <th style="white-space: nowrap;">报建性质</th>
211
- <th style="white-space: nowrap;">办理环节</th>
212
- <th style="white-space: nowrap;">办理角色(办理人)</th>
213
- <th style="white-space: nowrap;">流程状态</th>
214
- <th style="white-space: nowrap;">报建日期</th>
215
- <th style="white-space: nowrap;">备注</th>
216
- </tr>
217
- </template>
218
- <template partial='body'>
219
- <tr>
220
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
221
- <nobr>{{$index+1}}</nobr>
222
- </td>
223
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
224
- <nobr>{{row.f_apply_num}}</nobr>
225
- </td>
226
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
227
- <nobr>{{row.f_userinfo_code}}</nobr>
228
- </td>
229
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
230
- <nobr>{{row.f_user_name}}</nobr>
231
- </td>
232
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
233
- <nobr>{{row.f_address}}</nobr>
234
- </td>
235
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
236
- <nobr>{{row.f_phone}}</nobr>
237
- </td>
238
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
239
- <nobr>{{row.f_entry_number}}</nobr>
240
- </td>
241
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
242
- <nobr>{{row.f_apply_source}}</nobr>
243
- </td>
244
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
245
- <nobr>{{row.f_apply_type}}</nobr>
246
- </td>
247
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
248
- <nobr>{{row.f_apply_nature}}</nobr>
249
- </td>
250
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
251
- <nobr>{{row.defname}}</nobr>
252
- </td>
253
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
254
- <nobr>{{row.operator}}</nobr>
255
- </td>
256
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
257
- <nobr>{{row.f_sub_state}}</nobr>
258
- </td>
259
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
260
- <nobr>{{row.f_apply_date}}</nobr>
261
- </td>
262
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
263
- <nobr>{{row.f_apply_remarks}}</nobr>
264
- </td>
265
- </tr>
266
- </template>
267
- </data-grid>
268
- </criteria-paged>
269
- </div>
270
- </template>
271
- <script>
272
- import {HttpResetClass, PagedList} from 'vue-client'
273
- import {isEmpty} from '../../../components/Util'
274
- export default {
275
- title: '流程监控',
276
- props: ['showData'],
277
- data () {
278
- return {
279
- model: new PagedList('rs/sql/supervisory', 20, {
280
- data: {
281
- orgid: this.$login.f.orgid
282
- }
283
- }),
284
- orgid:'',
285
- curorgid: [this.$login.f.orgid],
286
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
287
- applysources: this.$appdata.getParam('报建来源')?[{label: '全部', value: ''}, ...this.$appdata.getParam('报建来源')]:[{label: '全部', value: ''}],
288
- defnames: this.$appdata.getParam('报建明细-办理环节')?[{label: '全部', value: ''}, ...this.$appdata.getParam('报建明细-办理环节')]:[{label: '全部', value: ''}], // 流程节点
289
- usertype: [{label: '全部', value: ''},{label: '民用', value: '民用'},{label: '非民用', value: '非民用'}],//客户类型
290
- applyNatures: [{label: '全部', value: ''},...this.$appdata.getParam('报建性质')], // 报建性质
291
- gasNatures: [
292
- {label: '全部',value: ''},
293
- ...this.$appdata.getParam('用气性质')
294
- ],
295
- criteriaShow: false,
296
- subStates: [
297
- {label: '全部', value: ''},
298
- {label: '新增', value: '新增'},
299
- {label: '暂停', value: '暂停'},
300
- {label: '终止', value: '终止'},
301
- {label: '完工', value: '完工'},
302
- {label: '正在进行', value: '正在进行'}
303
- ], // 流程状态
304
- lyStates: [
305
- {label: '全部', value: ''},
306
- {label: '已领', value: '已领'},
307
- {label: '未领', value: '未领'}
308
-
309
- ],
310
- // 流程状态
311
- getfield: {
312
- 'f_apply_num': '工程编号',
313
- 'f_userinfo_code': '客户编号',
314
- 'f_user_name': '客户名称',
315
- 'f_address': '地址',
316
- 'f_phone': '电话',
317
- 'f_entry_number': '入户证号',
318
- 'f_apply_source': '来源',
319
- 'f_apply_type': '报建类型',
320
- 'defname': '办理环节',
321
- 'operator': '办理角色(办理人)',
322
- 'f_sub_state': '流程状态',
323
- 'f_apply_date': '报建日期',
324
- 'f_apply_remarks': '备注'
325
- }
326
- }
327
- },
328
- ready () {
329
- // 调用查询
330
- this.search()
331
- },
332
- events: {
333
- },
334
- methods: {
335
- loadPage () {
336
- this.$dispatch('loadPage')
337
- },
338
- // 查询
339
- search () {
340
- this.$dispatch('search')
341
- },
342
- check (val) {
343
- let http = new HttpResetClass()
344
- let data = {
345
- tablename: 'activityins',
346
- condition: `processid = '${val.f_process_id}' order by id `
347
- }
348
- http.load('post','rs/sql/apply_singleTable',{data:data},{resolveMsg:null,rejectMsg:null}).then(res=>{
349
- val.actid = res.data[0].id
350
- val.defname = res.data[0].defname
351
- this.$dispatch('apply', val)
352
- })
353
-
354
- },
355
- async applyTypeChange () {
356
- if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
357
- let res = await this.$resetpost('rs/logic/getDefnameByType',
358
- { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
359
- {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
360
- )
361
-
362
- this.defnames = [{label: '全部', value: ''}, ...res.data]
363
-
364
- 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}性质`)]
365
- } else {
366
- this.defnames = [{label: '全部', value: ''}]
367
- this.applyNatures = [{label: '全部', value: ''}]
368
- }
369
- },
370
- clear () {
371
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
372
- this.$refs.cp.$refs.cri.model[key] = null
373
- })
374
- },
375
- getorg (val) {
376
- if (val.length <= 0) {
377
- return
378
- }
379
- this.model.params.data.orgid = val[0]
380
- this.orgid= val[0]
381
- }
382
- },
383
- computed: {
384
- getCondition () {
385
- return {
386
- condition: this.model.condition,
387
- data: {
388
- orgid: this.orgid
389
- }
390
- }
391
- }
392
- }
393
- }
394
- </script>
395
- <style scoped>
396
- </style>
1
+ <template>
2
+ <div class="col-sm-12">
3
+ <criteria-paged :model="model" v-ref:cp>
4
+ <criteria partial='criteria' @condition-changed='search' v-ref:cri>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
+ <div class="row">
7
+ <div class="form-group col-sm-3">
8
+ <label class="font_normal_body">工程编号:</label>
9
+ <input type="text" style="width:60%" class="input_search" 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-3">
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-3">
19
+ <label class="font_normal_body">用户地址:</label>
20
+ <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
21
+ v-on:keyup.enter="$parent.$parent.search()"
22
+ condition="f_address like '%{}%'">
23
+ </div>
24
+ <div class="form-group col-sm-2 button-range">
25
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
26
+ <button class="button_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
27
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
28
+ <export-excel :data="$parent.$parent.getCondition"
29
+ :field="$parent.$parent.getfield"
30
+ sqlurl="rs/logic/applyExportfile"
31
+ sql-name="supervisory"
32
+ template-name='报装信息导出'
33
+ :choose-col="true"></export-excel>
34
+ <div
35
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
36
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
37
+ class="button_spacing"
38
+ style="float: right">
39
+ </div>
40
+ </div>
41
+ </div>
42
+ <div class="row" v-show="$parent.$parent.criteriaShow">
43
+ <div class="form-group col-sm-3">
44
+ <label class="font_normal_body">组织机构:</label>
45
+ <res-select
46
+ restype='organization'
47
+ :initresid='$parent.$parent.curorgid'
48
+ @res-select="$parent.$parent.getorg"
49
+ is-mul="false"
50
+ ></res-select>
51
+ </div>
52
+ <div class="form-group col-sm-3">
53
+ <label class="font_normal_body">用户编号:</label>
54
+ <input type="text" style="width:60%" class="input_search" placeholder='用户编号' v-model="model.f_userinfo_code"
55
+ v-on:keyup.enter="$parent.$parent.search()"
56
+ condition="u.f_userinfo_code like '%{}%'">
57
+ </div>
58
+ <div class="form-group col-sm-3">
59
+ <label class="font_normal_body">客户电话:</label>
60
+ <input type="text" style="width:60%" class="input_search" placeholder='客户电话' v-model="model.f_phone"
61
+ v-on:keyup.enter="$parent.$parent.search()"
62
+ condition="u.f_phone like '%{}%'">
63
+ </div>
64
+ <div class="form-group col-sm-3">
65
+ <label class="font_normal_body">入户证号:</label>
66
+ <input type="text" style="width:60%" class="input_search" placeholder='入户证号' v-model="model.f_entry_number"
67
+ v-on:keyup.enter="$parent.$parent.search()"
68
+ condition="u.f_entry_number like '%{}%'">
69
+ </div>
70
+ <div class="form-group col-sm-3">
71
+ <label class="font_normal_body">报建类型:</label>
72
+ <v-select
73
+ v-model="model.f_apply_type"
74
+ placeholder='报建类型'
75
+ condition="f_apply_type = '{}'"
76
+ :value.sync="model.f_apply_type"
77
+ :options='$parent.$parent.applytype'
78
+ class="select select_list"
79
+ :value-single="true"
80
+ close-on-select ></v-select>
81
+ </div>
82
+ <div class="form-group col-sm-3">
83
+ <label class="font_normal_body">办理环节:</label>
84
+ <v-select
85
+ v-model="model.defname"
86
+ placeholder='办理环节'
87
+ condition="defname = '{}'"
88
+ :value.sync="model.defname"
89
+ :options='$parent.$parent.defnames'
90
+ class="select select_list"
91
+ :value-single="true"
92
+ close-on-select ></v-select>
93
+ </div>
94
+ <div class="form-group col-sm-3">
95
+ <label class="font_normal_body">报建性质:</label>
96
+ <v-select
97
+ v-model="model.f_apply_nature"
98
+ placeholder='报建性质'
99
+ condition="f_apply_nature = '{}'"
100
+ :value.sync="model.f_apply_nature"
101
+ :options='$parent.$parent.applyNatures'
102
+ class="select select_list"
103
+ :value-single="true"
104
+ close-on-select ></v-select>
105
+ </div>
106
+ <div class="form-group col-sm-3">
107
+ <label for="startDate" class="font_normal_body">开始时间:</label>
108
+ <datepicker id="startDate" placeholder="开始日期"
109
+ style="width: 60%!important;"
110
+ v-model="model.startDate"
111
+ :value.sync="model.startDate"
112
+ :format="'yyyy-MM-dd 00:00:00'"
113
+ :show-reset-button="true"
114
+ condition="f_apply_date >= '{}'">
115
+ </datepicker>
116
+ </div>
117
+ <div class="form-group col-sm-3">
118
+ <label for="endDate" class="font_normal_body">结束时间:</label>
119
+ <datepicker id="endDate" placeholder="结束日期"
120
+ style="width: 60%!important;"
121
+ v-model="model.endDate"
122
+ :value.sync="model.endDate"
123
+ :format="'yyyy-MM-dd 23:59:59'"
124
+ :show-reset-button="true"
125
+ condition="f_apply_date <= '{}'">
126
+ </datepicker>
127
+ </div>
128
+ <div class="form-group col-sm-3">
129
+ <label class="font_normal_body">客户类型:</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-3">
141
+ <label class="font_normal_body">行业:</label>
142
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_industry"
143
+ v-on:keyup.enter="$parent.$parent.search()" condition="f_industry like '%{}%'" placeholder='行业'>
144
+ </div>
145
+ <div class="form-group col-sm-3">
146
+ <label class="font_normal_body">办理角色(办理人):</label>
147
+ <input type="text" style="width:60%" class="input_search" v-model="model.operator"
148
+ v-on:keyup.enter="$parent.$parent.search()" condition="operator like '%{}%'" placeholder='办理角色(办理人)'>
149
+ </div>
150
+ <div class="form-group col-sm-3">
151
+ <label class="font_normal_body">用气性质:</label>
152
+ <v-select
153
+ v-model="model.f_gas_nature"
154
+ placeholder='用气性质'
155
+ condition="f_gas_nature = '{}'"
156
+ :value.sync="model.f_gas_nature"
157
+ :options='$parent.$parent.gasNatures'
158
+ class="select select_list"
159
+ :value-single="true"
160
+ close-on-select ></v-select>
161
+ </div>
162
+ <div class="form-group col-sm-3">
163
+ <label class="font_normal_body">流程状态:</label>
164
+ <v-select
165
+ v-model="model.f_sub_state"
166
+ placeholder='流程状态'
167
+ condition="f_sub_state = '{}'"
168
+ :value.sync="model.f_sub_state"
169
+ :options='$parent.$parent.subStates'
170
+ class="select select_list"
171
+ :value-single="true"
172
+ close-on-select ></v-select>
173
+ </div>
174
+ <div class="form-group col-sm-3">
175
+ <label class="font_normal_body">来源:</label>
176
+ <v-select
177
+ v-model="model.f_apply_source"
178
+ placeholder='来源'
179
+ condition="f_apply_source = '{}'"
180
+ :value.sync="model.f_apply_source"
181
+ :options='$parent.$parent.applysources'
182
+ class="select select_list"
183
+ :value-single="true"
184
+ close-on-select ></v-select>
185
+ </div>
186
+ <div class="form-group col-sm-3">
187
+ <label class="font_normal_body">备注:</label>
188
+ <input type="text"
189
+ style="width:60%"
190
+ class="input_search"
191
+ v-model="model.f_apply_remarks"
192
+ v-on:keyup.enter="$parent.$parent.search()"
193
+ condition="f_apply_remarks like '%{}%'" placeholder='备注'>
194
+ </div>
195
+ </div>
196
+ </div>
197
+ </criteria>
198
+ <data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
199
+ <template partial='head'>
200
+ <tr class="title">
201
+ <th style="white-space: nowrap;">序号</th>
202
+ <th style="white-space: nowrap;">工程编号</th>
203
+ <th style="white-space: nowrap;">客户编号</th>
204
+ <th style="white-space: nowrap;">客户名称</th>
205
+ <th style="white-space: nowrap;">地址</th>
206
+ <th style="white-space: nowrap;">电话</th>
207
+ <th style="white-space: nowrap;">入户证号</th>
208
+ <th style="white-space: nowrap;">来源</th>
209
+ <th style="white-space: nowrap;">报建类型</th>
210
+ <th style="white-space: nowrap;">报建性质</th>
211
+ <th style="white-space: nowrap;">办理环节</th>
212
+ <th style="white-space: nowrap;">办理角色(办理人)</th>
213
+ <th style="white-space: nowrap;">流程状态</th>
214
+ <th style="white-space: nowrap;">报建日期</th>
215
+ <th style="white-space: nowrap;">备注</th>
216
+ </tr>
217
+ </template>
218
+ <template partial='body'>
219
+ <tr>
220
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
221
+ <nobr>{{$index+1}}</nobr>
222
+ </td>
223
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
224
+ <nobr>{{row.f_apply_num}}</nobr>
225
+ </td>
226
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
227
+ <nobr>{{row.f_userinfo_code}}</nobr>
228
+ </td>
229
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
230
+ <nobr>{{row.f_user_name}}</nobr>
231
+ </td>
232
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
233
+ <nobr>{{row.f_address}}</nobr>
234
+ </td>
235
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
236
+ <nobr>{{row.f_phone}}</nobr>
237
+ </td>
238
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
239
+ <nobr>{{row.f_entry_number}}</nobr>
240
+ </td>
241
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
242
+ <nobr>{{row.f_apply_source}}</nobr>
243
+ </td>
244
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
245
+ <nobr>{{row.f_apply_type}}</nobr>
246
+ </td>
247
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
248
+ <nobr>{{row.f_apply_nature}}</nobr>
249
+ </td>
250
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
251
+ <nobr>{{row.defname}}</nobr>
252
+ </td>
253
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
254
+ <nobr>{{row.operator}}</nobr>
255
+ </td>
256
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
257
+ <nobr>{{row.f_sub_state}}</nobr>
258
+ </td>
259
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
260
+ <nobr>{{row.f_apply_date}}</nobr>
261
+ </td>
262
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
263
+ <nobr>{{row.f_apply_remarks}}</nobr>
264
+ </td>
265
+ </tr>
266
+ </template>
267
+ </data-grid>
268
+ </criteria-paged>
269
+ </div>
270
+ </template>
271
+ <script>
272
+ import {HttpResetClass, PagedList} from 'vue-client'
273
+ import {isEmpty} from '../../../components/Util'
274
+ export default {
275
+ title: '流程监控',
276
+ props: ['showData'],
277
+ data () {
278
+ return {
279
+ model: new PagedList('rs/sql/supervisory', 20, {
280
+ data: {
281
+ orgid: this.$login.f.orgid
282
+ }
283
+ }),
284
+ orgid:'',
285
+ curorgid: [this.$login.f.orgid],
286
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
287
+ applysources: this.$appdata.getParam('报建来源')?[{label: '全部', value: ''}, ...this.$appdata.getParam('报建来源')]:[{label: '全部', value: ''}],
288
+ defnames: this.$appdata.getParam('报建明细-办理环节')?[{label: '全部', value: ''}, ...this.$appdata.getParam('报建明细-办理环节')]:[{label: '全部', value: ''}], // 流程节点
289
+ usertype: [{label: '全部', value: ''},{label: '民用', value: '民用'},{label: '非民用', value: '非民用'}],//客户类型
290
+ applyNatures: [{label: '全部', value: ''},...this.$appdata.getParam('报建性质')], // 报建性质
291
+ gasNatures: [
292
+ {label: '全部',value: ''},
293
+ ...this.$appdata.getParam('用气性质')
294
+ ],
295
+ criteriaShow: false,
296
+ subStates: [
297
+ {label: '全部', value: ''},
298
+ {label: '新增', value: '新增'},
299
+ {label: '暂停', value: '暂停'},
300
+ {label: '终止', value: '终止'},
301
+ {label: '完工', value: '完工'},
302
+ {label: '正在进行', value: '正在进行'}
303
+ ], // 流程状态
304
+ lyStates: [
305
+ {label: '全部', value: ''},
306
+ {label: '已领', value: '已领'},
307
+ {label: '未领', value: '未领'}
308
+
309
+ ],
310
+ // 流程状态
311
+ getfield: {
312
+ 'f_apply_num': '工程编号',
313
+ 'f_userinfo_code': '客户编号',
314
+ 'f_user_name': '客户名称',
315
+ 'f_address': '地址',
316
+ 'f_phone': '电话',
317
+ 'f_entry_number': '入户证号',
318
+ 'f_apply_source': '来源',
319
+ 'f_apply_type': '报建类型',
320
+ 'defname': '办理环节',
321
+ 'operator': '办理角色(办理人)',
322
+ 'f_sub_state': '流程状态',
323
+ 'f_apply_date': '报建日期',
324
+ 'f_apply_remarks': '备注'
325
+ }
326
+ }
327
+ },
328
+ ready () {
329
+ // 调用查询
330
+ this.search()
331
+ },
332
+ events: {
333
+ },
334
+ methods: {
335
+ loadPage () {
336
+ this.$dispatch('loadPage')
337
+ },
338
+ // 查询
339
+ search () {
340
+ this.$dispatch('search')
341
+ },
342
+ check (val) {
343
+ let http = new HttpResetClass()
344
+ let data = {
345
+ tablename: 'activityins',
346
+ condition: `processid = '${val.f_process_id}' order by id `
347
+ }
348
+ http.load('post','rs/sql/apply_singleTable',{data:data},{resolveMsg:null,rejectMsg:null}).then(res=>{
349
+ val.actid = res.data[0].id
350
+ val.defname = res.data[0].defname
351
+ this.$dispatch('apply', val)
352
+ })
353
+
354
+ },
355
+ async applyTypeChange () {
356
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
357
+ let res = await this.$resetpost('rs/logic/getDefnameByType',
358
+ { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
359
+ {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
360
+ )
361
+
362
+ this.defnames = [{label: '全部', value: ''}, ...res.data]
363
+
364
+ 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}性质`)]
365
+ } else {
366
+ this.defnames = [{label: '全部', value: ''}]
367
+ this.applyNatures = [{label: '全部', value: ''}]
368
+ }
369
+ },
370
+ clear () {
371
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
372
+ this.$refs.cp.$refs.cri.model[key] = null
373
+ })
374
+ },
375
+ getorg (val) {
376
+ if (val.length <= 0) {
377
+ return
378
+ }
379
+ this.model.params.data.orgid = val[0]
380
+ this.orgid= val[0]
381
+ }
382
+ },
383
+ computed: {
384
+ getCondition () {
385
+ return {
386
+ condition: this.model.condition,
387
+ data: {
388
+ orgid: this.orgid
389
+ }
390
+ }
391
+ }
392
+ }
393
+ }
394
+ </script>
395
+ <style scoped>
396
+ </style>