apply-clients 3.4.50 → 3.4.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 (57) hide show
  1. package/build/dev-server.js +2 -2
  2. package/package.json +1 -1
  3. package/src/apply.js +113 -113
  4. package/src/applyAndroid.js +53 -53
  5. package/src/components/android/AppServiceView.vue +745 -745
  6. package/src/components/android/AppSign.vue +154 -154
  7. package/src/components/android/Process/AppExplorationUser.vue +507 -507
  8. package/src/components/android/Process/AppServiceControl.vue +1708 -1708
  9. package/src/components/android/Process/Processes/AppAddMaterialScience.vue +477 -477
  10. package/src/components/android/Process/Processes/AppDevicesManagement.vue +519 -519
  11. package/src/components/android/Process/Processes/AppInstallationDetails.vue +482 -482
  12. package/src/components/android/Supervisory/AppSupervisoryCart.vue +156 -156
  13. package/src/components/product/Business/BusinessApply.vue +269 -269
  14. package/src/components/product/Business/CivilApply.vue +269 -269
  15. package/src/components/product/GroupByApply/ApplyGroupByList.vue +253 -253
  16. package/src/components/product/GroupByApply/ApplyGroupByMain.vue +53 -53
  17. package/src/components/product/GroupByApply/ApplyGroupByPaper.vue +376 -376
  18. package/src/components/product/Material/MaterialDetailed.vue +262 -262
  19. package/src/components/product/OldApply/Monitor/MonitorApply.vue +360 -360
  20. package/src/components/product/Print/BuildOrder/printBuildOrder.vue +157 -157
  21. package/src/components/product/Print/IgnitionBill/IgnitionBill.vue +259 -259
  22. package/src/components/product/Print/IgnitionBill/printIgnitionBill.vue +168 -168
  23. package/src/components/product/Process/ExplorationSelect.vue +495 -495
  24. package/src/components/product/Process/ExplorationUser.vue +189 -189
  25. package/src/components/product/Process/Processes/InstallationDetails.vue +610 -610
  26. package/src/components/product/Process/Processes/Print/printCharge.vue +166 -166
  27. package/src/components/product/Process/Processes/addMaterialScience.vue +454 -454
  28. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +211 -211
  29. package/src/components/product/Process/Processes/chargeManagement.vue +656 -656
  30. package/src/components/product/Process/Processes/devicesManagement.vue +484 -484
  31. package/src/components/product/Process/Service/ServiceControl.vue +26 -21
  32. package/src/components/product/ServiceView.vue +981 -981
  33. package/src/components/product/Supervisory/SupervisoryControl.vue +137 -137
  34. package/src/components/product/Supervisory/SupervisoryList.vue +404 -404
  35. package/src/components/product/VueUtils/ApplyUpload.vue +275 -280
  36. package/src/filiale/gehua/pc/ExplorationSelect.vue +483 -483
  37. package/src/filiale/gehua/pc/ServiceControl.vue +1929 -1929
  38. package/src/filiale/gehua/pc/SupervisoryControl.vue +137 -137
  39. package/src/filiale/gehua/pc/SupervisoryServiceControl.vue +890 -890
  40. package/src/filiale/gehua/pc/buildOrderList.vue +339 -0
  41. package/src/filiale/gehua/pc/printBuildOrder.vue +243 -0
  42. package/src/filiale/gehua/pc.js +3 -2
  43. package/src/filiale/guangxi/android/Process/AppExplorationUser.vue +503 -503
  44. package/src/filiale/guangxi/android/Process/Processes/AppAddMaterialScience.vue +470 -470
  45. package/src/filiale/guangxi/android/Process/Processes/AppDevicesManagement.vue +519 -519
  46. package/src/filiale/guangxi/android/Process/Processes/AppInstallationDetails.vue +482 -482
  47. package/src/filiale/guangxi/android/Process/Processes/AppServiceControl.vue +1708 -1708
  48. package/src/filiale/guangxi/android/Process/Processes/AppServiceView.vue +766 -766
  49. package/src/filiale/guangxi/android.js +9 -9
  50. package/src/filiale/guangxi/pc/ApplyCharge/ApplyChargeList.vue +470 -470
  51. package/src/filiale/guangxi/pc/ApplyCharge/chargeManagement.vue +702 -702
  52. package/src/filiale/guangxi/pc/Process/ExplorationSelect.vue +538 -538
  53. package/src/filiale/guangxi/pc/Process/Service/ServiceControl.vue +1922 -1922
  54. package/src/filiale/guangxi/pc/Process/Service/SupervisoryServiceControl.vue +891 -891
  55. package/src/filiale/guangxi/pc/Process/Service/addMaterialScience.vue +482 -482
  56. package/src/filiale/guangxi/pc.js +15 -15
  57. package/src/main.js +23 -23
