apply-clients 3.3.48 → 3.3.52

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 (38) hide show
  1. package/.project +17 -0
  2. package/build/dev-server.js +130 -130
  3. package/package.json +1 -1
  4. package/src/AndroidApp.vue +35 -35
  5. package/src/apply.js +93 -93
  6. package/src/applyAndroid.js +31 -31
  7. package/src/components/android/AppOnetomany.vue +301 -301
  8. package/src/components/android/AppServiceView.vue +566 -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 +340 -340
  12. package/src/components/android/Process/AppServiceControl.vue +4 -0
  13. package/src/components/android/Process/Processes/AppBuildSign.vue +46 -46
  14. package/src/components/android/Supervisory/AppProcessSupervisory.vue +300 -300
  15. package/src/components/android/Supervisory/AppSupervisoryCart.vue +4 -0
  16. package/src/components/product/ApplyCharge/ApplyChargeList.vue +382 -372
  17. package/src/components/product/Function/InstallFunction.vue +132 -132
  18. package/src/components/product/Function/InstallInfoSelect.vue +10 -0
  19. package/src/components/product/Function/Service/FunctionServiceControl.vue +445 -445
  20. package/src/components/product/Material/MaterialDetailed.vue +235 -235
  21. package/src/components/product/OldApply/Monitor/MonitorApply.vue +329 -329
  22. package/src/components/product/OldApply/OldApply.vue +150 -150
  23. package/src/components/product/Onetomany.vue +377 -377
  24. package/src/components/product/Print/BuildOrder/buildOrderList.vue +264 -264
  25. package/src/components/product/Print/BuildOrder/printBuildOrder.vue +153 -153
  26. package/src/components/product/Process/ExplorationSelect.vue +457 -457
  27. package/src/components/product/Process/ExplorationUser.vue +147 -147
  28. package/src/components/product/Process/Processes/InstallationDetails.vue +592 -592
  29. package/src/components/product/Process/Processes/Print/printCharge.vue +142 -142
  30. package/src/components/product/Process/Processes/Print/printRefund.vue +196 -196
  31. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +207 -207
  32. package/src/components/product/Process/Service/ServiceControl.vue +1265 -1254
  33. package/src/components/product/ServiceView.vue +631 -631
  34. package/src/components/product/Supervisory/SupervisoryControl.vue +137 -137
  35. package/src/components/product/Supervisory/SupervisoryList.vue +296 -296
  36. package/src/components/product/Supervisory/SupervisoryhCart.vue +130 -130
  37. package/src/components/product/VueUtils/ApplyUpload.vue +273 -273
  38. package/src/components/product/VueUtils/HighMeter.vue +208 -208
