apply-clients 3.3.66 → 3.3.71

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 (42) hide show
  1. package/.project +17 -0
  2. package/build/dev-server.js +133 -133
  3. package/package.json +1 -1
  4. package/src/AndroidApp.vue +35 -35
  5. package/src/apply.js +92 -89
  6. package/src/applyAndroid.js +31 -31
  7. package/src/components/android/AppOnetomany.vue +301 -301
  8. package/src/components/android/AppServiceView.vue +595 -566
  9. package/src/components/android/AppSign.vue +142 -142
  10. package/src/components/android/Function/AppInstallFunction.vue +366 -366
  11. package/src/components/android/Process/AppExplorationUser.vue +396 -340
  12. package/src/components/android/Process/AppServiceControl.vue +865 -865
  13. package/src/components/android/Process/Processes/AppBuildSign.vue +46 -46
  14. package/src/components/android/Process/Processes/AppInstallationDetails.vue +4 -2
  15. package/src/components/android/Supervisory/AppProcessSupervisory.vue +300 -300
  16. package/src/components/android/Supervisory/AppSupervisoryCart.vue +119 -119
  17. package/src/components/product/ApplyCharge/ApplyChargeList.vue +382 -382
  18. package/src/components/product/Business/BusinessApply.vue +242 -242
  19. package/src/components/product/Function/InstallFunction.vue +132 -132
  20. package/src/components/product/Function/InstallInfoSelect.vue +320 -320
  21. package/src/components/product/Function/Service/FunctionServiceControl.vue +445 -445
  22. package/src/components/product/Material/MaterialDetailed.vue +252 -235
  23. package/src/components/product/OldApply/Monitor/MonitorApply.vue +329 -329
  24. package/src/components/product/OldApply/OldApply.vue +150 -150
  25. package/src/components/product/Onetomany.vue +377 -377
  26. package/src/components/product/Print/BuildOrder/buildOrderList.vue +264 -264
  27. package/src/components/product/Print/BuildOrder/printBuildOrder.vue +153 -153
  28. package/src/components/product/Print/IgnitionBill/IgnitionBill.vue +259 -0
  29. package/src/components/product/Print/IgnitionBill/printIgnitionBill.vue +168 -0
  30. package/src/components/product/Process/ExplorationSelect.vue +452 -457
  31. package/src/components/product/Process/ExplorationUser.vue +189 -147
  32. package/src/components/product/Process/Processes/Print/printCharge.vue +142 -142
  33. package/src/components/product/Process/Processes/Print/printRefund.vue +196 -196
  34. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +211 -211
  35. package/src/components/product/Process/Service/ServiceControl.vue +1362 -1362
  36. package/src/components/product/ServiceView.vue +631 -631
  37. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +863 -863
  38. package/src/components/product/Supervisory/SupervisoryControl.vue +137 -137
  39. package/src/components/product/Supervisory/SupervisoryhCart.vue +130 -130
  40. package/src/components/product/VueUtils/ApplyUpload.vue +273 -273
  41. package/src/components/product/VueUtils/HighMeter.vue +208 -208
  42. package/src/main.js +3 -0