@@ -1,470 +1,470 @@
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">收费项目:</label>
135
- <v-select
136
- v-model="model.f_payment_term"
137
- placeholder='请选择'
138
- condition="cr.f_payment_term = '{}'"
139
- :value.sync="model.f_payment_term"
140
- :options='$parent.$parent.paymentTerm'
141
- class="select select_list"
142
- :value-single="true"
143
- close-on-select ></v-select>
144
- </div>
145
- <div class="form-group col-sm-3">
146
- <label class="font_normal_body">流&ensp;水&ensp;号:</label>
147
- <input type="text" style="width: 60%" class="input_search" placeholder='流水号' v-model="model.f_payer_number"
148
- v-on:keyup.enter="$parent.$parent.search()"
149
- condition="cr.f_payer_number = '{}'">
150
- </div>
151
- <div class="form-group col-sm-3">
152
- <label class="font_normal_body">部&emsp;&emsp;门:</label>
153
- <res-select
154
- restype='department'
155
- :parentresid="$parent.$parent.curorgid"
156
- :initresid='$parent.$parent.curdepid'
157
- @res-select="$parent.$parent.getdep"
158
- :is-mul="true"
159
- ></res-select>
160
- </div>
161
- <div class="form-group col-sm-3">
162
- <label class="font_normal_body">人&emsp;&emsp;员:</label>
163
- <res-select
164
- restype='user'
165
- :parentresid="$parent.$parent.curdepid"
166
- :initresid='$parent.$parent.curuserid'
167
- @res-select="$parent.$parent.getuser"
168
- :is-mul="true"></res-select>
169
- </div>
170
- <div class="form-group col-sm-3">
171
- <label class="font_normal_body">缴费状态:</label>
172
- <v-select
173
- v-model="model.f_charge_status"
174
- placeholder='请选择'
175
- condition="cr.f_charge_status = '{}'"
176
- :value.sync="model.f_charge_status"
177
- :options='$parent.$parent.chargeStatus'
178
- class="select select_list"
179
- :value-single="true"
180
- close-on-select ></v-select>
181
- </div>
182
- <div class="form-group col-sm-3">
183
- <label class="font_normal_body">服务人:</label>
184
- <v-select
185
- v-model="model.f_servicer"
186
- placeholder='请选择'
187
- condition="a.f_servicer = '{}'"
188
- :value.sync="model.f_servicer"
189
- class="select select_list"
190
- :options='$parent.$parent.servicerList'
191
- :value-single="true"
192
- close-on-select ></v-select>
193
- </div>
194
- <div class="form-group col-sm-3">
195
- <label class="font_normal_body">报建发起人:</label>
196
- <v-select
197
- v-model="model.f_operator"
198
- placeholder='请选择'
199
- condition="a.f_operator = '{}'"
200
- :value.sync="model.f_operator"
201
- class="select select_list"
202
- :options='$parent.$parent.operatorList'
203
- :value-single="true"
204
- close-on-select ></v-select>
205
- </div>
206
- </div>
207
- </div>
208
- </criteria>
209
- <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
210
- <template partial='head'>
211
- <tr>
212
- <th style="white-space: nowrap;">序号</th>
213
- <th style="white-space: nowrap;">工程编号</th>
214
- <th style="white-space: nowrap;">合同编号</th>
215
- <th style="white-space: nowrap;">报建类型</th>
216
- <th style="white-space: nowrap;">报建性质</th>
217
- <th style="white-space: nowrap;">用户名称</th>
218
- <th style="white-space: nowrap;">用户电话</th>
219
- <th style="white-space: nowrap;">用户地址</th>
220
- <th style="white-space: nowrap;">身份证号</th>
221
- <th style="white-space: nowrap;">缴费编码</th>
222
- <th style="white-space: nowrap;">收费项目</th>
223
- <th style="white-space: nowrap;">收费金额(退款金额)</th>
224
- <th style="white-space: nowrap;">付款方式</th>
225
- <th style="white-space: nowrap;">流水号</th>
226
- <th style="white-space: nowrap;">服务人</th>
227
- <th style="white-space: nowrap;">报建发起人</th>
228
- <th style="white-space: nowrap;">收费人员(退款人员)</th>
229
- <th style="white-space: nowrap;">收费日期(退款日期)</th>
230
- <th style="white-space: nowrap;">实际收费时间</th>
231
- <th style="white-space: nowrap;">状态</th>
232
- </tr>
233
- </template>
234
- <template partial='body'>
235
- <tr >
236
- <td style="text-align: center;">
237
- <nobr><font>{{$index+1}}</font></nobr>
238
- </td>
239
- <td style="text-align: center;">
240
- <nobr><font>{{row.f_apply_num}}</font></nobr>
241
- </td>
242
- <td style="text-align: center;">
243
- <nobr><font>{{row.f_contract_number}}</font></nobr>
244
- </td>
245
- <td style="text-align: center;">
246
- <nobr><font>{{row.f_apply_type}}</font></nobr>
247
- </td>
248
- <td style="text-align: center;">
249
- <nobr><font>{{row.f_apply_nature}}</font></nobr>
250
- </td>
251
- <td style="text-align: center;">
252
- <nobr><font>{{row.f_user_name}}</font></nobr>
253
- </td>
254
- <td style="text-align: center;">
255
- <nobr><font>{{row.f_phone}}</font></nobr>
256
- </td>
257
- <td style="text-align: center;">
258
- <nobr><font>{{row.f_address}}</font></nobr>
259
- </td>
260
- <td style="text-align: center;">
261
- <nobr><font>{{row.f_idnumber}}</font></nobr>
262
- </td>
263
- <td style="text-align: center;">
264
- <nobr><font>{{row.f_charge_number}}</font></nobr>
265
- </td>
266
- <td style="text-align: center;">
267
- <nobr><font>{{row.f_payment_term}}</font></nobr>
268
- </td>
269
- <td style="text-align: center;">
270
- <nobr><font>{{row.f_charge_money}}</font></nobr>
271
- </td>
272
- <td style="text-align: center;">
273
- <nobr><font>{{row.f_payment_method}}</font></nobr>
274
- </td>
275
- <td style="text-align: center;">
276
- <nobr><font>{{row.f_payer_number}}</font></nobr>
277
- </td>
278
- <td style="text-align: center;">
279
- <nobr><font>{{row.f_servicer}}</font></nobr>
280
- </td>
281
- <td style="text-align: center;">
282
- <nobr><font>{{row.f_operator}}</font></nobr>
283
- </td>
284
- <td style="text-align: center;">
285
- <nobr><font>{{row.f_charge_collectors}}</font></nobr>
286
- </td>
287
- <td style="text-align: center;">
288
- <nobr><font>{{row.f_charge_date}}</font></nobr>
289
- </td>
290
- <td style="text-align: center;">
291
- <nobr><font>{{row.f_actual_date}}</font></nobr>
292
- </td>
293
- <td style="text-align: center;">
294
- <nobr><font>{{row.f_charge_status}}</font></nobr>
295
- </td>
296
- </tr>
297
- </template>
298
- </data-grid>
299
- </criteria-paged>
300
- </template>
301
-
302
- <script>
303
- import {PagedList} from 'vue-client'
304
- import {HttpResetClass} from 'vue-client'
305
- import {isEmpty} from "../../../../components/Util";
306
- export default {
307
- title: '报建收费列表',
308
- data () {
309
- return {
310
- model: new PagedList('rs/sql/getApplyCharge', 30, null, {
311
- f_charge_money: 0
312
- }),
313
- curorgid: [this.$login.f.orgid],
314
- curdepid: [],
315
- servicerList:[],
316
- operatorList:[],
317
- curuserid: [],
318
- // paymentTerm :[{label: '全部', value: ''}, ...this.$appdata.getParam('收费项目')],
319
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
320
- applyNatures: [{label: '全部', value: ''}], // 报建性质
321
- paymentMethod: [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')],
322
- chargeStatus: [
323
- {label: '全部', value: ''},
324
- {label: '有效', value: '有效'},
325
- {label: '作废', value: '作废'},
326
- {label: '退款', value: '退款'}
327
- ],
328
- criteriaShow: false,
329
- chargeAll: {
330
- count: 0,
331
- sum: 0
332
- },
333
- getfield: {
334
- 'f_apply_num': '工程编号',
335
- 'f_contract_number': '合同编号',
336
- 'f_apply_type': '报建类型',
337
- 'f_apply_nature': '报建性质',
338
- 'f_user_name': '用户名称',
339
- 'f_phone': '用户电话',
340
- 'f_address': '用户地址',
341
- 'f_idnumber': '身份证号',
342
- 'f_charge_number': '缴费编码',
343
- 'f_charge_money': '收费金额',
344
- 'f_payment_method': '付款方式',
345
- 'f_payer_number': '流水号',
346
- 'f_charge_collectors': '收费人员',
347
- 'f_charge_date': '收费日期',
348
- 'f_actual_date': '实际收费时间',
349
- 'f_charge_status': '状态'
350
- }
351
- }
352
- },
353
- ready () {
354
- // 调用查询
355
- this.search()
356
- this.getservicer()
357
- this.getapplyoperator()
358
- },
359
- methods: {
360
- async getservicer(){
361
- debugger
362
- let data = {
363
- tablename: 't_user',
364
- condition: `1=1`
365
- }
366
- let http = new HttpResetClass()
367
- let res = await http.load(
368
- 'POST',
369
- `rs/sql/singleTable`,
370
- {data: data},
371
- {resolveMsg: null, rejectMsg: '服务人查询失败!!!'}
372
- )
373
- res.data.forEach(item => {
374
- this.servicerList.push({
375
- 'label': item.name,
376
- 'value': item.name
377
- })
378
- })},
379
-
380
- async getapplyoperator(){
381
- debugger
382
- let data = {
383
- condition: `1=1`
384
- }
385
- let http = new HttpResetClass()
386
- let res = await http.load('POST', 'rs/sql/getapplyOperator', {data: data}, {resolveMsg: null, rejectMsg: null})
387
- res.data.forEach(item => {
388
- this.operatorList.push({
389
- 'label': item.f_operator,
390
- 'value': item.f_operator
391
- })
392
- })},
393
-
394
- applyTypeChange () {
395
- if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
396
- 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}性质`)]
397
- } else {
398
- this.applyNatures = [{label: '全部', value: ''}]
399
- }
400
- },
401
- clear () {
402
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
403
- this.$refs.cp.$refs.cri.model[key] = ''
404
- })
405
- this.curdepid = []
406
- this.curuserid = []
407
- },
408
- searchCondition (args) {
409
- args.condition = args.condition + ` and cr.f_orgid in (${this.curorgid})`
410
- if (this.curdepid.length > 0) {
411
- args.condition = args.condition + ` and cr.f_depid in (${this.curdepid})`
412
- }
413
- if (this.curuserid.length > 0) {
414
- args.condition = args.condition + ` and cr.f_charge_collectors_id in (${this.curuserid})`
415
- }
416
- this.model.search(args.condition, args.model)
417
- },
418
- // 查询
419
- search () {
420
- this.$refs.cp.$refs.cri.search()
421
- this.getChargeAll()
422
- this.getapplyoperator()
423
- },
424
- async getChargeAll () {
425
- let http = new HttpResetClass()
426
- let data = {
427
- condition: this.model.condition
428
- }
429
- let res = await http.load('POST', 'rs/sql/getChargeAll', {data: data}, {resolveMsg: null, rejectMsg: null})
430
-
431
- this.chargeAll = res.data[0]
432
- },
433
- getuser (val) {
434
- if (val.length <= 0) {
435
- return
436
- }
437
- this.curuserid = val
438
- this.search()
439
- },
440
- getdep (val) {
441
- if (val.length <= 0) {
442
- return
443
- }
444
- this.curdepid = val
445
- this.curuserid = []
446
- this.search()
447
- },
448
- getorg (val) {
449
- if (val.length <= 0) {
450
- return
451
- }
452
- this.curorgid = val
453
- this.curdepid = []
454
- this.curuserid = []
455
- this.search()
456
- },
457
-
458
- },
459
- computed: {
460
- getCondition () {
461
- return {
462
- condition: this.model.condition
463
- }
464
- }
465
- }
466
- }
467
- </script>
468
-
469
- <style scoped>
470
- </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">收费项目:</label>
135
+ <v-select
136
+ v-model="model.f_payment_term"
137
+ placeholder='请选择'
138
+ condition="cr.f_payment_term = '{}'"
139
+ :value.sync="model.f_payment_term"
140
+ :options='$parent.$parent.paymentTerm'
141
+ class="select select_list"
142
+ :value-single="true"
143
+ close-on-select ></v-select>
144
+ </div>
145
+ <div class="form-group col-sm-3">
146
+ <label class="font_normal_body">流&ensp;水&ensp;号:</label>
147
+ <input type="text" style="width: 60%" class="input_search" placeholder='流水号' v-model="model.f_payer_number"
148
+ v-on:keyup.enter="$parent.$parent.search()"
149
+ condition="cr.f_payer_number = '{}'">
150
+ </div>
151
+ <div class="form-group col-sm-3">
152
+ <label class="font_normal_body">部&emsp;&emsp;门:</label>
153
+ <res-select
154
+ restype='department'
155
+ :parentresid="$parent.$parent.curorgid"
156
+ :initresid='$parent.$parent.curdepid'
157
+ @res-select="$parent.$parent.getdep"
158
+ :is-mul="true"
159
+ ></res-select>
160
+ </div>
161
+ <div class="form-group col-sm-3">
162
+ <label class="font_normal_body">人&emsp;&emsp;员:</label>
163
+ <res-select
164
+ restype='user'
165
+ :parentresid="$parent.$parent.curdepid"
166
+ :initresid='$parent.$parent.curuserid'
167
+ @res-select="$parent.$parent.getuser"
168
+ :is-mul="true"></res-select>
169
+ </div>
170
+ <div class="form-group col-sm-3">
171
+ <label class="font_normal_body">缴费状态:</label>
172
+ <v-select
173
+ v-model="model.f_charge_status"
174
+ placeholder='请选择'
175
+ condition="cr.f_charge_status = '{}'"
176
+ :value.sync="model.f_charge_status"
177
+ :options='$parent.$parent.chargeStatus'
178
+ class="select select_list"
179
+ :value-single="true"
180
+ close-on-select ></v-select>
181
+ </div>
182
+ <div class="form-group col-sm-3">
183
+ <label class="font_normal_body">服务人:</label>
184
+ <v-select
185
+ v-model="model.f_servicer"
186
+ placeholder='请选择'
187
+ condition="a.f_servicer = '{}'"
188
+ :value.sync="model.f_servicer"
189
+ class="select select_list"
190
+ :options='$parent.$parent.servicerList'
191
+ :value-single="true"
192
+ close-on-select ></v-select>
193
+ </div>
194
+ <div class="form-group col-sm-3">
195
+ <label class="font_normal_body">报建发起人:</label>
196
+ <v-select
197
+ v-model="model.f_operator"
198
+ placeholder='请选择'
199
+ condition="a.f_operator = '{}'"
200
+ :value.sync="model.f_operator"
201
+ class="select select_list"
202
+ :options='$parent.$parent.operatorList'
203
+ :value-single="true"
204
+ close-on-select ></v-select>
205
+ </div>
206
+ </div>
207
+ </div>
208
+ </criteria>
209
+ <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
210
+ <template partial='head'>
211
+ <tr>
212
+ <th style="white-space: nowrap;">序号</th>
213
+ <th style="white-space: nowrap;">工程编号</th>
214
+ <th style="white-space: nowrap;">合同编号</th>
215
+ <th style="white-space: nowrap;">报建类型</th>
216
+ <th style="white-space: nowrap;">报建性质</th>
217
+ <th style="white-space: nowrap;">用户名称</th>
218
+ <th style="white-space: nowrap;">用户电话</th>
219
+ <th style="white-space: nowrap;">用户地址</th>
220
+ <th style="white-space: nowrap;">身份证号</th>
221
+ <th style="white-space: nowrap;">缴费编码</th>
222
+ <th style="white-space: nowrap;">收费项目</th>
223
+ <th style="white-space: nowrap;">收费金额(退款金额)</th>
224
+ <th style="white-space: nowrap;">付款方式</th>
225
+ <th style="white-space: nowrap;">流水号</th>
226
+ <th style="white-space: nowrap;">服务人</th>
227
+ <th style="white-space: nowrap;">报建发起人</th>
228
+ <th style="white-space: nowrap;">收费人员(退款人员)</th>
229
+ <th style="white-space: nowrap;">收费日期(退款日期)</th>
230
+ <th style="white-space: nowrap;">实际收费时间</th>
231
+ <th style="white-space: nowrap;">状态</th>
232
+ </tr>
233
+ </template>
234
+ <template partial='body'>
235
+ <tr >
236
+ <td style="text-align: center;">
237
+ <nobr><font>{{$index+1}}</font></nobr>
238
+ </td>
239
+ <td style="text-align: center;">
240
+ <nobr><font>{{row.f_apply_num}}</font></nobr>
241
+ </td>
242
+ <td style="text-align: center;">
243
+ <nobr><font>{{row.f_contract_number}}</font></nobr>
244
+ </td>
245
+ <td style="text-align: center;">
246
+ <nobr><font>{{row.f_apply_type}}</font></nobr>
247
+ </td>
248
+ <td style="text-align: center;">
249
+ <nobr><font>{{row.f_apply_nature}}</font></nobr>
250
+ </td>
251
+ <td style="text-align: center;">
252
+ <nobr><font>{{row.f_user_name}}</font></nobr>
253
+ </td>
254
+ <td style="text-align: center;">
255
+ <nobr><font>{{row.f_phone}}</font></nobr>
256
+ </td>
257
+ <td style="text-align: center;">
258
+ <nobr><font>{{row.f_address}}</font></nobr>
259
+ </td>
260
+ <td style="text-align: center;">
261
+ <nobr><font>{{row.f_idnumber}}</font></nobr>
262
+ </td>
263
+ <td style="text-align: center;">
264
+ <nobr><font>{{row.f_charge_number}}</font></nobr>
265
+ </td>
266
+ <td style="text-align: center;">
267
+ <nobr><font>{{row.f_payment_term}}</font></nobr>
268
+ </td>
269
+ <td style="text-align: center;">
270
+ <nobr><font>{{row.f_charge_money}}</font></nobr>
271
+ </td>
272
+ <td style="text-align: center;">
273
+ <nobr><font>{{row.f_payment_method}}</font></nobr>
274
+ </td>
275
+ <td style="text-align: center;">
276
+ <nobr><font>{{row.f_payer_number}}</font></nobr>
277
+ </td>
278
+ <td style="text-align: center;">
279
+ <nobr><font>{{row.f_servicer}}</font></nobr>
280
+ </td>
281
+ <td style="text-align: center;">
282
+ <nobr><font>{{row.f_operator}}</font></nobr>
283
+ </td>
284
+ <td style="text-align: center;">
285
+ <nobr><font>{{row.f_charge_collectors}}</font></nobr>
286
+ </td>
287
+ <td style="text-align: center;">
288
+ <nobr><font>{{row.f_charge_date}}</font></nobr>
289
+ </td>
290
+ <td style="text-align: center;">
291
+ <nobr><font>{{row.f_actual_date}}</font></nobr>
292
+ </td>
293
+ <td style="text-align: center;">
294
+ <nobr><font>{{row.f_charge_status}}</font></nobr>
295
+ </td>
296
+ </tr>
297
+ </template>
298
+ </data-grid>
299
+ </criteria-paged>
300
+ </template>
301
+
302
+ <script>
303
+ import {PagedList} from 'vue-client'
304
+ import {HttpResetClass} from 'vue-client'
305
+ import {isEmpty} from "../../../../components/Util";
306
+ export default {
307
+ title: '报建收费列表',
308
+ data () {
309
+ return {
310
+ model: new PagedList('rs/sql/getApplyCharge', 30, null, {
311
+ f_charge_money: 0
312
+ }),
313
+ curorgid: [this.$login.f.orgid],
314
+ curdepid: [],
315
+ servicerList:[],
316
+ operatorList:[],
317
+ curuserid: [],
318
+ // paymentTerm :[{label: '全部', value: ''}, ...this.$appdata.getParam('收费项目')],
319
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
320
+ applyNatures: [{label: '全部', value: ''}], // 报建性质
321
+ paymentMethod: [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')],
322
+ chargeStatus: [
323
+ {label: '全部', value: ''},
324
+ {label: '有效', value: '有效'},
325
+ {label: '作废', value: '作废'},
326
+ {label: '退款', value: '退款'}
327
+ ],
328
+ criteriaShow: false,
329
+ chargeAll: {
330
+ count: 0,
331
+ sum: 0
332
+ },
333
+ getfield: {
334
+ 'f_apply_num': '工程编号',
335
+ 'f_contract_number': '合同编号',
336
+ 'f_apply_type': '报建类型',
337
+ 'f_apply_nature': '报建性质',
338
+ 'f_user_name': '用户名称',
339
+ 'f_phone': '用户电话',
340
+ 'f_address': '用户地址',
341
+ 'f_idnumber': '身份证号',
342
+ 'f_charge_number': '缴费编码',
343
+ 'f_charge_money': '收费金额',
344
+ 'f_payment_method': '付款方式',
345
+ 'f_payer_number': '流水号',
346
+ 'f_charge_collectors': '收费人员',
347
+ 'f_charge_date': '收费日期',
348
+ 'f_actual_date': '实际收费时间',
349
+ 'f_charge_status': '状态'
350
+ }
351
+ }
352
+ },
353
+ ready () {
354
+ // 调用查询
355
+ this.search()
356
+ this.getservicer()
357
+ this.getapplyoperator()
358
+ },
359
+ methods: {
360
+ async getservicer(){
361
+ debugger
362
+ let data = {
363
+ tablename: 't_user',
364
+ condition: `1=1`
365
+ }
366
+ let http = new HttpResetClass()
367
+ let res = await http.load(
368
+ 'POST',
369
+ `rs/sql/singleTable`,
370
+ {data: data},
371
+ {resolveMsg: null, rejectMsg: '服务人查询失败!!!'}
372
+ )
373
+ res.data.forEach(item => {
374
+ this.servicerList.push({
375
+ 'label': item.name,
376
+ 'value': item.name
377
+ })
378
+ })},
379
+
380
+ async getapplyoperator(){
381
+ debugger
382
+ let data = {
383
+ condition: `1=1`
384
+ }
385
+ let http = new HttpResetClass()
386
+ let res = await http.load('POST', 'rs/sql/getapplyOperator', {data: data}, {resolveMsg: null, rejectMsg: null})
387
+ res.data.forEach(item => {
388
+ this.operatorList.push({
389
+ 'label': item.f_operator,
390
+ 'value': item.f_operator
391
+ })
392
+ })},
393
+
394
+ applyTypeChange () {
395
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
396
+ 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}性质`)]
397
+ } else {
398
+ this.applyNatures = [{label: '全部', value: ''}]
399
+ }
400
+ },
401
+ clear () {
402
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
403
+ this.$refs.cp.$refs.cri.model[key] = ''
404
+ })
405
+ this.curdepid = []
406
+ this.curuserid = []
407
+ },
408
+ searchCondition (args) {
409
+ args.condition = args.condition + ` and cr.f_orgid in (${this.curorgid})`
410
+ if (this.curdepid.length > 0) {
411
+ args.condition = args.condition + ` and cr.f_depid in (${this.curdepid})`
412
+ }
413
+ if (this.curuserid.length > 0) {
414
+ args.condition = args.condition + ` and cr.f_charge_collectors_id in (${this.curuserid})`
415
+ }
416
+ this.model.search(args.condition, args.model)
417
+ },
418
+ // 查询
419
+ search () {
420
+ this.$refs.cp.$refs.cri.search()
421
+ this.getChargeAll()
422
+ this.getapplyoperator()
423
+ },
424
+ async getChargeAll () {
425
+ let http = new HttpResetClass()
426
+ let data = {
427
+ condition: this.model.condition
428
+ }
429
+ let res = await http.load('POST', 'rs/sql/getChargeAll', {data: data}, {resolveMsg: null, rejectMsg: null})
430
+
431
+ this.chargeAll = res.data[0]
432
+ },
433
+ getuser (val) {
434
+ if (val.length <= 0) {
435
+ return
436
+ }
437
+ this.curuserid = val
438
+ this.search()
439
+ },
440
+ getdep (val) {
441
+ if (val.length <= 0) {
442
+ return
443
+ }
444
+ this.curdepid = val
445
+ this.curuserid = []
446
+ this.search()
447
+ },
448
+ getorg (val) {
449
+ if (val.length <= 0) {
450
+ return
451
+ }
452
+ this.curorgid = val
453
+ this.curdepid = []
454
+ this.curuserid = []
455
+ this.search()
456
+ },
457
+
458
+ },
459
+ computed: {
460
+ getCondition () {
461
+ return {
462
+ condition: this.model.condition
463
+ }
464
+ }
465
+ }
466
+ }
467
+ </script>
468
+
469
+ <style scoped>
470
+ </style>