apply-clients 3.5.1 → 3.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 (44) hide show
  1. package/build/dev-server.js +142 -133
  2. package/package.json +118 -118
  3. package/src/App.vue +26 -21
  4. package/src/applyAndroid.js +58 -58
  5. package/src/components/android/AppSign.vue +152 -152
  6. package/src/components/android/AppTakePic.vue +181 -181
  7. package/src/components/android/Process/AppChargeList.vue +224 -224
  8. package/src/components/android/Process/AppExplorationUser.vue +508 -508
  9. package/src/components/product/Install/ContractCharge.vue +210 -210
  10. package/src/filiale/fugou/android/AppChargeManagement.vue +625 -625
  11. package/src/filiale/hongda/pc/FunctionServiceControl.vue +526 -525
  12. package/src/filiale/qianneng/android/AppExplorationUser.vue +441 -441
  13. package/src/filiale/qianneng/android/AppServiceControl.vue +1608 -1608
  14. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +685 -685
  15. package/src/filiale/qianneng/pc/ExplorationSelect.vue +492 -492
  16. package/src/filiale/qianneng/pc/FunctionServiceControl.vue +521 -521
  17. package/src/filiale/qianneng/pc/InstallInfoSelect.vue +392 -392
  18. package/src/filiale/qianneng/pc/InstallationDetails.vue +561 -561
  19. package/src/filiale/qianneng/pc/ServiceControl.vue +1351 -1340
  20. package/src/filiale/qianneng/pc/SupervisoryList.vue +344 -344
  21. package/src/filiale/qianneng/pc/SupervisoryServiceControl.vue +871 -871
  22. package/src/filiale/qianneng/pc/chargeManagement.vue +656 -656
  23. package/src/filiale/qianneng/pc/printactivatecard.vue +295 -295
  24. package/src/filiale/qianneng/pc/supplementalAgreement.vue +344 -344
  25. package/src/filiale/yangchunboneng/android/AppAddMaterialScience.vue +390 -390
  26. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +120 -120
  27. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +552 -552
  28. package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +507 -507
  29. package/src/filiale/yangchunboneng/android/AppInstallationDetails.vue +492 -492
  30. package/src/filiale/yangchunboneng/android/AppOtherChargeManagement.vue +116 -116
  31. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1552 -1552
  32. package/src/filiale/yangchunboneng/android/AppTakePic.vue +181 -181
  33. package/src/filiale/yangchunboneng/android/chargesList.vue +170 -170
  34. package/src/filiale/yangchunboneng/android.js +16 -16
  35. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +496 -496
  36. package/src/filiale/yangchunboneng/pc/InstallationDetails.vue +609 -609
  37. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +1782 -1782
  38. package/src/filiale/yangchunboneng/pc/ServiceView.vue +1005 -1005
  39. package/src/filiale/yangchunboneng/pc/addMaterialScience.vue +374 -374
  40. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +960 -960
  41. package/src/filiale/yangchunboneng/pc/devicesManagement.vue +511 -511
  42. package/src/filiale/yangchunboneng/pc/otherchargeManagement.vue +214 -214
  43. package/src/filiale/yangchunboneng/pc.js +17 -17
  44. package/src/main.js +23 -23