@@ -1,372 +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
-
110
- <div class="form-group col-sm-3">
111
- <label class="font_normal_body">缴费编码:</label>
112
- <input type="text" class="input_search" style="width: 60%" placeholder='缴费编码' v-model="model.f_charge_number"
113
- v-on:keyup.enter="$parent.$parent.search()"
114
- condition="cr.f_charge_number like '%{}%'">
115
- </div>
116
- <div class="form-group col-sm-3">
117
- <label class="font_normal_body">付款方式:</label>
118
- <v-select
119
- v-model="model.f_payment_method"
120
- placeholder='请选择'
121
- condition="cr.f_payment_method = '{}'"
122
- :value.sync="model.f_payment_method"
123
- :options='$parent.$parent.paymentMethod'
124
- class="select select_list"
125
- :value-single="true"
126
- close-on-select ></v-select>
127
- </div>
128
- <div class="form-group col-sm-3">
129
- <label class="font_normal_body">流&ensp;水&ensp;号:</label>
130
- <input type="text" style="width: 60%" class="input_search" placeholder='流水号' v-model="model.f_payer_number"
131
- v-on:keyup.enter="$parent.$parent.search()"
132
- condition="cr.f_payer_number = '{}'">
133
- </div>
134
- <div class="form-group col-sm-3">
135
- <label class="font_normal_body">部&emsp;&emsp;门:</label>
136
- <res-select
137
- restype='department'
138
- :parentresid="$parent.$parent.curorgid"
139
- :initresid='$parent.$parent.curdepid'
140
- @res-select="$parent.$parent.getdep"
141
- :is-mul="true"
142
- ></res-select>
143
- </div>
144
- <div class="form-group col-sm-3">
145
- <label class="font_normal_body">人&emsp;&emsp;员:</label>
146
- <res-select
147
- restype='user'
148
- :parentresid="$parent.$parent.curdepid"
149
- :initresid='$parent.$parent.curuserid'
150
- @res-select="$parent.$parent.getuser"
151
- :is-mul="true"></res-select>
152
- </div>
153
- <div class="form-group col-sm-3">
154
- <label class="font_normal_body">缴费状态:</label>
155
- <v-select
156
- v-model="model.f_charge_status"
157
- placeholder='请选择'
158
- condition="cr.f_charge_status = '{}'"
159
- :value.sync="model.f_charge_status"
160
- :options='$parent.$parent.chargeStatus'
161
- class="select select_list"
162
- :value-single="true"
163
- close-on-select ></v-select>
164
- </div>
165
- </div>
166
- </div>
167
- </criteria>
168
- <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
169
- <template partial='head'>
170
- <tr>
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
- <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
- </tr>
188
- </template>
189
- <template partial='body'>
190
- <tr >
191
- <td style="text-align: center;">
192
- <nobr><font>{{$index+1}}</font></nobr>
193
- </td>
194
- <td style="text-align: center;">
195
- <nobr><font>{{row.f_apply_num}}</font></nobr>
196
- </td>
197
- <td style="text-align: center;">
198
- <nobr><font>{{row.f_contract_number}}</font></nobr>
199
- </td>
200
- <td style="text-align: center;">
201
- <nobr><font>{{row.f_apply_type}}</font></nobr>
202
- </td>
203
- <td style="text-align: center;">
204
- <nobr><font>{{row.f_apply_nature}}</font></nobr>
205
- </td>
206
- <td style="text-align: center;">
207
- <nobr><font>{{row.f_user_name}}</font></nobr>
208
- </td>
209
- <td style="text-align: center;">
210
- <nobr><font>{{row.f_phone}}</font></nobr>
211
- </td>
212
- <td style="text-align: center;">
213
- <nobr><font>{{row.f_address}}</font></nobr>
214
- </td>
215
- <td style="text-align: center;">
216
- <nobr><font>{{row.f_charge_number}}</font></nobr>
217
- </td>
218
- <td style="text-align: center;">
219
- <nobr><font>{{row.f_charge_money}}</font></nobr>
220
- </td>
221
- <td style="text-align: center;">
222
- <nobr><font>{{row.f_payment_method}}</font></nobr>
223
- </td>
224
- <td style="text-align: center;">
225
- <nobr><font>{{row.f_payer_number}}</font></nobr>
226
- </td>
227
- <td style="text-align: center;">
228
- <nobr><font>{{row.f_charge_collectors}}</font></nobr>
229
- </td>
230
- <td style="text-align: center;">
231
- <nobr><font>{{row.f_charge_date}}</font></nobr>
232
- </td>
233
- <td style="text-align: center;">
234
- <nobr><font>{{row.f_actual_date}}</font></nobr>
235
- </td>
236
- <td style="text-align: center;">
237
- <nobr><font>{{row.f_charge_status}}</font></nobr>
238
- </td>
239
- </tr>
240
- </template>
241
- </data-grid>
242
- </criteria-paged>
243
- </template>
244
-
245
- <script>
246
- import {PagedList} from 'vue-client'
247
- import {HttpResetClass} from 'vue-client'
248
- import {isEmpty} from "../../Util";
249
- export default {
250
- title: '报建收费列表',
251
- data () {
252
- return {
253
- model: new PagedList('rs/sql/getApplyCharge', 30, null, {
254
- f_charge_money: 0
255
- }),
256
- curorgid: [this.$login.f.orgid],
257
- curdepid: [],
258
- curuserid: [],
259
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
260
- applyNatures: [{label: '全部', value: ''}], // 报建性质
261
- paymentMethod: [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')],
262
- chargeStatus: [
263
- {label: '全部', value: ''},
264
- {label: '有效', value: '有效'},
265
- {label: '作废', value: '作废'},
266
- {label: '退款', value: '退款'}
267
- ],
268
- criteriaShow: false,
269
- chargeAll: {
270
- count: 0,
271
- sum: 0
272
- },
273
- getfield: {
274
- 'f_apply_num': '工程编号',
275
- 'f_contract_number': '合同编号',
276
- 'f_apply_type': '报建类型',
277
- 'f_apply_nature': '报建性质',
278
- 'f_user_name': '用户名称',
279
- 'f_phone': '用户电话',
280
- 'f_address': '用户地址',
281
- 'f_charge_number': '缴费编码',
282
- 'f_charge_money': '收费金额',
283
- 'f_payment_method': '付款方式',
284
- 'f_payer_number': '流水号',
285
- 'f_charge_collectors': '收费人员',
286
- 'f_charge_date': '收费日期',
287
- 'f_actual_date': '实际收费时间',
288
- 'f_charge_status': '状态'
289
- }
290
- }
291
- },
292
- ready () {
293
- // 调用查询
294
- this.search()
295
- },
296
- methods: {
297
- applyTypeChange () {
298
- if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
299
- 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}性质`)]
300
- } else {
301
- this.applyNatures = [{label: '全部', value: ''}]
302
- }
303
- },
304
- clear () {
305
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
306
- this.$refs.cp.$refs.cri.model[key] = ''
307
- })
308
- this.curdepid = []
309
- this.curuserid = []
310
- },
311
- searchCondition (args) {
312
- args.condition = args.condition + ` and cr.f_orgid in (${this.curorgid})`
313
- if (this.curdepid.length > 0) {
314
- args.condition = args.condition + ` and cr.f_depid in (${this.curdepid})`
315
- }
316
- if (this.curuserid.length > 0) {
317
- args.condition = args.condition + ` and cr.f_charge_collectors_id in (${this.curuserid})`
318
- }
319
- this.model.search(args.condition, args.model)
320
- },
321
- // 查询
322
- search () {
323
- this.$refs.cp.$refs.cri.search()
324
- this.getChargeAll()
325
- },
326
- async getChargeAll () {
327
- let http = new HttpResetClass()
328
- let data = {
329
- condition: this.model.condition
330
- }
331
- let res = await http.load('POST', 'rs/sql/getChargeAll', {data: data}, {resolveMsg: null, rejectMsg: null})
332
-
333
- this.chargeAll = res.data[0]
334
- },
335
- getuser (val) {
336
- if (val.length <= 0) {
337
- return
338
- }
339
- this.curuserid = val
340
- this.search()
341
- },
342
- getdep (val) {
343
- if (val.length <= 0) {
344
- return
345
- }
346
- this.curdepid = val
347
- this.curuserid = []
348
- this.search()
349
- },
350
- getorg (val) {
351
- if (val.length <= 0) {
352
- return
353
- }
354
- this.curorgid = val
355
- this.curdepid = []
356
- this.curuserid = []
357
- this.search()
358
- },
359
-
360
- },
361
- computed: {
362
- getCondition () {
363
- return {
364
- condition: this.model.condition,
365
- }
366
- }
367
- }
368
- }
369
- </script>
370
-
371
- <style scoped>
372
- </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>