apply-clients 3.5.4-95 → 3.5.4-97

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 (39) hide show
  1. package/build/dev-server.js +9 -7
  2. package/package.json +1 -1
  3. package/src/App.vue +25 -25
  4. package/src/apply.js +139 -139
  5. package/src/components/android/AppCheckTakePic.vue +168 -168
  6. package/src/components/android/Process/AppExplorationUser.vue +508 -508
  7. package/src/components/android/Process/AppServiceControl.vue +1755 -1755
  8. package/src/components/product/PcZhihuanManagement.vue +160 -160
  9. package/src/components/product/Print/BuildOrder/buildOrderList.vue +339 -339
  10. package/src/components/product/Process/Processes/selectApply.vue +251 -251
  11. package/src/components/product/Process/Processes/selectBcakApply.vue +250 -250
  12. package/src/filiale/ancheng/android/AppSign.vue +149 -149
  13. package/src/filiale/ancheng/android/AppTakePic.vue +143 -143
  14. package/src/filiale/ancheng/android.js +7 -7
  15. package/src/filiale/fugou/android/AppAddReplacement.vue +341 -341
  16. package/src/filiale/fugou/android/AppChargeManagement.vue +739 -739
  17. package/src/filiale/fugou/android/AppZhihuanManagement.vue +230 -230
  18. package/src/filiale/fugou/pc/AddReplacement.vue +340 -340
  19. package/src/filiale/fugou/pc/ApplyChargeList.vue +480 -480
  20. package/src/filiale/fugou/pc/addMaterialScience.vue +481 -481
  21. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +216 -216
  22. package/src/filiale/fugou/pc/chargeReport.vue +143 -143
  23. package/src/filiale/fugou/pc.js +16 -16
  24. package/src/filiale/hongda/pc/ApplyDetailsList.vue +329 -329
  25. package/src/filiale/qianneng/android/AppServiceView.vue +795 -795
  26. package/src/filiale/qianneng/pc/ApplyChargeList.vue +639 -625
  27. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +769 -704
  28. package/src/filiale/qianneng/pc/Applydetail.vue +417 -378
  29. package/src/filiale/qianneng/pc/InstallInfoSelect.vue +434 -391
  30. package/src/filiale/qianneng/pc/ServiceControl.vue +1382 -1384
  31. package/src/filiale/qianneng/pc/StopApplyList.vue +334 -290
  32. package/src/filiale/qianneng/pc/SupervisoryList.vue +396 -382
  33. package/src/filiale/qianneng/pc/chargeManagement.vue +813 -810
  34. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +2 -2
  35. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +1 -1
  36. package/src/main.js +23 -22
  37. package/src/test/SessionTestServlet.java +0 -69
  38. package/webapp/WEB-INF/web.xml +0 -52
  39. package/webapp/session-test.jsp +0 -59