@@ -1,344 +1,344 @@
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
- @change="$parent.$parent.applyTypeChange()"
81
- close-on-select ></v-select>
82
- </div>
83
- <div class="form-group col-sm-3">
84
- <label class="font_normal_body">办理环节:</label>
85
- <v-select
86
- v-model="model.defname"
87
- placeholder='办理环节'
88
- condition="act.defname = '{}'"
89
- :value.sync="model.defname"
90
- :options='$parent.$parent.defnames'
91
- class="select select_list"
92
- :value-single="true"
93
- close-on-select ></v-select>
94
- </div>
95
- <div class="form-group col-sm-3">
96
- <label class="font_normal_body">报建性质:</label>
97
- <v-select
98
- v-model="model.f_apply_nature"
99
- placeholder='报建性质'
100
- condition="f_apply_nature = '{}'"
101
- :value.sync="model.f_apply_nature"
102
- :options='$parent.$parent.applyNatures'
103
- class="select select_list"
104
- :value-single="true"
105
- close-on-select ></v-select>
106
- </div>
107
- <div class="form-group col-sm-3">
108
- <label for="startDate" class="font_normal_body">开始时间:</label>
109
- <datepicker id="startDate" placeholder="开始日期"
110
- style="width: 60%!important;"
111
- v-model="model.startDate"
112
- :value.sync="model.startDate"
113
- :format="'yyyy-MM-dd 00:00:00'"
114
- :show-reset-button="true"
115
- condition="f_apply_date >= '{}'">
116
- </datepicker>
117
- </div>
118
- <div class="form-group col-sm-3">
119
- <label for="endDate" class="font_normal_body">结束时间:</label>
120
- <datepicker id="endDate" placeholder="结束日期"
121
- style="width: 60%!important;"
122
- v-model="model.endDate"
123
- :value.sync="model.endDate"
124
- :format="'yyyy-MM-dd 23:59:59'"
125
- :show-reset-button="true"
126
- condition="f_apply_date <= '{}'">
127
- </datepicker>
128
- </div>
129
- <div class="form-group col-sm-3">
130
- <label class="font_normal_body">客户类型:</label>
131
- <v-select
132
- v-model="model.f_user_type"
133
- placeholder='客户类型'
134
- condition="f_user_type = '{}'"
135
- :value.sync="model.f_user_type"
136
- :options='$parent.$parent.usertype'
137
- class="select select_list"
138
- :value-single="true"
139
- close-on-select ></v-select>
140
- </div>
141
- <div class="form-group col-sm-3">
142
- <label class="font_normal_body">行业:</label>
143
- <input type="text" style="width:60%" class="input_search" v-model="model.f_industry"
144
- v-on:keyup.enter="$parent.$parent.search()" condition="f_industry like '%{}%'" placeholder='行业'>
145
- </div>
146
- <div class="form-group col-sm-3">
147
- <label class="font_normal_body">用气性质:</label>
148
- <v-select
149
- v-model="model.f_gas_nature"
150
- placeholder='用气性质'
151
- condition="f_gas_nature = '{}'"
152
- :value.sync="model.f_gas_nature"
153
- :options='$parent.$parent.gasNatures'
154
- class="select select_list"
155
- :value-single="true"
156
- close-on-select ></v-select>
157
- </div>
158
- </div>
159
- </div>
160
- </criteria>
161
- <data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
162
- <template partial='head'>
163
- <tr class="title">
164
- <th style="white-space: nowrap;">序号</th>
165
- <th style="white-space: nowrap;">工程编号</th>
166
- <th style="white-space: nowrap;">客户编号</th>
167
- <th style="white-space: nowrap;">客户名称</th>
168
- <th style="white-space: nowrap;">地址</th>
169
- <th style="white-space: nowrap;">电话</th>
170
- <th style="white-space: nowrap;">入户证号</th>
171
- <th style="white-space: nowrap;">来源</th>
172
- <th style="white-space: nowrap;">报建类型</th>
173
- <th style="white-space: nowrap;">办理环节</th>
174
- <th style="white-space: nowrap;">流程状态</th>
175
- <th style="white-space: nowrap;">报建日期</th>
176
- </tr>
177
- </template>
178
- <template partial='body'>
179
- <tr>
180
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
181
- <nobr>{{$index+1}}</nobr>
182
- </td>
183
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
184
- <nobr>{{row.f_apply_num}}</nobr>
185
- </td>
186
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
187
- <nobr>{{row.f_userinfo_code}}</nobr>
188
- </td>
189
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
190
- <nobr>{{row.f_user_name}}</nobr>
191
- </td>
192
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
193
- <nobr>{{row.f_address}}</nobr>
194
- </td>
195
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
196
- <nobr>{{row.f_phone}}</nobr>
197
- </td>
198
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
199
- <nobr>{{row.f_entry_number}}</nobr>
200
- </td>
201
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
202
- <nobr>{{row.f_apply_source}}</nobr>
203
- </td>
204
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
205
- <nobr>{{row.f_apply_type}}</nobr>
206
- </td>
207
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
208
- <nobr>{{row.defname}}</nobr>
209
- </td>
210
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
211
- <nobr>{{row.f_sub_state}}</nobr>
212
- </td>
213
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
214
- <nobr>{{row.f_apply_date}}</nobr>
215
- </td>
216
- </tr>
217
- </template>
218
- </data-grid>
219
- </criteria-paged>
220
- </div>
221
- </template>
222
- <script>
223
- import {HttpResetClass, PagedList} from 'vue-client'
224
- import {isEmpty} from '../../../components/Util'
225
- export default {
226
- title: '流程监控',
227
- props: ['showData'],
228
- data () {
229
- return {
230
- model: new PagedList('rs/sql/supervisory', 20, {
231
- data: {
232
- orgid: this.$login.f.orgid
233
- }
234
- }),
235
- orgid:'',
236
- curorgid: [this.$login.f.orgid],
237
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
238
- defnames: [{label: '全部', value: ''}], // 流程节点
239
- usertype: [{label: '全部', value: ''},{label: '民用', value: '民用'},{label: '非民用', value: '非民用'}],//客户类型
240
- applyNatures: [{label: '全部', value: ''}], // 报建性质
241
- gasNatures: [
242
- {label: '全部',value: ''},
243
- ...this.$appdata.getParam('用气性质')
244
- ],
245
- criteriaShow: false,
246
- subStates: [
247
- {label: '全部', value: ''},
248
- {label: '新增', value: '新增'},
249
- {label: '暂停', value: '暂停'},
250
- {label: '终止', value: '终止'},
251
- {label: '完工', value: '完工'},
252
- {label: '正在进行', value: '正在进行'}
253
- ], // 流程状态
254
- lyStates: [
255
- {label: '全部', value: ''},
256
- {label: '已领', value: '已领'},
257
- {label: '未领', value: '未领'}
258
-
259
- ],
260
- // 流程状态
261
- getfield: {
262
- 'f_apply_num': '工程编号',
263
- 'f_userinfo_code': '客户编号',
264
- 'f_user_name': '客户名称',
265
- 'f_address': '地址',
266
- 'f_phone': '电话',
267
- 'f_entry_number': '入户证号',
268
- 'f_apply_source': '来源',
269
- 'f_apply_type': '报建类型',
270
- 'defname': '办理环节',
271
- 'f_sub_state': '流程状态',
272
- 'f_apply_date': '报建日期'
273
- }
274
- }
275
- },
276
- ready () {
277
- // 调用查询
278
- this.search()
279
- },
280
- events: {
281
- },
282
- methods: {
283
- loadPage () {
284
- this.$dispatch('loadPage')
285
- },
286
- // 查询
287
- search () {
288
- this.$dispatch('search')
289
- },
290
- check (val) {
291
- let http = new HttpResetClass()
292
- let data = {
293
- tablename: 'activityins',
294
- condition: `processid = '${val.f_process_id}' order by id `
295
- }
296
- http.load('post','rs/sql/apply_singleTable',{data:data},{resolveMsg:null,rejectMsg:null}).then(res=>{
297
- val.actid = res.data[0].id
298
- val.defname = res.data[0].defname
299
- this.$dispatch('apply', val)
300
- })
301
-
302
- },
303
- async applyTypeChange () {
304
- if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
305
- let res = await this.$resetpost('rs/logic/getDefnameByType',
306
- { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
307
- {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
308
- )
309
-
310
- this.defnames = [{label: '全部', value: ''}, ...res.data]
311
-
312
- 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}性质`)]
313
- } else {
314
- this.defnames = [{label: '全部', value: ''}]
315
- this.applyNatures = [{label: '全部', value: ''}]
316
- }
317
- },
318
- clear () {
319
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
320
- this.$refs.cp.$refs.cri.model[key] = null
321
- })
322
- },
323
- getorg (val) {
324
- if (val.length <= 0) {
325
- return
326
- }
327
- this.model.params.data.orgid = val[0]
328
- this.orgid= val[0]
329
- }
330
- },
331
- computed: {
332
- getCondition () {
333
- return {
334
- condition: this.model.condition,
335
- data: {
336
- orgid: this.orgid
337
- }
338
- }
339
- }
340
- }
341
- }
342
- </script>
343
- <style scoped>
344
- </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
+ @change="$parent.$parent.applyTypeChange()"
81
+ close-on-select ></v-select>
82
+ </div>
83
+ <div class="form-group col-sm-3">
84
+ <label class="font_normal_body">办理环节:</label>
85
+ <v-select
86
+ v-model="model.defname"
87
+ placeholder='办理环节'
88
+ condition="act.defname = '{}'"
89
+ :value.sync="model.defname"
90
+ :options='$parent.$parent.defnames'
91
+ class="select select_list"
92
+ :value-single="true"
93
+ close-on-select ></v-select>
94
+ </div>
95
+ <div class="form-group col-sm-3">
96
+ <label class="font_normal_body">报建性质:</label>
97
+ <v-select
98
+ v-model="model.f_apply_nature"
99
+ placeholder='报建性质'
100
+ condition="f_apply_nature = '{}'"
101
+ :value.sync="model.f_apply_nature"
102
+ :options='$parent.$parent.applyNatures'
103
+ class="select select_list"
104
+ :value-single="true"
105
+ close-on-select ></v-select>
106
+ </div>
107
+ <div class="form-group col-sm-3">
108
+ <label for="startDate" class="font_normal_body">开始时间:</label>
109
+ <datepicker id="startDate" placeholder="开始日期"
110
+ style="width: 60%!important;"
111
+ v-model="model.startDate"
112
+ :value.sync="model.startDate"
113
+ :format="'yyyy-MM-dd 00:00:00'"
114
+ :show-reset-button="true"
115
+ condition="f_apply_date >= '{}'">
116
+ </datepicker>
117
+ </div>
118
+ <div class="form-group col-sm-3">
119
+ <label for="endDate" class="font_normal_body">结束时间:</label>
120
+ <datepicker id="endDate" placeholder="结束日期"
121
+ style="width: 60%!important;"
122
+ v-model="model.endDate"
123
+ :value.sync="model.endDate"
124
+ :format="'yyyy-MM-dd 23:59:59'"
125
+ :show-reset-button="true"
126
+ condition="f_apply_date <= '{}'">
127
+ </datepicker>
128
+ </div>
129
+ <div class="form-group col-sm-3">
130
+ <label class="font_normal_body">客户类型:</label>
131
+ <v-select
132
+ v-model="model.f_user_type"
133
+ placeholder='客户类型'
134
+ condition="f_user_type = '{}'"
135
+ :value.sync="model.f_user_type"
136
+ :options='$parent.$parent.usertype'
137
+ class="select select_list"
138
+ :value-single="true"
139
+ close-on-select ></v-select>
140
+ </div>
141
+ <div class="form-group col-sm-3">
142
+ <label class="font_normal_body">行业:</label>
143
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_industry"
144
+ v-on:keyup.enter="$parent.$parent.search()" condition="f_industry like '%{}%'" placeholder='行业'>
145
+ </div>
146
+ <div class="form-group col-sm-3">
147
+ <label class="font_normal_body">用气性质:</label>
148
+ <v-select
149
+ v-model="model.f_gas_nature"
150
+ placeholder='用气性质'
151
+ condition="f_gas_nature = '{}'"
152
+ :value.sync="model.f_gas_nature"
153
+ :options='$parent.$parent.gasNatures'
154
+ class="select select_list"
155
+ :value-single="true"
156
+ close-on-select ></v-select>
157
+ </div>
158
+ </div>
159
+ </div>
160
+ </criteria>
161
+ <data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
162
+ <template partial='head'>
163
+ <tr class="title">
164
+ <th style="white-space: nowrap;">序号</th>
165
+ <th style="white-space: nowrap;">工程编号</th>
166
+ <th style="white-space: nowrap;">客户编号</th>
167
+ <th style="white-space: nowrap;">客户名称</th>
168
+ <th style="white-space: nowrap;">地址</th>
169
+ <th style="white-space: nowrap;">电话</th>
170
+ <th style="white-space: nowrap;">入户证号</th>
171
+ <th style="white-space: nowrap;">来源</th>
172
+ <th style="white-space: nowrap;">报建类型</th>
173
+ <th style="white-space: nowrap;">办理环节</th>
174
+ <th style="white-space: nowrap;">流程状态</th>
175
+ <th style="white-space: nowrap;">报建日期</th>
176
+ </tr>
177
+ </template>
178
+ <template partial='body'>
179
+ <tr>
180
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
181
+ <nobr>{{$index+1}}</nobr>
182
+ </td>
183
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
184
+ <nobr>{{row.f_apply_num}}</nobr>
185
+ </td>
186
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
187
+ <nobr>{{row.f_userinfo_code}}</nobr>
188
+ </td>
189
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
190
+ <nobr>{{row.f_user_name}}</nobr>
191
+ </td>
192
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
193
+ <nobr>{{row.f_address}}</nobr>
194
+ </td>
195
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
196
+ <nobr>{{row.f_phone}}</nobr>
197
+ </td>
198
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
199
+ <nobr>{{row.f_entry_number}}</nobr>
200
+ </td>
201
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
202
+ <nobr>{{row.f_apply_source}}</nobr>
203
+ </td>
204
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
205
+ <nobr>{{row.f_apply_type}}</nobr>
206
+ </td>
207
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
208
+ <nobr>{{row.defname}}</nobr>
209
+ </td>
210
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
211
+ <nobr>{{row.f_sub_state}}</nobr>
212
+ </td>
213
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
214
+ <nobr>{{row.f_apply_date}}</nobr>
215
+ </td>
216
+ </tr>
217
+ </template>
218
+ </data-grid>
219
+ </criteria-paged>
220
+ </div>
221
+ </template>
222
+ <script>
223
+ import {HttpResetClass, PagedList} from 'vue-client'
224
+ import {isEmpty} from '../../../components/Util'
225
+ export default {
226
+ title: '流程监控',
227
+ props: ['showData'],
228
+ data () {
229
+ return {
230
+ model: new PagedList('rs/sql/supervisory', 20, {
231
+ data: {
232
+ orgid: this.$login.f.orgid
233
+ }
234
+ }),
235
+ orgid:'',
236
+ curorgid: [this.$login.f.orgid],
237
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
238
+ defnames: [{label: '全部', value: ''}], // 流程节点
239
+ usertype: [{label: '全部', value: ''},{label: '民用', value: '民用'},{label: '非民用', value: '非民用'}],//客户类型
240
+ applyNatures: [{label: '全部', value: ''}], // 报建性质
241
+ gasNatures: [
242
+ {label: '全部',value: ''},
243
+ ...this.$appdata.getParam('用气性质')
244
+ ],
245
+ criteriaShow: false,
246
+ subStates: [
247
+ {label: '全部', value: ''},
248
+ {label: '新增', value: '新增'},
249
+ {label: '暂停', value: '暂停'},
250
+ {label: '终止', value: '终止'},
251
+ {label: '完工', value: '完工'},
252
+ {label: '正在进行', value: '正在进行'}
253
+ ], // 流程状态
254
+ lyStates: [
255
+ {label: '全部', value: ''},
256
+ {label: '已领', value: '已领'},
257
+ {label: '未领', value: '未领'}
258
+
259
+ ],
260
+ // 流程状态
261
+ getfield: {
262
+ 'f_apply_num': '工程编号',
263
+ 'f_userinfo_code': '客户编号',
264
+ 'f_user_name': '客户名称',
265
+ 'f_address': '地址',
266
+ 'f_phone': '电话',
267
+ 'f_entry_number': '入户证号',
268
+ 'f_apply_source': '来源',
269
+ 'f_apply_type': '报建类型',
270
+ 'defname': '办理环节',
271
+ 'f_sub_state': '流程状态',
272
+ 'f_apply_date': '报建日期'
273
+ }
274
+ }
275
+ },
276
+ ready () {
277
+ // 调用查询
278
+ this.search()
279
+ },
280
+ events: {
281
+ },
282
+ methods: {
283
+ loadPage () {
284
+ this.$dispatch('loadPage')
285
+ },
286
+ // 查询
287
+ search () {
288
+ this.$dispatch('search')
289
+ },
290
+ check (val) {
291
+ let http = new HttpResetClass()
292
+ let data = {
293
+ tablename: 'activityins',
294
+ condition: `processid = '${val.f_process_id}' order by id `
295
+ }
296
+ http.load('post','rs/sql/apply_singleTable',{data:data},{resolveMsg:null,rejectMsg:null}).then(res=>{
297
+ val.actid = res.data[0].id
298
+ val.defname = res.data[0].defname
299
+ this.$dispatch('apply', val)
300
+ })
301
+
302
+ },
303
+ async applyTypeChange () {
304
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
305
+ let res = await this.$resetpost('rs/logic/getDefnameByType',
306
+ { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
307
+ {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
308
+ )
309
+
310
+ this.defnames = [{label: '全部', value: ''}, ...res.data]
311
+
312
+ 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}性质`)]
313
+ } else {
314
+ this.defnames = [{label: '全部', value: ''}]
315
+ this.applyNatures = [{label: '全部', value: ''}]
316
+ }
317
+ },
318
+ clear () {
319
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
320
+ this.$refs.cp.$refs.cri.model[key] = null
321
+ })
322
+ },
323
+ getorg (val) {
324
+ if (val.length <= 0) {
325
+ return
326
+ }
327
+ this.model.params.data.orgid = val[0]
328
+ this.orgid= val[0]
329
+ }
330
+ },
331
+ computed: {
332
+ getCondition () {
333
+ return {
334
+ condition: this.model.condition,
335
+ data: {
336
+ orgid: this.orgid
337
+ }
338
+ }
339
+ }
340
+ }
341
+ }
342
+ </script>
343
+ <style scoped>
344
+ </style>