@@ -1,382 +1,382 @@
1
- <template>
2
- <criteria-paged :model="model" v-ref:cp>
3
- <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
4
- <div class="form-horizontal select-overspread container-fluid auto" partial>
5
- <div class="row">
6
- <div class="form-group col-sm-3">
7
- <label class="font_normal_body">组织机构:</label>
8
- <res-select
9
- restype='organization'
10
- :initresid='$parent.$parent.curorgid'
11
- @res-select="$parent.$parent.getorg"
12
- :is-mul="false"
13
- ></res-select>
14
- </div>
15
- <div class="form-group col-sm-3">
16
- <label for="startDate" class="font_normal_body">开始时间:</label>
17
- <datepicker id="startDate" placeholder="开始日期"
18
- style="width: 60%!important;"
19
- v-model="model.startDate"
20
- :value.sync="model.startDate"
21
- :format="'yyyy-MM-dd 00:00:00'"
22
- :show-reset-button="true"
23
- condition="cr.f_charge_date >= '{}'">
24
- </datepicker>
25
- </div>
26
- <div class="form-group col-sm-3">
27
- <label for="endDate" class="font_normal_body">结束时间:</label>
28
- <datepicker id="endDate" placeholder="结束日期"
29
- style="width: 60%!important;"
30
- v-model="model.endDate"
31
- :value.sync="model.endDate"
32
- :format="'yyyy-MM-dd 23:59:59'"
33
- :show-reset-button="true"
34
- condition="cr.f_charge_date <= '{}'">
35
- </datepicker>
36
- </div>
37
- <div class="form-group col-sm-3 button-range">
38
- <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
39
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
40
- <export-excel :data="$parent.$parent.getCondition"
41
- :field="$parent.$parent.getfield"
42
- sqlurl="rs/logic/applyExportfile"
43
- sql-name="getApplyCharge"
44
- template-name='收费记录信息导出'
45
- :choose-col="true"></export-excel>
46
- <div
47
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
48
- @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
49
- class="button_spacing"
50
- style="float: right">
51
- </div>
52
- </div>
53
- </div>
54
- <div class="row" v-show="$parent.$parent.criteriaShow">
55
- <div class="form-group col-sm-3">
56
- <label class="font_normal_body">工程编号:</label>
57
- <input type="text" style="width: 60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
58
- v-on:keyup.enter="$parent.$parent.search()"
59
- condition="a.f_apply_num = '{}'">
60
- </div>
61
- <div class="form-group col-sm-3">
62
- <label class="font_normal_body">合同编号:</label>
63
- <input type="text" style="width: 60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
64
- v-on:keyup.enter="$parent.$parent.search()"
65
- condition="a.f_contract_number = '{}'">
66
- </div>
67
- <div class="form-group col-sm-3">
68
- <label class="font_normal_body">报建类型:</label>
69
- <v-select
70
- v-model="model.f_apply_type"
71
- placeholder='请选择'
72
- condition="a.f_apply_type = '{}'"
73
- :value.sync="model.f_apply_type"
74
- :options='$parent.$parent.applytype'
75
- class="select select_list"
76
- :value-single="true"
77
- @change="$parent.$parent.applyTypeChange()"
78
- close-on-select ></v-select>
79
- </div>
80
- <div class="form-group col-sm-3">
81
- <label class="font_normal_body">报建性质:</label>
82
- <v-select
83
- v-model="model.f_apply_nature"
84
- placeholder='报建性质'
85
- condition="a.f_apply_nature = '{}'"
86
- :value.sync="model.f_apply_nature"
87
- :options='$parent.$parent.applyNatures'
88
- class="select select_list"
89
- :value-single="true"
90
- close-on-select ></v-select>
91
- </div>
92
- <div class="form-group col-sm-3">
93
- <label class="font_normal_body">用户名称:</label>
94
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
95
- v-on:keyup.enter="$parent.$parent.search()" condition="a.f_user_name like '%{}%'" placeholder='用户名称'>
96
- </div>
97
- <div class="form-group col-sm-3">
98
- <label class="font_normal_body">用户电话:</label>
99
- <input type="text" style="width:60%" class="input_search" placeholder='用户电话' v-model="model.f_phone"
100
- v-on:keyup.enter="$parent.$parent.search()"
101
- condition="a.f_phone like '%{}%'">
102
- </div>
103
- <div class="form-group col-sm-3">
104
- <label class="font_normal_body">用户地址:</label>
105
- <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
106
- v-on:keyup.enter="$parent.$parent.search()"
107
- condition="a.f_address like '%{}%'">
108
- </div>
109
- <div class="form-group col-sm-3">
110
- <label class="font_normal_body">身份证号:</label>
111
- <input type="text" style="width:60%" class="input_search" placeholder='身份证号' v-model="model.f_idnumber"
112
- v-on:keyup.enter="$parent.$parent.search()"
113
- condition="a.f_idnumber like '%{}%'">
114
- </div>
115
- <div class="form-group col-sm-3">
116
- <label class="font_normal_body">缴费编码:</label>
117
- <input type="text" class="input_search" style="width: 60%" placeholder='缴费编码' v-model="model.f_charge_number"
118
- v-on:keyup.enter="$parent.$parent.search()"
119
- condition="cr.f_charge_number like '%{}%'">
120
- </div>
121
- <div class="form-group col-sm-3">
122
- <label class="font_normal_body">付款方式:</label>
123
- <v-select
124
- v-model="model.f_payment_method"
125
- placeholder='请选择'
126
- condition="cr.f_payment_method = '{}'"
127
- :value.sync="model.f_payment_method"
128
- :options='$parent.$parent.paymentMethod'
129
- class="select select_list"
130
- :value-single="true"
131
- close-on-select ></v-select>
132
- </div>
133
- <div class="form-group col-sm-3">
134
- <label class="font_normal_body">流&ensp;水&ensp;号:</label>
135
- <input type="text" style="width: 60%" class="input_search" placeholder='流水号' v-model="model.f_payer_number"
136
- v-on:keyup.enter="$parent.$parent.search()"
137
- condition="cr.f_payer_number = '{}'">
138
- </div>
139
- <div class="form-group col-sm-3">
140
- <label class="font_normal_body">部&emsp;&emsp;门:</label>
141
- <res-select
142
- restype='department'
143
- :parentresid="$parent.$parent.curorgid"
144
- :initresid='$parent.$parent.curdepid'
145
- @res-select="$parent.$parent.getdep"
146
- :is-mul="true"
147
- ></res-select>
148
- </div>
149
- <div class="form-group col-sm-3">
150
- <label class="font_normal_body">人&emsp;&emsp;员:</label>
151
- <res-select
152
- restype='user'
153
- :parentresid="$parent.$parent.curdepid"
154
- :initresid='$parent.$parent.curuserid'
155
- @res-select="$parent.$parent.getuser"
156
- :is-mul="true"></res-select>
157
- </div>
158
- <div class="form-group col-sm-3">
159
- <label class="font_normal_body">缴费状态:</label>
160
- <v-select
161
- v-model="model.f_charge_status"
162
- placeholder='请选择'
163
- condition="cr.f_charge_status = '{}'"
164
- :value.sync="model.f_charge_status"
165
- :options='$parent.$parent.chargeStatus'
166
- class="select select_list"
167
- :value-single="true"
168
- close-on-select ></v-select>
169
- </div>
170
- </div>
171
- </div>
172
- </criteria>
173
- <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
174
- <template partial='head'>
175
- <tr>
176
- <th style="white-space: nowrap;">序号</th>
177
- <th style="white-space: nowrap;">工程编号</th>
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><font>{{$index+1}}</font></nobr>
199
- </td>
200
- <td style="text-align: center;">
201
- <nobr><font>{{row.f_apply_num}}</font></nobr>
202
- </td>
203
- <td style="text-align: center;">
204
- <nobr><font>{{row.f_contract_number}}</font></nobr>
205
- </td>
206
- <td style="text-align: center;">
207
- <nobr><font>{{row.f_apply_type}}</font></nobr>
208
- </td>
209
- <td style="text-align: center;">
210
- <nobr><font>{{row.f_apply_nature}}</font></nobr>
211
- </td>
212
- <td style="text-align: center;">
213
- <nobr><font>{{row.f_user_name}}</font></nobr>
214
- </td>
215
- <td style="text-align: center;">
216
- <nobr><font>{{row.f_phone}}</font></nobr>
217
- </td>
218
- <td style="text-align: center;">
219
- <nobr><font>{{row.f_address}}</font></nobr>
220
- </td>
221
- <td style="text-align: center;">
222
- <nobr><font>{{row.f_idnumber}}</font></nobr>
223
- </td>
224
- <td style="text-align: center;">
225
- <nobr><font>{{row.f_charge_number}}</font></nobr>
226
- </td>
227
- <td style="text-align: center;">
228
- <nobr><font>{{row.f_charge_money}}</font></nobr>
229
- </td>
230
- <td style="text-align: center;">
231
- <nobr><font>{{row.f_payment_method}}</font></nobr>
232
- </td>
233
- <td style="text-align: center;">
234
- <nobr><font>{{row.f_payer_number}}</font></nobr>
235
- </td>
236
- <td style="text-align: center;">
237
- <nobr><font>{{row.f_charge_collectors}}</font></nobr>
238
- </td>
239
- <td style="text-align: center;">
240
- <nobr><font>{{row.f_charge_date}}</font></nobr>
241
- </td>
242
- <td style="text-align: center;">
243
- <nobr><font>{{row.f_actual_date}}</font></nobr>
244
- </td>
245
- <td style="text-align: center;">
246
- <nobr><font>{{row.f_charge_status}}</font></nobr>
247
- </td>
248
- </tr>
249
- </template>
250
- </data-grid>
251
- </criteria-paged>
252
- </template>
253
-
254
- <script>
255
- import {PagedList} from 'vue-client'
256
- import {HttpResetClass} from 'vue-client'
257
- import {isEmpty} from "../../Util";
258
- export default {
259
- title: '报建收费列表',
260
- data () {
261
- return {
262
- model: new PagedList('rs/sql/getApplyCharge', 30, null, {
263
- f_charge_money: 0
264
- }),
265
- curorgid: [this.$login.f.orgid],
266
- curdepid: [],
267
- curuserid: [],
268
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
269
- applyNatures: [{label: '全部', value: ''}], // 报建性质
270
- paymentMethod: [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')],
271
- chargeStatus: [
272
- {label: '全部', value: ''},
273
- {label: '有效', value: '有效'},
274
- {label: '作废', value: '作废'},
275
- {label: '退款', value: '退款'}
276
- ],
277
- criteriaShow: false,
278
- chargeAll: {
279
- count: 0,
280
- sum: 0
281
- },
282
- getfield: {
283
- 'f_apply_num': '工程编号',
284
- 'f_contract_number': '合同编号',
285
- 'f_apply_type': '报建类型',
286
- 'f_apply_nature': '报建性质',
287
- 'f_user_name': '用户名称',
288
- 'f_phone': '用户电话',
289
- 'f_address': '用户地址',
290
- 'f_idnumber': '身份证号',
291
- 'f_charge_number': '缴费编码',
292
- 'f_charge_money': '收费金额',
293
- 'f_payment_method': '付款方式',
294
- 'f_payer_number': '流水号',
295
- 'f_charge_collectors': '收费人员',
296
- 'f_charge_date': '收费日期',
297
- 'f_actual_date': '实际收费时间',
298
- 'f_charge_status': '状态'
299
- }
300
- }
301
- },
302
- ready () {
303
- // 调用查询
304
- this.search()
305
- },
306
- methods: {
307
- applyTypeChange () {
308
- if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
309
- 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}性质`)]
310
- } else {
311
- this.applyNatures = [{label: '全部', value: ''}]
312
- }
313
- },
314
- clear () {
315
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
316
- this.$refs.cp.$refs.cri.model[key] = ''
317
- })
318
- this.curdepid = []
319
- this.curuserid = []
320
- },
321
- searchCondition (args) {
322
- args.condition = args.condition + ` and cr.f_orgid in (${this.curorgid})`
323
- if (this.curdepid.length > 0) {
324
- args.condition = args.condition + ` and cr.f_depid in (${this.curdepid})`
325
- }
326
- if (this.curuserid.length > 0) {
327
- args.condition = args.condition + ` and cr.f_charge_collectors_id in (${this.curuserid})`
328
- }
329
- this.model.search(args.condition, args.model)
330
- },
331
- // 查询
332
- search () {
333
- this.$refs.cp.$refs.cri.search()
334
- this.getChargeAll()
335
- },
336
- async getChargeAll () {
337
- let http = new HttpResetClass()
338
- let data = {
339
- condition: this.model.condition
340
- }
341
- let res = await http.load('POST', 'rs/sql/getChargeAll', {data: data}, {resolveMsg: null, rejectMsg: null})
342
-
343
- this.chargeAll = res.data[0]
344
- },
345
- getuser (val) {
346
- if (val.length <= 0) {
347
- return
348
- }
349
- this.curuserid = val
350
- this.search()
351
- },
352
- getdep (val) {
353
- if (val.length <= 0) {
354
- return
355
- }
356
- this.curdepid = val
357
- this.curuserid = []
358
- this.search()
359
- },
360
- getorg (val) {
361
- if (val.length <= 0) {
362
- return
363
- }
364
- this.curorgid = val
365
- this.curdepid = []
366
- this.curuserid = []
367
- this.search()
368
- },
369
-
370
- },
371
- computed: {
372
- getCondition () {
373
- return {
374
- condition: this.model.condition
375
- }
376
- }
377
- }
378
- }
379
- </script>
380
-
381
- <style scoped>
382
- </style>
1
+ <template>
2
+ <criteria-paged :model="model" v-ref:cp>
3
+ <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
4
+ <div class="form-horizontal select-overspread container-fluid auto" partial>
5
+ <div class="row">
6
+ <div class="form-group col-sm-3">
7
+ <label class="font_normal_body">组织机构:</label>
8
+ <res-select
9
+ restype='organization'
10
+ :initresid='$parent.$parent.curorgid'
11
+ @res-select="$parent.$parent.getorg"
12
+ :is-mul="false"
13
+ ></res-select>
14
+ </div>
15
+ <div class="form-group col-sm-3">
16
+ <label for="startDate" class="font_normal_body">开始时间:</label>
17
+ <datepicker id="startDate" placeholder="开始日期"
18
+ style="width: 60%!important;"
19
+ v-model="model.startDate"
20
+ :value.sync="model.startDate"
21
+ :format="'yyyy-MM-dd 00:00:00'"
22
+ :show-reset-button="true"
23
+ condition="cr.f_charge_date >= '{}'">
24
+ </datepicker>
25
+ </div>
26
+ <div class="form-group col-sm-3">
27
+ <label for="endDate" class="font_normal_body">结束时间:</label>
28
+ <datepicker id="endDate" placeholder="结束日期"
29
+ style="width: 60%!important;"
30
+ v-model="model.endDate"
31
+ :value.sync="model.endDate"
32
+ :format="'yyyy-MM-dd 23:59:59'"
33
+ :show-reset-button="true"
34
+ condition="cr.f_charge_date <= '{}'">
35
+ </datepicker>
36
+ </div>
37
+ <div class="form-group col-sm-3 button-range">
38
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
39
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
40
+ <export-excel :data="$parent.$parent.getCondition"
41
+ :field="$parent.$parent.getfield"
42
+ sqlurl="rs/logic/applyExportfile"
43
+ sql-name="getApplyCharge"
44
+ template-name='收费记录信息导出'
45
+ :choose-col="true"></export-excel>
46
+ <div
47
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
48
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
49
+ class="button_spacing"
50
+ style="float: right">
51
+ </div>
52
+ </div>
53
+ </div>
54
+ <div class="row" v-show="$parent.$parent.criteriaShow">
55
+ <div class="form-group col-sm-3">
56
+ <label class="font_normal_body">工程编号:</label>
57
+ <input type="text" style="width: 60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
58
+ v-on:keyup.enter="$parent.$parent.search()"
59
+ condition="a.f_apply_num = '{}'">
60
+ </div>
61
+ <div class="form-group col-sm-3">
62
+ <label class="font_normal_body">合同编号:</label>
63
+ <input type="text" style="width: 60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
64
+ v-on:keyup.enter="$parent.$parent.search()"
65
+ condition="a.f_contract_number = '{}'">
66
+ </div>
67
+ <div class="form-group col-sm-3">
68
+ <label class="font_normal_body">报建类型:</label>
69
+ <v-select
70
+ v-model="model.f_apply_type"
71
+ placeholder='请选择'
72
+ condition="a.f_apply_type = '{}'"
73
+ :value.sync="model.f_apply_type"
74
+ :options='$parent.$parent.applytype'
75
+ class="select select_list"
76
+ :value-single="true"
77
+ @change="$parent.$parent.applyTypeChange()"
78
+ close-on-select ></v-select>
79
+ </div>
80
+ <div class="form-group col-sm-3">
81
+ <label class="font_normal_body">报建性质:</label>
82
+ <v-select
83
+ v-model="model.f_apply_nature"
84
+ placeholder='报建性质'
85
+ condition="a.f_apply_nature = '{}'"
86
+ :value.sync="model.f_apply_nature"
87
+ :options='$parent.$parent.applyNatures'
88
+ class="select select_list"
89
+ :value-single="true"
90
+ close-on-select ></v-select>
91
+ </div>
92
+ <div class="form-group col-sm-3">
93
+ <label class="font_normal_body">用户名称:</label>
94
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
95
+ v-on:keyup.enter="$parent.$parent.search()" condition="a.f_user_name like '%{}%'" placeholder='用户名称'>
96
+ </div>
97
+ <div class="form-group col-sm-3">
98
+ <label class="font_normal_body">用户电话:</label>
99
+ <input type="text" style="width:60%" class="input_search" placeholder='用户电话' v-model="model.f_phone"
100
+ v-on:keyup.enter="$parent.$parent.search()"
101
+ condition="a.f_phone like '%{}%'">
102
+ </div>
103
+ <div class="form-group col-sm-3">
104
+ <label class="font_normal_body">用户地址:</label>
105
+ <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
106
+ v-on:keyup.enter="$parent.$parent.search()"
107
+ condition="a.f_address like '%{}%'">
108
+ </div>
109
+ <div class="form-group col-sm-3">
110
+ <label class="font_normal_body">身份证号:</label>
111
+ <input type="text" style="width:60%" class="input_search" placeholder='身份证号' v-model="model.f_idnumber"
112
+ v-on:keyup.enter="$parent.$parent.search()"
113
+ condition="a.f_idnumber like '%{}%'">
114
+ </div>
115
+ <div class="form-group col-sm-3">
116
+ <label class="font_normal_body">缴费编码:</label>
117
+ <input type="text" class="input_search" style="width: 60%" placeholder='缴费编码' v-model="model.f_charge_number"
118
+ v-on:keyup.enter="$parent.$parent.search()"
119
+ condition="cr.f_charge_number like '%{}%'">
120
+ </div>
121
+ <div class="form-group col-sm-3">
122
+ <label class="font_normal_body">付款方式:</label>
123
+ <v-select
124
+ v-model="model.f_payment_method"
125
+ placeholder='请选择'
126
+ condition="cr.f_payment_method = '{}'"
127
+ :value.sync="model.f_payment_method"
128
+ :options='$parent.$parent.paymentMethod'
129
+ class="select select_list"
130
+ :value-single="true"
131
+ close-on-select ></v-select>
132
+ </div>
133
+ <div class="form-group col-sm-3">
134
+ <label class="font_normal_body">流&ensp;水&ensp;号:</label>
135
+ <input type="text" style="width: 60%" class="input_search" placeholder='流水号' v-model="model.f_payer_number"
136
+ v-on:keyup.enter="$parent.$parent.search()"
137
+ condition="cr.f_payer_number = '{}'">
138
+ </div>
139
+ <div class="form-group col-sm-3">
140
+ <label class="font_normal_body">部&emsp;&emsp;门:</label>
141
+ <res-select
142
+ restype='department'
143
+ :parentresid="$parent.$parent.curorgid"
144
+ :initresid='$parent.$parent.curdepid'
145
+ @res-select="$parent.$parent.getdep"
146
+ :is-mul="true"
147
+ ></res-select>
148
+ </div>
149
+ <div class="form-group col-sm-3">
150
+ <label class="font_normal_body">人&emsp;&emsp;员:</label>
151
+ <res-select
152
+ restype='user'
153
+ :parentresid="$parent.$parent.curdepid"
154
+ :initresid='$parent.$parent.curuserid'
155
+ @res-select="$parent.$parent.getuser"
156
+ :is-mul="true"></res-select>
157
+ </div>
158
+ <div class="form-group col-sm-3">
159
+ <label class="font_normal_body">缴费状态:</label>
160
+ <v-select
161
+ v-model="model.f_charge_status"
162
+ placeholder='请选择'
163
+ condition="cr.f_charge_status = '{}'"
164
+ :value.sync="model.f_charge_status"
165
+ :options='$parent.$parent.chargeStatus'
166
+ class="select select_list"
167
+ :value-single="true"
168
+ close-on-select ></v-select>
169
+ </div>
170
+ </div>
171
+ </div>
172
+ </criteria>
173
+ <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
174
+ <template partial='head'>
175
+ <tr>
176
+ <th style="white-space: nowrap;">序号</th>
177
+ <th style="white-space: nowrap;">工程编号</th>
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><font>{{$index+1}}</font></nobr>
199
+ </td>
200
+ <td style="text-align: center;">
201
+ <nobr><font>{{row.f_apply_num}}</font></nobr>
202
+ </td>
203
+ <td style="text-align: center;">
204
+ <nobr><font>{{row.f_contract_number}}</font></nobr>
205
+ </td>
206
+ <td style="text-align: center;">
207
+ <nobr><font>{{row.f_apply_type}}</font></nobr>
208
+ </td>
209
+ <td style="text-align: center;">
210
+ <nobr><font>{{row.f_apply_nature}}</font></nobr>
211
+ </td>
212
+ <td style="text-align: center;">
213
+ <nobr><font>{{row.f_user_name}}</font></nobr>
214
+ </td>
215
+ <td style="text-align: center;">
216
+ <nobr><font>{{row.f_phone}}</font></nobr>
217
+ </td>
218
+ <td style="text-align: center;">
219
+ <nobr><font>{{row.f_address}}</font></nobr>
220
+ </td>
221
+ <td style="text-align: center;">
222
+ <nobr><font>{{row.f_idnumber}}</font></nobr>
223
+ </td>
224
+ <td style="text-align: center;">
225
+ <nobr><font>{{row.f_charge_number}}</font></nobr>
226
+ </td>
227
+ <td style="text-align: center;">
228
+ <nobr><font>{{row.f_charge_money}}</font></nobr>
229
+ </td>
230
+ <td style="text-align: center;">
231
+ <nobr><font>{{row.f_payment_method}}</font></nobr>
232
+ </td>
233
+ <td style="text-align: center;">
234
+ <nobr><font>{{row.f_payer_number}}</font></nobr>
235
+ </td>
236
+ <td style="text-align: center;">
237
+ <nobr><font>{{row.f_charge_collectors}}</font></nobr>
238
+ </td>
239
+ <td style="text-align: center;">
240
+ <nobr><font>{{row.f_charge_date}}</font></nobr>
241
+ </td>
242
+ <td style="text-align: center;">
243
+ <nobr><font>{{row.f_actual_date}}</font></nobr>
244
+ </td>
245
+ <td style="text-align: center;">
246
+ <nobr><font>{{row.f_charge_status}}</font></nobr>
247
+ </td>
248
+ </tr>
249
+ </template>
250
+ </data-grid>
251
+ </criteria-paged>
252
+ </template>
253
+
254
+ <script>
255
+ import {PagedList} from 'vue-client'
256
+ import {HttpResetClass} from 'vue-client'
257
+ import {isEmpty} from "../../Util";
258
+ export default {
259
+ title: '报建收费列表',
260
+ data () {
261
+ return {
262
+ model: new PagedList('rs/sql/getApplyCharge', 30, null, {
263
+ f_charge_money: 0
264
+ }),
265
+ curorgid: [this.$login.f.orgid],
266
+ curdepid: [],
267
+ curuserid: [],
268
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
269
+ applyNatures: [{label: '全部', value: ''}], // 报建性质
270
+ paymentMethod: [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')],
271
+ chargeStatus: [
272
+ {label: '全部', value: ''},
273
+ {label: '有效', value: '有效'},
274
+ {label: '作废', value: '作废'},
275
+ {label: '退款', value: '退款'}
276
+ ],
277
+ criteriaShow: false,
278
+ chargeAll: {
279
+ count: 0,
280
+ sum: 0
281
+ },
282
+ getfield: {
283
+ 'f_apply_num': '工程编号',
284
+ 'f_contract_number': '合同编号',
285
+ 'f_apply_type': '报建类型',
286
+ 'f_apply_nature': '报建性质',
287
+ 'f_user_name': '用户名称',
288
+ 'f_phone': '用户电话',
289
+ 'f_address': '用户地址',
290
+ 'f_idnumber': '身份证号',
291
+ 'f_charge_number': '缴费编码',
292
+ 'f_charge_money': '收费金额',
293
+ 'f_payment_method': '付款方式',
294
+ 'f_payer_number': '流水号',
295
+ 'f_charge_collectors': '收费人员',
296
+ 'f_charge_date': '收费日期',
297
+ 'f_actual_date': '实际收费时间',
298
+ 'f_charge_status': '状态'
299
+ }
300
+ }
301
+ },
302
+ ready () {
303
+ // 调用查询
304
+ this.search()
305
+ },
306
+ methods: {
307
+ applyTypeChange () {
308
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
309
+ 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}性质`)]
310
+ } else {
311
+ this.applyNatures = [{label: '全部', value: ''}]
312
+ }
313
+ },
314
+ clear () {
315
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
316
+ this.$refs.cp.$refs.cri.model[key] = ''
317
+ })
318
+ this.curdepid = []
319
+ this.curuserid = []
320
+ },
321
+ searchCondition (args) {
322
+ args.condition = args.condition + ` and cr.f_orgid in (${this.curorgid})`
323
+ if (this.curdepid.length > 0) {
324
+ args.condition = args.condition + ` and cr.f_depid in (${this.curdepid})`
325
+ }
326
+ if (this.curuserid.length > 0) {
327
+ args.condition = args.condition + ` and cr.f_charge_collectors_id in (${this.curuserid})`
328
+ }
329
+ this.model.search(args.condition, args.model)
330
+ },
331
+ // 查询
332
+ search () {
333
+ this.$refs.cp.$refs.cri.search()
334
+ this.getChargeAll()
335
+ },
336
+ async getChargeAll () {
337
+ let http = new HttpResetClass()
338
+ let data = {
339
+ condition: this.model.condition
340
+ }
341
+ let res = await http.load('POST', 'rs/sql/getChargeAll', {data: data}, {resolveMsg: null, rejectMsg: null})
342
+
343
+ this.chargeAll = res.data[0]
344
+ },
345
+ getuser (val) {
346
+ if (val.length <= 0) {
347
+ return
348
+ }
349
+ this.curuserid = val
350
+ this.search()
351
+ },
352
+ getdep (val) {
353
+ if (val.length <= 0) {
354
+ return
355
+ }
356
+ this.curdepid = val
357
+ this.curuserid = []
358
+ this.search()
359
+ },
360
+ getorg (val) {
361
+ if (val.length <= 0) {
362
+ return
363
+ }
364
+ this.curorgid = val
365
+ this.curdepid = []
366
+ this.curuserid = []
367
+ this.search()
368
+ },
369
+
370
+ },
371
+ computed: {
372
+ getCondition () {
373
+ return {
374
+ condition: this.model.condition
375
+ }
376
+ }
377
+ }
378
+ }
379
+ </script>
380
+
381
+ <style scoped>
382
+ </style>