apply-clients 3.4.64 → 3.4.65

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 (97) hide show
  1. package/build/dev-server.js +2 -2
  2. package/dist-android/static/18.js +2 -2
  3. package/dist-android/static/18.js.map +1 -1
  4. package/dist-android/static/19.js +2 -2
  5. package/dist-android/static/19.js.map +1 -1
  6. package/dist-android/static/24.js +2 -2
  7. package/dist-android/static/24.js.map +1 -1
  8. package/dist-android/static/25.js +2 -2
  9. package/dist-android/static/25.js.map +1 -1
  10. package/dist-android/static/26.js +2 -2
  11. package/dist-android/static/26.js.map +1 -1
  12. package/dist-android/static/28.js +2 -2
  13. package/dist-android/static/28.js.map +1 -1
  14. package/dist-android/static/30.js +2 -2
  15. package/dist-android/static/30.js.map +1 -1
  16. package/dist-android/static/34.js +2 -2
  17. package/dist-android/static/34.js.map +1 -1
  18. package/dist-android/static/43.js +2 -2
  19. package/dist-android/static/43.js.map +1 -1
  20. package/dist-android/static/47.js +2 -2
  21. package/dist-android/static/47.js.map +1 -1
  22. package/dist-android/static/50.js +2 -2
  23. package/dist-android/static/50.js.map +1 -1
  24. package/dist-android/static/52.js +2 -2
  25. package/dist-android/static/52.js.map +1 -1
  26. package/dist-android/static/53.js +2 -2
  27. package/dist-android/static/53.js.map +1 -1
  28. package/dist-android/static/54.js +2 -2
  29. package/dist-android/static/54.js.map +1 -1
  30. package/dist-android/static/60.js +2 -2
  31. package/dist-android/static/60.js.map +1 -1
  32. package/dist-android/static/63.js +2 -2
  33. package/dist-android/static/63.js.map +1 -1
  34. package/dist-android/static/64.js +2 -2
  35. package/dist-android/static/64.js.map +1 -1
  36. package/dist-android/static/78.js +2 -2
  37. package/dist-android/static/78.js.map +1 -1
  38. package/dist-android/static/83.js +2 -2
  39. package/dist-android/static/83.js.map +1 -1
  40. package/dist-android/static/84.js +2 -2
  41. package/dist-android/static/84.js.map +1 -1
  42. package/dist-android/static/86.js +2 -2
  43. package/dist-android/static/86.js.map +1 -1
  44. package/dist-android/static/87.js +2 -2
  45. package/dist-android/static/87.js.map +1 -1
  46. package/dist-android/static/89.js +2 -2
  47. package/dist-android/static/89.js.map +1 -1
  48. package/dist-android/static/97.js +2 -2
  49. package/dist-android/static/97.js.map +1 -1
  50. package/dist-android/static/app.js +80 -80
  51. package/dist-android/static/app.js.map +1 -1
  52. package/package.json +1 -1
  53. package/src/App.vue +21 -21
  54. package/src/components/android/AppSign.vue +154 -154
  55. package/src/components/android/AppTakePic.vue +143 -143
  56. package/src/components/android/Function/AppFunctionServiceControl.vue +344 -344
  57. package/src/components/android/Process/AppServiceControl.vue +1708 -1708
  58. package/src/components/android/Process/Processes/AppAddMaterialScience.vue +477 -477
  59. package/src/components/android/Process/Processes/AppDevicesManagement.vue +519 -519
  60. package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +298 -298
  61. package/src/components/android/Supervisory/AppSupervisoryCart.vue +156 -156
  62. package/src/components/build/Install/Process/zhongran/ZR_Design.vue +537 -537
  63. package/src/components/product/ApplyCharge/ApplyChargeList.vue +470 -470
  64. package/src/components/product/Function/Service/FunctionServiceControl.vue +445 -445
  65. package/src/components/product/Process/ExplorationSelect.vue +482 -495
  66. package/src/components/product/Process/Processes/addMaterialScience.vue +454 -454
  67. package/src/components/product/Process/Processes/chargeManagement.vue +656 -656
  68. package/src/components/product/Process/Processes/devicesManagement.vue +484 -484
  69. package/src/components/product/Process/Processes/supplementalAgreement.vue +298 -298
  70. package/src/components/product/Process/Service/ServiceControl.vue +1901 -1901
  71. package/src/components/product/Process/Service/ShowBackReason.vue +33 -33
  72. package/src/components/product/Process/ShowBackReason.vue +33 -33
  73. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +882 -882
  74. package/src/components/product/VueUtils/ApplyUpload.vue +287 -287
  75. package/src/filiale/gehua/pc/ServiceControl.vue +1938 -1938
  76. package/src/filiale/gehua/pc/SupervisoryServiceControl.vue +890 -890
  77. package/src/filiale/guangxi/android/Process/Processes/AppAddMaterialScience.vue +520 -520
  78. package/src/filiale/guangxi/android/Process/Processes/AppDevicesManagement.vue +519 -519
  79. package/src/filiale/guangxi/android/Process/Processes/AppServiceControl.vue +1708 -1708
  80. package/src/filiale/guangxi/android/Process/Processes/AppSupplementalAgreement.vue +298 -298
  81. package/src/filiale/guangxi/pc/ApplyCharge/ApplyChargeList.vue +470 -470
  82. package/src/filiale/guangxi/pc/ApplyCharge/chargeManagement.vue +724 -724
  83. package/src/filiale/guangxi/pc/Process/Service/ServiceControl.vue +1922 -1922
  84. package/src/filiale/guangxi/pc/Process/Service/ShowBackReason.vue +33 -33
  85. package/src/filiale/guangxi/pc/Process/Service/SupervisoryServiceControl.vue +891 -891
  86. package/src/filiale/guangxi/pc/Process/Service/addMaterialScience.vue +517 -517
  87. package/src/filiale/guangxi/pc/Process/ShowBackReason.vue +33 -33
  88. package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +735 -735
  89. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +824 -824
  90. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetailsCivil.vue +650 -650
  91. package/src/filiale/yuchuan/pc/Order/OrderApply.vue +528 -528
  92. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetails.vue +809 -809
  93. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetailsCivil.vue +595 -595
  94. package/src/filiale/yuchuan/pc/Process/Processes/chargeManagement.vue +621 -621
  95. package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +1108 -1108
  96. package/yarn-error.log +9976 -0
  97. package/dist.7z +0 -0
@@ -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/apply_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/apply_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>