@@ -1,329 +1,329 @@
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
- <v-select
10
- v-model="model.f_apply_type"
11
- placeholder='报建类型'
12
- condition="f_apply_type = '{}'"
13
- :value.sync="model.f_apply_type"
14
- :options='$parent.$parent.applytype'
15
- class="select select_list"
16
- :value-single="true"
17
- @change="$parent.$parent.applyTypeChange()"
18
- close-on-select ></v-select>
19
- </div>
20
- <div class="form-group col-sm-3">
21
- <label class="font_normal_body">办理环节:</label>
22
- <v-select
23
- v-model="model.defname"
24
- placeholder='办理环节'
25
- condition="defname = '{}'"
26
- :value.sync="model.defname"
27
- :options='$parent.$parent.defnames'
28
- class="select select_list"
29
- :value-single="true"
30
- close-on-select ></v-select>
31
- </div>
32
- <div class="form-group col-sm-3">
33
- <label class="font_normal_body">当前状态:</label>
34
- <v-select
35
- v-model="model.state"
36
- placeholder='当前状态'
37
- condition="state = '{}'"
38
- :value.sync="model.state"
39
- :options='$parent.$parent.states'
40
- class="select select_list"
41
- :value-single="true"
42
- close-on-select ></v-select>
43
- </div>
44
- <div class="form-group col-sm-3">
45
- <label class="font_normal_body">办理人:</label>
46
- <input type="text" style="width:60%" class="input_search" v-model="model.person"
47
- v-on:keyup.enter="$parent.$parent.search()" condition="person like '%{}%'" placeholder='办理人'>
48
- </div>
49
- <div class="form-group col-sm-3">
50
- <label for="startDate" class="font_normal_body">办理时间:</label>
51
- <datepicker id="startDate" placeholder="开始日期"
52
- style="width: 60%!important;"
53
- v-model="model.startDate"
54
- :value.sync="model.startDate"
55
- :format="'yyyy-MM-dd 00:00:00'"
56
- :show-reset-button="true"
57
- condition="finishtime >= '{}'">
58
- </datepicker>
59
- </div>
60
- <div class="form-group col-sm-3" v-show="$parent.$parent.criteriaShow">
61
- <label for="endDate" class="font_normal_body">办理时间:</label>
62
- <datepicker id="endDate" placeholder="结束日期"
63
- style="width: 60%!important;"
64
- v-model="model.endDate"
65
- :value.sync="model.endDate"
66
- :format="'yyyy-MM-dd 23:59:59'"
67
- :show-reset-button="true"
68
- condition="finishtime <= '{}'">
69
- </datepicker>
70
- </div>
71
- <div class="form-group col-sm-3">
72
- <label class="font_normal_body">下发人:</label>
73
- <input type="text" style="width:60%" class="input_search" v-model="model.sender"
74
- v-on:keyup.enter="$parent.$parent.search()" condition="sender like '%{}%'" placeholder='下发人'>
75
- </div>
76
- <div class="form-group col-sm-3" v-show="$parent.$parent.criteriaShow">
77
- <label for="startDate" class="font_normal_body">下发时间:</label>
78
- <datepicker id="startDate" placeholder="开始日期"
79
- style="width: 60%!important;"
80
- v-model="model.starttime"
81
- :value.sync="model.starttime"
82
- :format="'yyyy-MM-dd 00:00:00'"
83
- :show-reset-button="true"
84
- condition="sendtime >= '{}'">
85
- </datepicker>
86
- </div>
87
- <div class="form-group col-sm-3" v-show="$parent.$parent.criteriaShow">
88
- <label for="endDate" class="font_normal_body">下发时间:</label>
89
- <datepicker id="endDate" placeholder="结束日期"
90
- style="width: 60%!important;"
91
- v-model="model.endtime"
92
- :value.sync="model.endtime"
93
- :format="'yyyy-MM-dd 23:59:59'"
94
- :show-reset-button="true"
95
- condition="sendtime<= '{}'">
96
- </datepicker>
97
- </div>
98
- <div class="form-group col-sm-2 button-range">
99
- <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
100
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
101
- <export-excel :data="$parent.$parent.getCondition"
102
- :field="$parent.$parent.getfield"
103
- sqlurl="rs/logic/applyExportfile"
104
- sql-name="getApplyDetailsList"
105
- template-name='报建明细导出'
106
- :choose-col="true"></export-excel>
107
- <div
108
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
109
- @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
110
- class="button_spacing"
111
- style="float: right">
112
- </div>
113
- </div>
114
- </div>
115
- <div class="row" v-show="$parent.$parent.criteriaShow">
116
- <div class="form-group col-sm-3">
117
- <label class="font_normal_body">客户名称:</label>
118
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
119
- v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
120
- </div>
121
- <div class="form-group col-sm-3">
122
- <label class="font_normal_body">用户编号:</label>
123
- <input type="text" style="width:60%" class="input_search" placeholder='用户编号' v-model="model.f_userinfo_code"
124
- v-on:keyup.enter="$parent.$parent.search()"
125
- condition="f_userinfo_code like '%{}%'">
126
- </div>
127
- <div class="form-group col-sm-3">
128
- <label class="font_normal_body">联系电话:</label>
129
- <input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
130
- v-on:keyup.enter="search"
131
- condition="f_phone like '%{}%'">
132
- </div>
133
- <div class="form-group col-sm-3">
134
- <label class="font_normal_body">合同编号:</label>
135
- <input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
136
- v-on:keyup.enter="search"
137
- condition="f_contract_number like '%{}%' ">
138
- </div>
139
- <div class="form-group col-sm-3">
140
- <label class="font_normal_body">用气性质:</label>
141
- <input type="text" style="width:60%" class="input_search" placeholder='用气性质' v-model="model.f_gas_nature"
142
- v-on:keyup.enter="search"
143
- condition="f_gas_nature like '%{}%' ">
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" placeholder='表号' v-model="model.f_meternumber"
148
- v-on:keyup.enter="search"
149
- condition="f_meternumber like '%{}%' ">
150
- </div>
151
- <div class="form-group col-sm-3">
152
- <label class="font_normal_body">组织机构:</label>
153
- <res-select
154
- restype='organization'
155
- :initresid='$parent.$parent.curorgid'
156
- @res-select="$parent.$parent.getorg"
157
- is-mul="false"
158
- ></res-select>
159
- </div>
160
- <div class="form-group col-sm-3">
161
- <label class="font_normal_body">报建性质:</label>
162
- <v-select
163
- v-model="model.f_apply_nature"
164
- placeholder='报建性质'
165
- condition="f_apply_nature = '{}'"
166
- :value.sync="model.f_apply_nature"
167
- :options='$parent.$parent.applyNatures'
168
- class="select select_list"
169
- :value-single="true"
170
- close-on-select ></v-select>
171
- </div>
172
- </div>
173
- </div>
174
- </criteria>
175
- <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
176
- <template partial='head'>
177
- <tr>
178
- <th style="white-space: nowrap;">序号</th>
179
- <th style="white-space: nowrap;">客户编号</th>
180
- <th style="white-space: nowrap;">客户名称</th>
181
- <th style="white-space: nowrap;">客户地址</th>
182
- <th style="white-space: nowrap;">客户电话</th>
183
- <th style="white-space: nowrap;">证件号码</th>
184
- <th style="white-space: nowrap;">合同编号</th>
185
- <th style="white-space: nowrap;">用气性质</th>
186
- <th style="white-space: nowrap;">表号</th>
187
- <th style="white-space: nowrap;">办理环节</th>
188
- <th style="white-space: nowrap;">办理人</th>
189
- <th style="white-space: nowrap;">办理时间</th>
190
- <th style="white-space: nowrap;">下发人</th>
191
- <th style="white-space: nowrap;">下发时间</th>
192
- <th style="white-space: nowrap;">当前状态</th>
193
- </tr>
194
- </template>
195
- <template partial='body'>
196
- <tr>
197
- <td style="text-align: center;">
198
- <nobr>{{$index+1}}</nobr>
199
- </td>
200
- <td style="text-align: center;">
201
- <nobr>{{row.f_userinfo_code}}</nobr>
202
- </td>
203
- <td style="text-align: center;">
204
- <nobr>{{row.f_user_name}}</nobr>
205
- </td>
206
- <td style="text-align: center;">
207
- <nobr>{{row.f_address}}</nobr>
208
- </td>
209
- <td style="text-align: center;">
210
- <nobr>{{row.f_phone}}</nobr>
211
- </td>
212
- <td style="text-align: center;">
213
- <nobr>{{row.f_idnumber}}</nobr>
214
- </td>
215
- <td style="text-align: center;">
216
- <nobr>{{row.f_contract_number}}</nobr>
217
- </td>
218
- <td style="text-align: center;">
219
- <nobr>{{row.f_gas_nature}}</nobr>
220
- </td>
221
- <td style="text-align: center;">
222
- <nobr>{{row.f_meternumber}}</nobr>
223
- </td>
224
- <td style="text-align: center;">
225
- <nobr>{{row.defname}}</nobr>
226
- </td>
227
- <td style="text-align: center;">
228
- <nobr>{{row.person}}</nobr>
229
- </td>
230
- <td style="text-align: center;">
231
- <nobr>{{row.finishtime}}</nobr>
232
- </td>
233
- <td style="text-align: center;">
234
- <nobr>{{row.sender}}</nobr>
235
- </td>
236
- <td style="text-align: center;">
237
- <nobr>{{row.sendtime}}</nobr>
238
- </td>
239
- <td style="text-align: center;">
240
- <nobr>{{row.state}}</nobr>
241
- </td>
242
- </tr>
243
- </template>
244
- </data-grid>
245
- </criteria-paged>
246
- </div>
247
- </template>
248
- <script>
249
- import {PagedList} from 'vue-client'
250
- import {isEmpty} from '../../../components/Util'
251
- export default {
252
- title: '报建明细',
253
- data () {
254
- return {
255
- model: new PagedList('rs/sql/getApplyDetailsList', 20, {
256
- data: {
257
- orgid: this.$login.f.orgid
258
- }
259
- }),
260
- curorgid: [this.$login.f.orgid],
261
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
262
- states: [{label: '全部', value: ''}, ...this.$appdata.getParam('当前状态')],
263
- defnames: [{label: '全部', value: ''}], // 流程节点
264
- applyNatures: [{label: '全部', value: ''}], // 报建性质
265
- criteriaShow: false,
266
- getfield: {
267
- 'f_userinfo_code': '用户编号',
268
- 'f_user_name': '用户名称',
269
- 'f_phone': '用户电话',
270
- 'f_address': '用户地址',
271
- 'f_idnumber': '证件号码',
272
- 'f_contract_number': '合同编号',
273
- 'f_gas_nature': '用气性质',
274
- 'f_meternumber': '表号',
275
- 'person': '办理人',
276
- 'defname': '办理环节',
277
- 'finishtime': '办理时间',
278
- }
279
- }
280
- },
281
-
282
- ready () {
283
- // 调用查询
284
- this.search()
285
- },
286
- events: {
287
- },
288
- methods: {
289
- // 查询
290
- search () {
291
- this.$refs.cp.$refs.cri.search()
292
- },
293
- async applyTypeChange () {
294
- if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
295
- let res = await this.$resetpost('rs/logic/getDefnameByType',
296
- { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
297
- {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
298
- )
299
- this.defnames = [{label: '全部', value: ''}, ...res.data]
300
-
301
- 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}性质`)]
302
- } else {
303
- this.defnames = [{label: '全部', value: ''}]
304
- this.applyNatures = [{label: '全部', value: ''}]
305
- }
306
- },
307
- clear () {
308
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
309
- this.$refs.cp.$refs.cri.model[key] = null
310
- })
311
- },
312
- getorg (val) {
313
- if (val.length <= 0) {
314
- return
315
- }
316
- this.model.params.data.orgid = val[0]
317
- }
318
- },
319
- computed: {
320
- getCondition () {
321
- return {
322
- condition: this.model.condition
323
- }
324
- }
325
- }
326
- }
327
- </script>
328
- <style scoped>
329
- </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
+ <v-select
10
+ v-model="model.f_apply_type"
11
+ placeholder='报建类型'
12
+ condition="f_apply_type = '{}'"
13
+ :value.sync="model.f_apply_type"
14
+ :options='$parent.$parent.applytype'
15
+ class="select select_list"
16
+ :value-single="true"
17
+ @change="$parent.$parent.applyTypeChange()"
18
+ close-on-select ></v-select>
19
+ </div>
20
+ <div class="form-group col-sm-3">
21
+ <label class="font_normal_body">办理环节:</label>
22
+ <v-select
23
+ v-model="model.defname"
24
+ placeholder='办理环节'
25
+ condition="defname = '{}'"
26
+ :value.sync="model.defname"
27
+ :options='$parent.$parent.defnames'
28
+ class="select select_list"
29
+ :value-single="true"
30
+ close-on-select ></v-select>
31
+ </div>
32
+ <div class="form-group col-sm-3">
33
+ <label class="font_normal_body">当前状态:</label>
34
+ <v-select
35
+ v-model="model.state"
36
+ placeholder='当前状态'
37
+ condition="state = '{}'"
38
+ :value.sync="model.state"
39
+ :options='$parent.$parent.states'
40
+ class="select select_list"
41
+ :value-single="true"
42
+ close-on-select ></v-select>
43
+ </div>
44
+ <div class="form-group col-sm-3">
45
+ <label class="font_normal_body">办理人:</label>
46
+ <input type="text" style="width:60%" class="input_search" v-model="model.person"
47
+ v-on:keyup.enter="$parent.$parent.search()" condition="person like '%{}%'" placeholder='办理人'>
48
+ </div>
49
+ <div class="form-group col-sm-3">
50
+ <label for="startDate" class="font_normal_body">办理时间:</label>
51
+ <datepicker id="startDate" placeholder="开始日期"
52
+ style="width: 60%!important;"
53
+ v-model="model.startDate"
54
+ :value.sync="model.startDate"
55
+ :format="'yyyy-MM-dd 00:00:00'"
56
+ :show-reset-button="true"
57
+ condition="finishtime >= '{}'">
58
+ </datepicker>
59
+ </div>
60
+ <div class="form-group col-sm-3" v-show="$parent.$parent.criteriaShow">
61
+ <label for="endDate" class="font_normal_body">办理时间:</label>
62
+ <datepicker id="endDate" placeholder="结束日期"
63
+ style="width: 60%!important;"
64
+ v-model="model.endDate"
65
+ :value.sync="model.endDate"
66
+ :format="'yyyy-MM-dd 23:59:59'"
67
+ :show-reset-button="true"
68
+ condition="finishtime <= '{}'">
69
+ </datepicker>
70
+ </div>
71
+ <div class="form-group col-sm-3">
72
+ <label class="font_normal_body">下发人:</label>
73
+ <input type="text" style="width:60%" class="input_search" v-model="model.sender"
74
+ v-on:keyup.enter="$parent.$parent.search()" condition="sender like '%{}%'" placeholder='下发人'>
75
+ </div>
76
+ <div class="form-group col-sm-3" v-show="$parent.$parent.criteriaShow">
77
+ <label for="startDate" class="font_normal_body">下发时间:</label>
78
+ <datepicker id="startDate" placeholder="开始日期"
79
+ style="width: 60%!important;"
80
+ v-model="model.starttime"
81
+ :value.sync="model.starttime"
82
+ :format="'yyyy-MM-dd 00:00:00'"
83
+ :show-reset-button="true"
84
+ condition="sendtime >= '{}'">
85
+ </datepicker>
86
+ </div>
87
+ <div class="form-group col-sm-3" v-show="$parent.$parent.criteriaShow">
88
+ <label for="endDate" class="font_normal_body">下发时间:</label>
89
+ <datepicker id="endDate" placeholder="结束日期"
90
+ style="width: 60%!important;"
91
+ v-model="model.endtime"
92
+ :value.sync="model.endtime"
93
+ :format="'yyyy-MM-dd 23:59:59'"
94
+ :show-reset-button="true"
95
+ condition="sendtime<= '{}'">
96
+ </datepicker>
97
+ </div>
98
+ <div class="form-group col-sm-2 button-range">
99
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
100
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
101
+ <export-excel :data="$parent.$parent.getCondition"
102
+ :field="$parent.$parent.getfield"
103
+ sqlurl="rs/logic/applyExportfile"
104
+ sql-name="getApplyDetailsList"
105
+ template-name='报建明细导出'
106
+ :choose-col="true"></export-excel>
107
+ <div
108
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
109
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
110
+ class="button_spacing"
111
+ style="float: right">
112
+ </div>
113
+ </div>
114
+ </div>
115
+ <div class="row" v-show="$parent.$parent.criteriaShow">
116
+ <div class="form-group col-sm-3">
117
+ <label class="font_normal_body">客户名称:</label>
118
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
119
+ v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
120
+ </div>
121
+ <div class="form-group col-sm-3">
122
+ <label class="font_normal_body">用户编号:</label>
123
+ <input type="text" style="width:60%" class="input_search" placeholder='用户编号' v-model="model.f_userinfo_code"
124
+ v-on:keyup.enter="$parent.$parent.search()"
125
+ condition="f_userinfo_code like '%{}%'">
126
+ </div>
127
+ <div class="form-group col-sm-3">
128
+ <label class="font_normal_body">联系电话:</label>
129
+ <input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
130
+ v-on:keyup.enter="search"
131
+ condition="f_phone like '%{}%'">
132
+ </div>
133
+ <div class="form-group col-sm-3">
134
+ <label class="font_normal_body">合同编号:</label>
135
+ <input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
136
+ v-on:keyup.enter="search"
137
+ condition="f_contract_number like '%{}%' ">
138
+ </div>
139
+ <div class="form-group col-sm-3">
140
+ <label class="font_normal_body">用气性质:</label>
141
+ <input type="text" style="width:60%" class="input_search" placeholder='用气性质' v-model="model.f_gas_nature"
142
+ v-on:keyup.enter="search"
143
+ condition="f_gas_nature like '%{}%' ">
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" placeholder='表号' v-model="model.f_meternumber"
148
+ v-on:keyup.enter="search"
149
+ condition="f_meternumber like '%{}%' ">
150
+ </div>
151
+ <div class="form-group col-sm-3">
152
+ <label class="font_normal_body">组织机构:</label>
153
+ <res-select
154
+ restype='organization'
155
+ :initresid='$parent.$parent.curorgid'
156
+ @res-select="$parent.$parent.getorg"
157
+ is-mul="false"
158
+ ></res-select>
159
+ </div>
160
+ <div class="form-group col-sm-3">
161
+ <label class="font_normal_body">报建性质:</label>
162
+ <v-select
163
+ v-model="model.f_apply_nature"
164
+ placeholder='报建性质'
165
+ condition="f_apply_nature = '{}'"
166
+ :value.sync="model.f_apply_nature"
167
+ :options='$parent.$parent.applyNatures'
168
+ class="select select_list"
169
+ :value-single="true"
170
+ close-on-select ></v-select>
171
+ </div>
172
+ </div>
173
+ </div>
174
+ </criteria>
175
+ <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
176
+ <template partial='head'>
177
+ <tr>
178
+ <th style="white-space: nowrap;">序号</th>
179
+ <th style="white-space: nowrap;">客户编号</th>
180
+ <th style="white-space: nowrap;">客户名称</th>
181
+ <th style="white-space: nowrap;">客户地址</th>
182
+ <th style="white-space: nowrap;">客户电话</th>
183
+ <th style="white-space: nowrap;">证件号码</th>
184
+ <th style="white-space: nowrap;">合同编号</th>
185
+ <th style="white-space: nowrap;">用气性质</th>
186
+ <th style="white-space: nowrap;">表号</th>
187
+ <th style="white-space: nowrap;">办理环节</th>
188
+ <th style="white-space: nowrap;">办理人</th>
189
+ <th style="white-space: nowrap;">办理时间</th>
190
+ <th style="white-space: nowrap;">下发人</th>
191
+ <th style="white-space: nowrap;">下发时间</th>
192
+ <th style="white-space: nowrap;">当前状态</th>
193
+ </tr>
194
+ </template>
195
+ <template partial='body'>
196
+ <tr>
197
+ <td style="text-align: center;">
198
+ <nobr>{{$index+1}}</nobr>
199
+ </td>
200
+ <td style="text-align: center;">
201
+ <nobr>{{row.f_userinfo_code}}</nobr>
202
+ </td>
203
+ <td style="text-align: center;">
204
+ <nobr>{{row.f_user_name}}</nobr>
205
+ </td>
206
+ <td style="text-align: center;">
207
+ <nobr>{{row.f_address}}</nobr>
208
+ </td>
209
+ <td style="text-align: center;">
210
+ <nobr>{{row.f_phone}}</nobr>
211
+ </td>
212
+ <td style="text-align: center;">
213
+ <nobr>{{row.f_idnumber}}</nobr>
214
+ </td>
215
+ <td style="text-align: center;">
216
+ <nobr>{{row.f_contract_number}}</nobr>
217
+ </td>
218
+ <td style="text-align: center;">
219
+ <nobr>{{row.f_gas_nature}}</nobr>
220
+ </td>
221
+ <td style="text-align: center;">
222
+ <nobr>{{row.f_meternumber}}</nobr>
223
+ </td>
224
+ <td style="text-align: center;">
225
+ <nobr>{{row.defname}}</nobr>
226
+ </td>
227
+ <td style="text-align: center;">
228
+ <nobr>{{row.person}}</nobr>
229
+ </td>
230
+ <td style="text-align: center;">
231
+ <nobr>{{row.finishtime}}</nobr>
232
+ </td>
233
+ <td style="text-align: center;">
234
+ <nobr>{{row.sender}}</nobr>
235
+ </td>
236
+ <td style="text-align: center;">
237
+ <nobr>{{row.sendtime}}</nobr>
238
+ </td>
239
+ <td style="text-align: center;">
240
+ <nobr>{{row.state}}</nobr>
241
+ </td>
242
+ </tr>
243
+ </template>
244
+ </data-grid>
245
+ </criteria-paged>
246
+ </div>
247
+ </template>
248
+ <script>
249
+ import {PagedList} from 'vue-client'
250
+ import {isEmpty} from '../../../components/Util'
251
+ export default {
252
+ title: '报建明细',
253
+ data () {
254
+ return {
255
+ model: new PagedList('rs/sql/getApplyDetailsList', 20, {
256
+ data: {
257
+ orgid: this.$login.f.orgid
258
+ }
259
+ }),
260
+ curorgid: [this.$login.f.orgid],
261
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
262
+ states: [{label: '全部', value: ''}, ...this.$appdata.getParam('当前状态')],
263
+ defnames: [{label: '全部', value: ''}], // 流程节点
264
+ applyNatures: [{label: '全部', value: ''}], // 报建性质
265
+ criteriaShow: false,
266
+ getfield: {
267
+ 'f_userinfo_code': '用户编号',
268
+ 'f_user_name': '用户名称',
269
+ 'f_phone': '用户电话',
270
+ 'f_address': '用户地址',
271
+ 'f_idnumber': '证件号码',
272
+ 'f_contract_number': '合同编号',
273
+ 'f_gas_nature': '用气性质',
274
+ 'f_meternumber': '表号',
275
+ 'person': '办理人',
276
+ 'defname': '办理环节',
277
+ 'finishtime': '办理时间',
278
+ }
279
+ }
280
+ },
281
+
282
+ ready () {
283
+ // 调用查询
284
+ this.search()
285
+ },
286
+ events: {
287
+ },
288
+ methods: {
289
+ // 查询
290
+ search () {
291
+ this.$refs.cp.$refs.cri.search()
292
+ },
293
+ async applyTypeChange () {
294
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
295
+ let res = await this.$resetpost('rs/logic/getDefnameByType',
296
+ { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
297
+ {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
298
+ )
299
+ this.defnames = [{label: '全部', value: ''}, ...res.data]
300
+
301
+ 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}性质`)]
302
+ } else {
303
+ this.defnames = [{label: '全部', value: ''}]
304
+ this.applyNatures = [{label: '全部', value: ''}]
305
+ }
306
+ },
307
+ clear () {
308
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
309
+ this.$refs.cp.$refs.cri.model[key] = null
310
+ })
311
+ },
312
+ getorg (val) {
313
+ if (val.length <= 0) {
314
+ return
315
+ }
316
+ this.model.params.data.orgid = val[0]
317
+ }
318
+ },
319
+ computed: {
320
+ getCondition () {
321
+ return {
322
+ condition: this.model.condition
323
+ }
324
+ }
325
+ }
326
+ }
327
+ </script>
328
+ <style scoped>
329
+ </style>