apply-clients 3.4.98-2 → 3.4.98-21

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 (73) hide show
  1. package/build/dev-server.js +2 -10
  2. package/package.json +3 -2
  3. package/src/App.vue +6 -11
  4. package/src/applyAndroid.js +1 -0
  5. package/src/components/android/AppSign.vue +9 -10
  6. package/src/components/android/Ignition/VentilationIgnition.vue +312 -312
  7. package/src/components/android/Ignition/VentilationIgnitionHandle.vue +353 -353
  8. package/src/components/android/Process/AppServiceControl.vue +1738 -1734
  9. package/src/components/product/ApplyCharge/ApplyChargeList.vue +476 -476
  10. package/src/components/product/Function/InstallInfoSelect.vue +326 -326
  11. package/src/components/product/Ignition/IgnitionListManage.vue +420 -420
  12. package/src/components/product/Install/ContractCharge.vue +210 -210
  13. package/src/components/product/Material/MaterialDetailed.vue +268 -268
  14. package/src/components/product/Material/Materiallist.vue +74 -74
  15. package/src/components/product/Material/Materialmanger.vue +58 -58
  16. package/src/components/product/Process/ExplorationSelect.vue +491 -491
  17. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +203 -203
  18. package/src/components/product/Process/Service/ServiceControl.vue +2 -2
  19. package/src/components/product/Process/ShowBackReason.vue +40 -40
  20. package/src/components/product/Stop/StopApplyList.vue +278 -278
  21. package/src/components/product/Supervisory/SupervisoryControl.vue +140 -140
  22. package/src/components/product/Supervisory/SupervisoryList.vue +27 -0
  23. package/src/filiale/gongyi/pc/ServiceControl.vue +1926 -0
  24. package/src/filiale/gongyi/pc.js +6 -0
  25. package/src/filiale/guzhou/pc/ServiceControl.vue +1926 -0
  26. package/src/filiale/guzhou/pc.js +6 -0
  27. package/src/filiale/hongda/pc/FunctionServiceControl.vue +21 -0
  28. package/src/filiale/hongda/pc/printChargepc.vue +114 -114
  29. package/src/filiale/hongda/pc/printactivatecard.vue +151 -151
  30. package/src/filiale/hongda/pc/printrefit.vue +3 -1
  31. package/src/filiale/huayinyihua/pc/StopApplyList.vue +271 -0
  32. package/src/filiale/huayinyihua/pc/SupervisoryList.vue +363 -0
  33. package/src/filiale/huayinyihua/pc.js +7 -0
  34. package/src/filiale/linzhou/pc/ApplyChargeList.vue +486 -486
  35. package/src/filiale/linzhou/pc/ServiceControl.vue +1968 -1968
  36. package/src/filiale/linzhou/pc/devicesManagement.vue +494 -494
  37. package/src/filiale/linzhou/pc.js +10 -10
  38. package/src/filiale/qianneng/android/AppAddMaterialScience.vue +477 -477
  39. package/src/filiale/qianneng/android/AppExplorationUser.vue +447 -447
  40. package/src/filiale/qianneng/android/AppServiceControl.vue +1608 -1608
  41. package/src/filiale/qianneng/android/AppServiceView.vue +761 -761
  42. package/src/filiale/qianneng/android/AppSign.vue +152 -152
  43. package/src/filiale/qianneng/android/AppTakePic.vue +140 -140
  44. package/src/filiale/qianneng/android.js +12 -12
  45. package/src/filiale/qianneng/pc/ApplyUpload.vue +290 -290
  46. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +685 -685
  47. package/src/filiale/qianneng/pc/ExplorationUser.vue +189 -189
  48. package/src/filiale/qianneng/pc/InstallationDetails.vue +561 -561
  49. package/src/filiale/qianneng/pc/ServiceView.vue +1118 -1118
  50. package/src/filiale/qianneng/pc/SupervisoryList.vue +344 -344
  51. package/src/filiale/qianneng/pc/SupervisoryhCart.vue +127 -127
  52. package/src/filiale/qianneng/pc/addMaterialScience.vue +464 -464
  53. package/src/filiale/qianneng/pc/addressAndUserinfoManagement.vue +389 -389
  54. package/src/filiale/qianneng/pc/devicesManagement.vue +484 -484
  55. package/src/filiale/qianneng/pc/printactivatecard.vue +295 -295
  56. package/src/filiale/qianneng/pc.js +26 -26
  57. package/src/filiale/yangchunboneng/android/AppAddMaterialScience.vue +390 -0
  58. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +108 -0
  59. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +552 -0
  60. package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +507 -0
  61. package/src/filiale/yangchunboneng/android/chargesList.vue +173 -0
  62. package/src/filiale/yangchunboneng/android.js +6 -0
  63. package/src/filiale/yangchunboneng/pc/ApplyChargeList.vue +594 -546
  64. package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +375 -375
  65. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +469 -469
  66. package/src/filiale/yangchunboneng/pc/InstallInfoSelect.vue +364 -357
  67. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +1739 -1734
  68. package/src/filiale/yangchunboneng/pc/ServiceView.vue +1004 -0
  69. package/src/filiale/yangchunboneng/pc/addMaterialScience.vue +374 -0
  70. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +955 -1011
  71. package/src/filiale/yangchunboneng/pc/devicesManagement.vue +511 -0
  72. package/src/filiale/yangchunboneng/pc.js +16 -13
  73. package/src/main.js +1 -1
@@ -1,546 +1,594 @@
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_userinfo_code"
58
- v-on:keyup.enter="$parent.$parent.search()"
59
- condition="f_userinfo_code like '%{}%'">
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_apply_num"
64
- v-on:keyup.enter="$parent.$parent.search()"
65
- condition="a.f_apply_num like '%{}%'">
66
- </div>
67
- <div class="form-group col-sm-3">
68
- <label class="font_normal_body">合同编号:</label>
69
- <input type="text" style="width: 60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
70
- v-on:keyup.enter="$parent.$parent.search()"
71
- condition="a.f_contract_number = '{}'">
72
- </div>
73
- <div class="form-group col-sm-3">
74
- <label class="font_normal_body">报建类型:</label>
75
- <v-select
76
- v-model="model.f_apply_type"
77
- placeholder='请选择'
78
- condition="a.f_apply_type = '{}'"
79
- :value.sync="model.f_apply_type"
80
- :options='$parent.$parent.applytype'
81
- class="select select_list"
82
- :value-single="true"
83
- @change="$parent.$parent.applyTypeChange()"
84
- close-on-select ></v-select>
85
- </div>
86
- <div class="form-group col-sm-3">
87
- <label class="font_normal_body">报建性质:</label>
88
- <v-select
89
- v-model="model.f_apply_nature"
90
- placeholder='报建性质'
91
- condition="a.f_apply_nature = '{}'"
92
- :value.sync="model.f_apply_nature"
93
- :options='$parent.$parent.applyNatures'
94
- class="select select_list"
95
- :value-single="true"
96
- close-on-select ></v-select>
97
- </div>
98
- <div class="form-group col-sm-3">
99
- <label class="font_normal_body">用户名称:</label>
100
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
101
- v-on:keyup.enter="$parent.$parent.search()" condition="a.f_user_name like '%{}%'" placeholder='用户名称'>
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_phone"
106
- v-on:keyup.enter="$parent.$parent.search()"
107
- condition="a.f_phone 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_address"
112
- v-on:keyup.enter="$parent.$parent.search()"
113
- condition="a.f_address like '%{}%'">
114
- </div>
115
- <div class="form-group col-sm-3">
116
- <label class="font_normal_body">身份证号:</label>
117
- <input type="text" style="width:60%" class="input_search" placeholder='身份证号' v-model="model.f_idnumber"
118
- v-on:keyup.enter="$parent.$parent.search()"
119
- condition="a.f_idnumber like '%{}%'">
120
- </div>
121
- <div class="form-group col-sm-3">
122
- <label class="font_normal_body">缴费编码:</label>
123
- <input type="text" class="input_search" style="width: 60%" placeholder='缴费编码' v-model="model.f_charge_number"
124
- v-on:keyup.enter="$parent.$parent.search()"
125
- condition="cr.f_charge_number like '%{}%'">
126
- </div>
127
- <div class="form-group col-sm-3">
128
- <label class="font_normal_body">付款方式:</label>
129
- <v-select
130
- v-model="model.f_payment_method"
131
- placeholder='请选择'
132
- condition="cr.f_payment_method = '{}'"
133
- :value.sync="model.f_payment_method"
134
- :options='$parent.$parent.paymentMethod'
135
- class="select select_list"
136
- :value-single="true"
137
- close-on-select ></v-select>
138
- </div>
139
- <div class="form-group col-sm-3">
140
- <label class="font_normal_body">收费项目:</label>
141
- <v-select
142
- v-model="model.f_payment_term"
143
- placeholder='请选择'
144
- condition="cr.f_payment_term = '{}'"
145
- :value.sync="model.f_payment_term"
146
- :options='$parent.$parent.paymentTerm'
147
- class="select select_list"
148
- :value-single="true"
149
- close-on-select ></v-select>
150
- </div>
151
- <div class="form-group col-sm-3">
152
- <label class="font_normal_body">流&ensp;水&ensp;号:</label>
153
- <input type="text" style="width: 60%" class="input_search" placeholder='流水号' v-model="model.f_payer_number"
154
- v-on:keyup.enter="$parent.$parent.search()"
155
- condition="cr.f_payer_number = '{}'">
156
- </div>
157
- <div class="form-group col-sm-3">
158
- <label class="font_normal_body">部&emsp;&emsp;门:</label>
159
- <res-select
160
- restype='department'
161
- :parentresid="$parent.$parent.curorgid"
162
- :initresid='$parent.$parent.curdepid'
163
- @res-select="$parent.$parent.getdep"
164
- :is-mul="true"
165
- ></res-select>
166
- </div>
167
- <div class="form-group col-sm-3">
168
- <label class="font_normal_body">人&emsp;&emsp;员:</label>
169
- <res-select
170
- restype='user'
171
- :parentresid="$parent.$parent.curdepid"
172
- :initresid='$parent.$parent.curuserid'
173
- @res-select="$parent.$parent.getuser"
174
- :is-mul="true"></res-select>
175
- </div>
176
- <div class="form-group col-sm-3">
177
- <label class="font_normal_body">缴费状态:</label>
178
- <v-select
179
- v-model="model.f_charge_status"
180
- placeholder='请选择'
181
- condition="cr.f_charge_status = '{}'"
182
- :value.sync="model.f_charge_status"
183
- :options='$parent.$parent.chargeStatus'
184
- class="select select_list"
185
- :value-single="true"
186
- close-on-select ></v-select>
187
- </div>
188
- <div class="form-group col-sm-3">
189
- <label class="font_normal_body">服务人:</label>
190
- <v-select
191
- v-model="model.f_servicer"
192
- placeholder='请选择'
193
- condition="a.f_servicer = '{}'"
194
- :value.sync="model.f_servicer"
195
- class="select select_list"
196
- :options='$parent.$parent.servicerList'
197
- :value-single="true"
198
- close-on-select ></v-select>
199
- </div>
200
- <div class="form-group col-sm-3">
201
- <label class="font_normal_body">报建发起人:</label>
202
- <v-select
203
- v-model="model.f_operator"
204
- placeholder='请选择'
205
- condition="a.f_operator = '{}'"
206
- :value.sync="model.f_operator"
207
- class="select select_list"
208
- :options='$parent.$parent.operatorList'
209
- :value-single="true"
210
- close-on-select ></v-select>
211
- </div>
212
- <div class="form-group col-sm-3">
213
- <label class="font_normal_body">是否确认:</label>
214
- <v-select
215
- v-model="model.f_confirm"
216
- placeholder='请选择'
217
- :value.sync="model.f_confirm"
218
- class="select select_list"
219
- :options='$parent.$parent.confirms'
220
- :value-single="true"
221
- close-on-select ></v-select>
222
- </div>
223
- <div class="form-group col-sm-3">
224
- <label class="font_normal_body">确&ensp;认&ensp;人:</label>
225
- <input type="text" style="width: 60%"
226
- class="input_search"
227
- placeholder='确认人'
228
- v-model="model.f_confirm_person"
229
- condition="cr.f_confirm_person like '%{}%'">
230
- </div>
231
- <div class="form-group col-sm-3">
232
- <label class="font_normal_body">确认时间:</label>
233
- <datepicker id="startDate" placeholder="开始日期"
234
- style="width: 60%!important;"
235
- v-model="model.f_confirm_date"
236
- :value.sync="model.f_confirm_date"
237
- :format="'yyyy-MM-dd 00:00:00'"
238
- :show-reset-button="true"
239
- condition="cr.f_confirm_date >= '{}'">
240
- </datepicker>
241
- </div>
242
- <div class="form-group col-sm-3">
243
- <label class="font_normal_body">确认时间:</label>
244
- <datepicker id="startDate" placeholder="结束日期"
245
- style="width: 60%!important;"
246
- v-model="model.f_confirm_date"
247
- :value.sync="model.f_confirm_date"
248
- :format="'yyyy-MM-dd 23:59:59'"
249
- :show-reset-button="true"
250
- condition="cr.f_confirm_date <= '{}'">
251
- </datepicker>
252
- </div>
253
- </div>
254
- </div>
255
- </criteria>
256
- <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
257
- <template partial='head'>
258
- <tr>
259
- <th style="white-space: nowrap;">序号</th>
260
- <th style="white-space: nowrap;">工程编号</th>
261
- <th style="white-space: nowrap;">合同编号</th>
262
- <th style="white-space: nowrap;">报建类型</th>
263
- <th style="white-space: nowrap;">报建性质</th>
264
- <th style="white-space: nowrap;">用户名称</th>
265
- <th style="white-space: nowrap;">用户电话</th>
266
- <th style="white-space: nowrap;">用户地址</th>
267
- <th style="white-space: nowrap;">身份证号</th>
268
- <th style="white-space: nowrap;">缴费编码</th>
269
- <th style="white-space: nowrap;">收费项目</th>
270
- <th style="white-space: nowrap;">收费金额(退款金额)</th>
271
- <th style="white-space: nowrap;">付款方式</th>
272
- <th style="white-space: nowrap;">流水号</th>
273
- <th style="white-space: nowrap;">服务人</th>
274
- <th style="white-space: nowrap;">报建发起人</th>
275
- <th style="white-space: nowrap;">收费人员(退款人员)</th>
276
- <th style="white-space: nowrap;">收费日期(退款日期)</th>
277
- <th style="white-space: nowrap;">确认人</th>
278
- <th style="white-space: nowrap;">确认日期</th>
279
- <th style="white-space: nowrap;">备注</th>
280
- <th style="white-space: nowrap;">实际收费时间</th>
281
- <th style="white-space: nowrap;">状态</th>
282
- </tr>
283
- </template>
284
- <template partial='body'>
285
- <tr >
286
- <td style="text-align: center;">
287
- <nobr><font>{{$index+1}}</font></nobr>
288
- </td>
289
- <td style="text-align: center;">
290
- <nobr><font>{{row.f_apply_num}}</font></nobr>
291
- </td>
292
- <td style="text-align: center;">
293
- <nobr><font>{{row.f_contract_number}}</font></nobr>
294
- </td>
295
- <td style="text-align: center;">
296
- <nobr><font>{{row.f_apply_type}}</font></nobr>
297
- </td>
298
- <td style="text-align: center;">
299
- <nobr><font>{{row.f_apply_nature}}</font></nobr>
300
- </td>
301
- <td style="text-align: center;">
302
- <nobr><font>{{row.f_user_name}}</font></nobr>
303
- </td>
304
- <td style="text-align: center;">
305
- <nobr><font>{{row.f_phone}}</font></nobr>
306
- </td>
307
- <td style="text-align: center;">
308
- <nobr><font>{{row.f_address}}</font></nobr>
309
- </td>
310
- <td style="text-align: center;">
311
- <nobr><font>{{row.f_idnumber}}</font></nobr>
312
- </td>
313
- <td style="text-align: center;">
314
- <nobr><font>{{row.f_charge_number}}</font></nobr>
315
- </td>
316
- <td style="text-align: center;">
317
- <nobr><font>{{row.f_payment_term}}</font></nobr>
318
- </td>
319
- <td style="text-align: center;">
320
- <nobr><font>{{row.f_charge_money}}</font></nobr>
321
- </td>
322
- <td style="text-align: center;">
323
- <nobr><font>{{row.f_payment_method}}</font></nobr>
324
- </td>
325
- <td style="text-align: center;">
326
- <nobr><font>{{row.f_payer_number}}</font></nobr>
327
- </td>
328
- <td style="text-align: center;">
329
- <nobr><font>{{row.f_servicer}}</font></nobr>
330
- </td>
331
- <td style="text-align: center;">
332
- <nobr><font>{{row.f_operator}}</font></nobr>
333
- </td>
334
- <td style="text-align: center;">
335
- <nobr><font>{{row.f_charge_collectors}}</font></nobr>
336
- </td>
337
- <td style="text-align: center;">
338
- <nobr><font>{{row.f_charge_date}}</font></nobr>
339
- </td>
340
- <td style="text-align: center;">
341
- <nobr><font>{{row.f_confirm_person}}</font></nobr>
342
- </td>
343
- <td style="text-align: center;">
344
- <nobr><font>{{row.f_confirm_date}}</font></nobr>
345
- </td>
346
- <td style="text-align: center;">
347
- <nobr><font>{{row.f_charge_remarks}}</font></nobr>
348
- </td>
349
- <td style="text-align: center;">
350
- <nobr><font>{{row.f_actual_date}}</font></nobr>
351
- </td>
352
- <td style="text-align: center;">
353
- <nobr><font>{{row.f_charge_status}}</font></nobr>
354
- </td>
355
- </tr>
356
- </template>
357
- </data-grid>
358
- </criteria-paged>
359
- </template>
360
-
361
- <script>
362
- import {PagedList} from 'vue-client'
363
- import {HttpResetClass} from 'vue-client'
364
- import {isEmpty} from "../../../components/Util";
365
- export default {
366
- title: '报建收费列表',
367
- data () {
368
- return {
369
- model: new PagedList('rs/sql/getApplyCharge', 30, null, {
370
- f_charge_money: 0
371
- }),
372
- curorgid: [this.$login.f.orgid],
373
- curdepid: [],
374
- servicerList:[],
375
- operatorList:[],
376
- curuserid: [],
377
- paymentTerm :[{label: '全部', value: ''}, ...this.$appdata.getParam('收费项目')],
378
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
379
- applyNatures: [{label: '全部', value: ''}], // 报建性质
380
- paymentMethod: [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')],
381
- chargeStatus: [
382
- {label: '全部', value: ''},
383
- {label: '有效', value: '有效'},
384
- {label: '作废', value: '作废'},
385
- {label: '退款', value: '退款'}
386
- ],
387
- confirms: [
388
- {label: '全部', value: ''},
389
- {label: '是', value: '是'},
390
- {label: '否', value: ''}
391
- ],
392
- criteriaShow: false,
393
- chargeAll: {
394
- count: 0,
395
- sum: 0
396
- },
397
- getfield: {
398
- 'f_apply_num': '工程编号',
399
- 'f_contract_number': '合同编号',
400
- 'f_apply_type': '报建类型',
401
- 'f_apply_nature': '报建性质',
402
- 'f_user_name': '用户名称',
403
- 'f_phone': '用户电话',
404
- 'f_address': '用户地址',
405
- 'f_idnumber': '身份证号',
406
- 'f_charge_number': '缴费编码',
407
- 'f_charge_money': '收费金额',
408
- 'f_payment_method': '付款方式',
409
- 'f_payer_number': '流水号',
410
- 'f_charge_collectors': '收费人员',
411
- 'f_charge_date': '收费日期',
412
- 'f_actual_date': '实际收费时间',
413
- 'f_confirm_person': '确认人',
414
- 'f_confirm_date': '确认时间',
415
- 'f_charge_remarks': '备注',
416
- 'f_charge_status': '状态'
417
- }
418
- }
419
- },
420
- ready () {
421
- // 调用查询
422
- this.search()
423
- this.getservicer()
424
- this.getapplyoperator()
425
- },
426
- methods: {
427
- async getservicer(){
428
- debugger
429
- let data = {
430
- tablename: 't_user',
431
- condition: `1=1`
432
- }
433
- let http = new HttpResetClass()
434
- let res = await http.load(
435
- 'POST',
436
- `rs/sql/apply_singleTable`,
437
- {data: data},
438
- {resolveMsg: null, rejectMsg: '服务人查询失败!!!'}
439
- )
440
- res.data.forEach(item => {
441
- this.servicerList.push({
442
- 'label': item.name,
443
- 'value': item.name
444
- })
445
- })},
446
-
447
- async getapplyoperator(){
448
- debugger
449
- let data = {
450
- condition: `1=1`
451
- }
452
- let http = new HttpResetClass()
453
- let res = await http.load('POST', 'rs/sql/getapplyOperator', {data: data}, {resolveMsg: null, rejectMsg: null})
454
- res.data.forEach(item => {
455
- this.operatorList.push({
456
- 'label': item.f_operator,
457
- 'value': item.f_operator
458
- })
459
- })},
460
-
461
- applyTypeChange () {
462
- if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
463
- 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}性质`)]
464
- } else {
465
- this.applyNatures = [{label: '全部', value: ''}]
466
- }
467
- },
468
- clear () {
469
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
470
- this.$refs.cp.$refs.cri.model[key] = ''
471
- })
472
- this.curdepid = []
473
- this.curuserid = []
474
- },
475
- searchCondition (args) {
476
- args.condition = args.condition + ` and cr.f_orgid in (${this.curorgid})`
477
- if (this.curdepid.length > 0) {
478
- args.condition = args.condition + ` and cr.f_depid in (${this.curdepid})`
479
- }
480
- if (this.curuserid.length > 0) {
481
- args.condition = args.condition + ` and cr.f_charge_collectors_id in (${this.curuserid})`
482
- }
483
- if (args.model.f_confirm){
484
- if (args.model.f_confirm == ''){
485
- args.condition = args.condition + ` and cr.f_confirm_person is not null`
486
- }
487
- if (args.model.f_confirm == ''){
488
- args.condition = args.condition + ` and cr.f_confirm_person is null`
489
- }
490
-
491
- }
492
- this.model.search(args.condition, args.model)
493
- },
494
- // 查询
495
- search () {
496
- this.$refs.cp.$refs.cri.search()
497
- this.getChargeAll()
498
- this.getapplyoperator()
499
- },
500
- async getChargeAll () {
501
- let http = new HttpResetClass()
502
- let data = {
503
- condition: this.model.condition
504
- }
505
- let res = await http.load('POST', 'rs/sql/getChargeAll', {data: data}, {resolveMsg: null, rejectMsg: null})
506
-
507
- this.chargeAll = res.data[0]
508
- },
509
- getuser (val) {
510
- if (val.length <= 0) {
511
- return
512
- }
513
- this.curuserid = val
514
- this.search()
515
- },
516
- getdep (val) {
517
- if (val.length <= 0) {
518
- return
519
- }
520
- this.curdepid = val
521
- this.curuserid = []
522
- this.search()
523
- },
524
- getorg (val) {
525
- if (val.length <= 0) {
526
- return
527
- }
528
- this.curorgid = val
529
- this.curdepid = []
530
- this.curuserid = []
531
- this.search()
532
- },
533
-
534
- },
535
- computed: {
536
- getCondition () {
537
- return {
538
- condition: this.model.condition
539
- }
540
- }
541
- }
542
- }
543
- </script>
544
-
545
- <style scoped>
546
- </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_userinfo_code"
58
+ v-on:keyup.enter="$parent.$parent.search()"
59
+ condition="f_userinfo_code like '%{}%'">
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_apply_num"
64
+ v-on:keyup.enter="$parent.$parent.search()"
65
+ condition="a.f_apply_num like '%{}%'">
66
+ </div>
67
+ <div class="form-group col-sm-3">
68
+ <label class="font_normal_body">合同编号:</label>
69
+ <input type="text" style="width: 60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
70
+ v-on:keyup.enter="$parent.$parent.search()"
71
+ condition="a.f_contract_number = '{}'">
72
+ </div>
73
+ <div class="form-group col-sm-3">
74
+ <label class="font_normal_body">报建类型:</label>
75
+ <v-select
76
+ v-model="model.f_apply_type"
77
+ placeholder='请选择'
78
+ condition="a.f_apply_type = '{}'"
79
+ :value.sync="model.f_apply_type"
80
+ :options='$parent.$parent.applytype'
81
+ class="select select_list"
82
+ :value-single="true"
83
+ @change="$parent.$parent.applyTypeChange()"
84
+ close-on-select ></v-select>
85
+ </div>
86
+ <div class="form-group col-sm-3">
87
+ <label class="font_normal_body">报建性质:</label>
88
+ <v-select
89
+ v-model="model.f_apply_nature"
90
+ placeholder='报建性质'
91
+ condition="a.f_apply_nature = '{}'"
92
+ :value.sync="model.f_apply_nature"
93
+ :options='$parent.$parent.applyNatures'
94
+ class="select select_list"
95
+ :value-single="true"
96
+ close-on-select ></v-select>
97
+ </div>
98
+ <div class="form-group col-sm-3">
99
+ <label class="font_normal_body">用户名称:</label>
100
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
101
+ v-on:keyup.enter="$parent.$parent.search()" condition="a.f_user_name like '%{}%'" placeholder='用户名称'>
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_phone"
106
+ v-on:keyup.enter="$parent.$parent.search()"
107
+ condition="a.f_phone 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_address"
112
+ v-on:keyup.enter="$parent.$parent.search()"
113
+ condition="a.f_address like '%{}%'">
114
+ </div>
115
+ <div class="form-group col-sm-3">
116
+ <label class="font_normal_body">身份证号:</label>
117
+ <input type="text" style="width:60%" class="input_search" placeholder='身份证号' v-model="model.f_idnumber"
118
+ v-on:keyup.enter="$parent.$parent.search()"
119
+ condition="a.f_idnumber like '%{}%'">
120
+ </div>
121
+ <div class="form-group col-sm-3">
122
+ <label class="font_normal_body">缴费编码:</label>
123
+ <input type="text" class="input_search" style="width: 60%" placeholder='缴费编码' v-model="model.f_charge_number"
124
+ v-on:keyup.enter="$parent.$parent.search()"
125
+ condition="cr.f_charge_number like '%{}%'">
126
+ </div>
127
+ <div class="form-group col-sm-3">
128
+ <label class="font_normal_body">付款方式:</label>
129
+ <v-select
130
+ v-model="model.f_payment_method"
131
+ placeholder='请选择'
132
+ condition="cr.f_payment_method = '{}'"
133
+ :value.sync="model.f_payment_method"
134
+ :options='$parent.$parent.paymentMethod'
135
+ class="select select_list"
136
+ :value-single="true"
137
+ close-on-select ></v-select>
138
+ </div>
139
+ <div class="form-group col-sm-3">
140
+ <label class="font_normal_body">收费项目:</label>
141
+ <v-select
142
+ v-model="model.f_payment_term"
143
+ placeholder='请选择'
144
+ condition="cr.f_payment_term = '{}'"
145
+ :value.sync="model.f_payment_term"
146
+ :options='$parent.$parent.paymentTerm'
147
+ class="select select_list"
148
+ :value-single="true"
149
+ close-on-select ></v-select>
150
+ </div>
151
+ <div class="form-group col-sm-3">
152
+ <label class="font_normal_body">流&ensp;水&ensp;号:</label>
153
+ <input type="text" style="width: 60%" class="input_search" placeholder='流水号' v-model="model.f_payer_number"
154
+ v-on:keyup.enter="$parent.$parent.search()"
155
+ condition="cr.f_payer_number = '{}'">
156
+ </div>
157
+ <div class="form-group col-sm-3">
158
+ <label class="font_normal_body">部&emsp;&emsp;门:</label>
159
+ <res-select
160
+ restype='department'
161
+ :parentresid="$parent.$parent.curorgid"
162
+ :initresid='$parent.$parent.curdepid'
163
+ @res-select="$parent.$parent.getdep"
164
+ :is-mul="true"
165
+ ></res-select>
166
+ </div>
167
+ <div class="form-group col-sm-3">
168
+ <label class="font_normal_body">人&emsp;&emsp;员:</label>
169
+ <res-select
170
+ restype='user'
171
+ :parentresid="$parent.$parent.curdepid"
172
+ :initresid='$parent.$parent.curuserid'
173
+ @res-select="$parent.$parent.getuser"
174
+ :is-mul="true"></res-select>
175
+ </div>
176
+ <div class="form-group col-sm-3">
177
+ <label class="font_normal_body">缴费状态:</label>
178
+ <v-select
179
+ v-model="model.f_charge_status"
180
+ placeholder='请选择'
181
+ condition="cr.f_charge_status = '{}'"
182
+ :value.sync="model.f_charge_status"
183
+ :options='$parent.$parent.chargeStatus'
184
+ class="select select_list"
185
+ :value-single="true"
186
+ close-on-select ></v-select>
187
+ </div>
188
+ <div class="form-group col-sm-3">
189
+ <label class="font_normal_body">服务人:</label>
190
+ <v-select
191
+ v-model="model.f_servicer"
192
+ placeholder='请选择'
193
+ condition="a.f_servicer = '{}'"
194
+ :value.sync="model.f_servicer"
195
+ class="select select_list"
196
+ :options='$parent.$parent.servicerList'
197
+ :value-single="true"
198
+ close-on-select ></v-select>
199
+ </div>
200
+ <div class="form-group col-sm-3">
201
+ <label class="font_normal_body">报建发起人:</label>
202
+ <v-select
203
+ v-model="model.f_operator"
204
+ placeholder='请选择'
205
+ condition="a.f_operator = '{}'"
206
+ :value.sync="model.f_operator"
207
+ class="select select_list"
208
+ :options='$parent.$parent.operatorList'
209
+ :value-single="true"
210
+ close-on-select ></v-select>
211
+ </div>
212
+ <div class="form-group col-sm-3">
213
+ <label class="font_normal_body">是否确认:</label>
214
+ <v-select
215
+ v-model="model.f_confirm"
216
+ placeholder='请选择'
217
+ :value.sync="model.f_confirm"
218
+ class="select select_list"
219
+ :options='$parent.$parent.confirms'
220
+ :value-single="true"
221
+ close-on-select ></v-select>
222
+ </div>
223
+ <div class="form-group col-sm-3">
224
+ <label class="font_normal_body">确&ensp;认&ensp;人:</label>
225
+ <input type="text" style="width: 60%"
226
+ class="input_search"
227
+ placeholder='确认人'
228
+ v-model="model.f_confirm_person"
229
+ condition="cr.f_confirm_person like '%{}%'">
230
+ </div>
231
+ <div class="form-group col-sm-3">
232
+ <label class="font_normal_body">确认时间:</label>
233
+ <datepicker id="startDate" placeholder="开始日期"
234
+ style="width: 60%!important;"
235
+ v-model="model.f_confirm_date"
236
+ :value.sync="model.f_confirm_date"
237
+ :format="'yyyy-MM-dd 00:00:00'"
238
+ :show-reset-button="true"
239
+ condition="cr.f_confirm_date >= '{}'">
240
+ </datepicker>
241
+ </div>
242
+ <div class="form-group col-sm-3">
243
+ <label class="font_normal_body">确认时间:</label>
244
+ <datepicker id="startDate" placeholder="结束日期"
245
+ style="width: 60%!important;"
246
+ v-model="model.f_confirm_date"
247
+ :value.sync="model.f_confirm_date"
248
+ :format="'yyyy-MM-dd 23:59:59'"
249
+ :show-reset-button="true"
250
+ condition="cr.f_confirm_date <= '{}'">
251
+ </datepicker>
252
+ </div>
253
+ </div>
254
+ </div>
255
+ </criteria>
256
+ <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
257
+ <template partial='head'>
258
+ <tr>
259
+ <th style="white-space: nowrap;">序号</th>
260
+ <th style="white-space: nowrap;">工程编号</th>
261
+ <th style="white-space: nowrap;">合同编号</th>
262
+ <th style="white-space: nowrap;">报建类型</th>
263
+ <th style="white-space: nowrap;">报建性质</th>
264
+ <th style="white-space: nowrap;" v-if="$parent.$parent.$parent.$login.f.f_role_name.includes('报建收费')">收费环节</th>
265
+ <th style="white-space: nowrap;">用户名称</th>
266
+ <th style="white-space: nowrap;">用户电话</th>
267
+ <th style="white-space: nowrap;">用户地址</th>
268
+ <th style="white-space: nowrap;">身份证号</th>
269
+ <th style="white-space: nowrap;">缴费编码</th>
270
+ <th style="white-space: nowrap;">收费项目</th>
271
+ <th style="white-space: nowrap;">收费金额(退款金额)</th>
272
+ <th style="white-space: nowrap;">付款方式</th>
273
+ <th style="white-space: nowrap;">流水号</th>
274
+ <th style="white-space: nowrap;">服务人</th>
275
+ <th style="white-space: nowrap;">报建发起人</th>
276
+ <th style="white-space: nowrap;">收费人员(退款人员)</th>
277
+ <th style="white-space: nowrap;">收费日期(退款日期)</th>
278
+ <th style="white-space: nowrap;">确认人</th>
279
+ <th style="white-space: nowrap;">确认日期</th>
280
+ <th style="white-space: nowrap;">备注</th>
281
+ <th style="white-space: nowrap;">实际收费时间</th>
282
+ <th style="white-space: nowrap;">状态</th>
283
+ </tr>
284
+ </template>
285
+ <template partial='body'>
286
+ <tr >
287
+ <td style="text-align: center;">
288
+ <nobr><font>{{$index+1}}</font></nobr>
289
+ </td>
290
+ <td style="text-align: center;">
291
+ <nobr><font>{{row.f_apply_num}}</font></nobr>
292
+ </td>
293
+ <td style="text-align: center;">
294
+ <nobr><font>{{row.f_contract_number}}</font></nobr>
295
+ </td>
296
+ <td style="text-align: center;">
297
+ <nobr><font>{{row.f_apply_type}}</font></nobr>
298
+ </td>
299
+ <td style="text-align: center;">
300
+ <nobr><font>{{row.f_apply_nature}}</font></nobr>
301
+ </td>
302
+ <td style="text-align: center;" v-if="$parent.$parent.$parent.$login.f.f_role_name.includes('报建收费')">
303
+ <nobr><font>
304
+ <a @click="$parent.$parent.$parent.showCharges(row)">{{row.defname}}</a>
305
+ </font></nobr>
306
+ </td>
307
+ <td style="text-align: center;">
308
+ <nobr><font>{{row.f_user_name}}</font></nobr>
309
+ </td>
310
+ <td style="text-align: center;">
311
+ <nobr><font>{{row.f_phone}}</font></nobr>
312
+ </td>
313
+ <td style="text-align: center;">
314
+ <nobr><font>{{row.f_address}}</font></nobr>
315
+ </td>
316
+ <td style="text-align: center;">
317
+ <nobr><font>{{row.f_idnumber}}</font></nobr>
318
+ </td>
319
+ <td style="text-align: center;">
320
+ <nobr><font>{{row.f_charge_number}}</font></nobr>
321
+ </td>
322
+ <td style="text-align: center;">
323
+ <nobr><font>{{row.f_payment_term}}</font></nobr>
324
+ </td>
325
+ <td style="text-align: center;">
326
+ <nobr><font>{{row.f_charge_money}}</font></nobr>
327
+ </td>
328
+ <td style="text-align: center;">
329
+ <nobr><font>{{row.f_payment_method}}</font></nobr>
330
+ </td>
331
+ <td style="text-align: center;">
332
+ <nobr><font>{{row.f_payer_number}}</font></nobr>
333
+ </td>
334
+ <td style="text-align: center;">
335
+ <nobr><font>{{row.f_servicer}}</font></nobr>
336
+ </td>
337
+ <td style="text-align: center;">
338
+ <nobr><font>{{row.f_operator}}</font></nobr>
339
+ </td>
340
+ <td style="text-align: center;">
341
+ <nobr><font>{{row.f_charge_collectors}}</font></nobr>
342
+ </td>
343
+ <td style="text-align: center;">
344
+ <nobr><font>{{row.f_charge_date}}</font></nobr>
345
+ </td>
346
+ <td style="text-align: center;">
347
+ <nobr><font>{{row.f_confirm_person}}</font></nobr>
348
+ </td>
349
+ <td style="text-align: center;">
350
+ <nobr><font>{{row.f_confirm_date}}</font></nobr>
351
+ </td>
352
+ <td style="text-align: center;">
353
+ <nobr><font>{{row.f_charge_remarks}}</font></nobr>
354
+ </td>
355
+ <td style="text-align: center;">
356
+ <nobr><font>{{row.f_actual_date}}</font></nobr>
357
+ </td>
358
+ <td style="text-align: center;">
359
+ <nobr><font>{{row.f_charge_status}}</font></nobr>
360
+ </td>
361
+ </tr>
362
+ </template>
363
+ </data-grid>
364
+ </criteria-paged>
365
+ <modal v-if="showCharge" :show.sync="showCharge" v-ref:modal :large="true" :backdrop="false" title="收费明细">
366
+ <header slot="modal-header" class="modal-header">
367
+ <button type="button" class="close" @click="showCharge = false"><span>&times;</span></button>
368
+ <h4 class="modal-title">收费明细</h4>
369
+ </header>
370
+ <article slot="modal-body" class="modal-body clearfix">
371
+ <div class="form-group col-sm-12">
372
+ <label class="col-sm-2 control-label">收费环节:</label>
373
+ <div class="col-sm-10">
374
+ <input-select width="100%" class="select select_list" placeholder='请选择'
375
+ v-model="charge.defname"
376
+ :value.sync="charge.defname"
377
+ :options='defnames'
378
+ :value-single="true"
379
+ close-on-select ></input-select>
380
+ </div>
381
+ </div>
382
+ </article>
383
+ <footer slot="modal-footer" class="modal-footer">
384
+ <button type="button" class="btn btn-primary" @click="savedefname()">确认修改</button>
385
+ </footer>
386
+ </modal>
387
+ </template>
388
+
389
+ <script>
390
+ import {PagedList} from 'vue-client'
391
+ import {HttpResetClass} from 'vue-client'
392
+ import {isEmpty} from "../../../components/Util";
393
+ export default {
394
+ title: '报建收费列表',
395
+ data () {
396
+ return {
397
+ model: new PagedList('rs/sql/getApplyCharge', 30, null, {
398
+ f_charge_money: 0
399
+ }),
400
+ curorgid: [this.$login.f.orgid],
401
+ curdepid: [],
402
+ servicerList:[],
403
+ operatorList:[],
404
+ curuserid: [],
405
+ paymentTerm :[{label: '全部', value: ''}, ...this.$appdata.getParam('收费项目')],
406
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
407
+ applyNatures: [{label: '全部', value: ''}], // 报建性质
408
+ paymentMethod: [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')],
409
+ chargeStatus: [
410
+ {label: '全部', value: ''},
411
+ {label: '有效', value: '有效'},
412
+ {label: '作废', value: '作废'},
413
+ {label: '退款', value: '退款'}
414
+ ],
415
+ confirms: [
416
+ {label: '全部', value: ''},
417
+ {label: '是', value: '是'},
418
+ {label: '否', value: '否'}
419
+ ],
420
+ criteriaShow: false,
421
+ chargeAll: {
422
+ count: 0,
423
+ sum: 0
424
+ },
425
+ showCharge: false,
426
+ charge: {},
427
+ defnames: [],
428
+ getfield: {
429
+ 'f_apply_num': '工程编号',
430
+ 'f_contract_number': '合同编号',
431
+ 'f_apply_type': '报建类型',
432
+ 'f_apply_nature': '报建性质',
433
+ 'f_user_name': '用户名称',
434
+ 'f_phone': '用户电话',
435
+ 'f_address': '用户地址',
436
+ 'f_idnumber': '身份证号',
437
+ 'f_charge_number': '缴费编码',
438
+ 'f_charge_money': '收费金额',
439
+ 'f_payment_method': '付款方式',
440
+ 'f_payer_number': '流水号',
441
+ 'f_charge_collectors': '收费人员',
442
+ 'f_charge_date': '收费日期',
443
+ 'f_actual_date': '实际收费时间',
444
+ 'f_confirm_person': '确认人',
445
+ 'f_confirm_date': '确认时间',
446
+ 'f_charge_remarks': '备注',
447
+ 'f_charge_status': '状态'
448
+ }
449
+ }
450
+ },
451
+ ready () {
452
+ // 调用查询
453
+ this.search()
454
+ this.getservicer()
455
+ this.getapplyoperator()
456
+ },
457
+ methods: {
458
+ showCharges(row){
459
+ this.showCharge = true
460
+ this.charge = row
461
+ this.defnames = this.$appdata.getParam(row.f_apply_type + '付款预设')
462
+ },
463
+ savedefname(){
464
+ if(isEmpty(this.charge.defname )){
465
+ return this.$showMessage('收费环节不能为空!!')
466
+ }
467
+ new HttpResetClass().load('POST', 'apply/rs/entity/t_charge_record', {
468
+ id: this.charge.id,
469
+ defname: this.charge.defname,
470
+ version: this.charge.version
471
+ }, {resolveMsg: '修改成功', rejectMsg: '修改失败'})
472
+ .then(res => {
473
+ this.showCharge = false
474
+ this.search()
475
+ })
476
+ },
477
+ async getservicer(){
478
+ let data = {
479
+ tablename: 't_user',
480
+ condition: `1=1`
481
+ }
482
+ let http = new HttpResetClass()
483
+ let res = await http.load(
484
+ 'POST',
485
+ `rs/sql/apply_singleTable`,
486
+ {data: data},
487
+ {resolveMsg: null, rejectMsg: '服务人查询失败!!!'}
488
+ )
489
+ res.data.forEach(item => {
490
+ this.servicerList.push({
491
+ 'label': item.name,
492
+ 'value': item.name
493
+ })
494
+ })},
495
+
496
+ async getapplyoperator(){
497
+ let data = {
498
+ condition: `1=1`
499
+ }
500
+ let http = new HttpResetClass()
501
+ let res = await http.load('POST', 'rs/sql/getapplyOperator', {data: data}, {resolveMsg: null, rejectMsg: null})
502
+ res.data.forEach(item => {
503
+ this.operatorList.push({
504
+ 'label': item.f_operator,
505
+ 'value': item.f_operator
506
+ })
507
+ })},
508
+
509
+ applyTypeChange () {
510
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
511
+ 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}性质`)]
512
+ } else {
513
+ this.applyNatures = [{label: '全部', value: ''}]
514
+ }
515
+ },
516
+ clear () {
517
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
518
+ this.$refs.cp.$refs.cri.model[key] = ''
519
+ })
520
+ this.curdepid = []
521
+ this.curuserid = []
522
+ },
523
+ searchCondition (args) {
524
+ args.condition = args.condition + ` and cr.f_orgid in (${this.curorgid})`
525
+ if (this.curdepid.length > 0) {
526
+ args.condition = args.condition + ` and cr.f_depid in (${this.curdepid})`
527
+ }
528
+ if (this.curuserid.length > 0) {
529
+ args.condition = args.condition + ` and cr.f_charge_collectors_id in (${this.curuserid})`
530
+ }
531
+ if (args.model.f_confirm){
532
+ if (args.model.f_confirm == '是'){
533
+ args.condition = args.condition + ` and cr.f_confirm_person is not null`
534
+ }
535
+ if (args.model.f_confirm == '否'){
536
+ args.condition = args.condition + ` and cr.f_confirm_person is null`
537
+ }
538
+
539
+ }
540
+ this.model.search(args.condition, args.model)
541
+ },
542
+ // 查询
543
+ search () {
544
+ this.$refs.cp.$refs.cri.search()
545
+ this.getChargeAll()
546
+ this.getapplyoperator()
547
+ },
548
+ async getChargeAll () {
549
+ let http = new HttpResetClass()
550
+ let data = {
551
+ condition: this.model.condition
552
+ }
553
+ let res = await http.load('POST', 'rs/sql/getChargeAll', {data: data}, {resolveMsg: null, rejectMsg: null})
554
+
555
+ this.chargeAll = res.data[0]
556
+ },
557
+ getuser (val) {
558
+ if (val.length <= 0) {
559
+ return
560
+ }
561
+ this.curuserid = val
562
+ this.search()
563
+ },
564
+ getdep (val) {
565
+ if (val.length <= 0) {
566
+ return
567
+ }
568
+ this.curdepid = val
569
+ this.curuserid = []
570
+ this.search()
571
+ },
572
+ getorg (val) {
573
+ if (val.length <= 0) {
574
+ return
575
+ }
576
+ this.curorgid = val
577
+ this.curdepid = []
578
+ this.curuserid = []
579
+ this.search()
580
+ },
581
+
582
+ },
583
+ computed: {
584
+ getCondition () {
585
+ return {
586
+ condition: this.model.condition
587
+ }
588
+ }
589
+ }
590
+ }
591
+ </script>
592
+
593
+ <style scoped>
594
+ </style>