apply-clients 3.5.6-5 → 3.5.6-8

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 (46) hide show
  1. package/build/dev-server.js +5 -5
  2. package/package.json +1 -1
  3. package/src/components/android/Process/AppServiceControl.vue +1760 -1760
  4. package/src/components/product/Function/Service/FunctionServiceControl.vue +497 -497
  5. package/src/components/product/Install/ContractCharge.vue +210 -210
  6. package/src/filiale/fugou/android/AppAddMaterialScience.vue +444 -444
  7. package/src/filiale/fugou/android/AppAddReplacement.vue +512 -512
  8. package/src/filiale/fugou/android/AppDevicesManagement.vue +516 -521
  9. package/src/filiale/fugou/android/AppInstallationDetails.vue +541 -542
  10. package/src/filiale/fugou/android/AppZhihuanManagement.vue +242 -242
  11. package/src/filiale/fugou/pc/AddReplacement.vue +511 -511
  12. package/src/filiale/fugou/pc/ApplyChargeList.vue +554 -554
  13. package/src/filiale/fugou/pc/Applybatchdispatch.vue +754 -754
  14. package/src/filiale/fugou/pc/InstallationDetails.vue +646 -646
  15. package/src/filiale/fugou/pc/ServiceControl.vue +1732 -1732
  16. package/src/filiale/fugou/pc/addMaterialScience.vue +481 -481
  17. package/src/filiale/fugou/pc.js +19 -19
  18. package/src/filiale/gongyi/pc/addressAndUserinfoManagement.vue +187 -187
  19. package/src/filiale/gongyi/pc.js +25 -25
  20. package/src/filiale/hongda/pc/addMaterialScience.vue +723 -723
  21. package/src/filiale/jinhuang/android/AppAddMaterialScience.vue +635 -635
  22. package/src/filiale/jinhuang/android/AppServiceControl.vue +1842 -1842
  23. package/src/filiale/jinhuang/android.js +7 -7
  24. package/src/filiale/jinhuang/pc/ContractList.vue +222 -220
  25. package/src/filiale/jinhuang/pc/ExplorationSelect.vue +511 -511
  26. package/src/filiale/jinhuang/pc/ServiceControl.vue +2016 -2016
  27. package/src/filiale/jinhuang/pc/SupervisoryList.vue +478 -478
  28. package/src/filiale/jinhuang/pc/addMaterialScience.vue +638 -638
  29. package/src/filiale/jinhuang/pc.js +12 -12
  30. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +786 -786
  31. package/src/filiale/qianneng/pc/ServiceControl.vue +1387 -1387
  32. package/src/filiale/ruihua/pc/ServiceControl.vue +1973 -1973
  33. package/src/filiale/shexian/android/AppServiceControl.vue +1786 -1786
  34. package/src/filiale/shexian/android/AppSign.vue +152 -152
  35. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +527 -527
  36. package/src/filiale/yangchunboneng/android/AppContractCharge.vue +222 -222
  37. package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +1144 -1144
  38. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1879 -1879
  39. package/src/filiale/yangchunboneng/android.js +21 -21
  40. package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +392 -392
  41. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +612 -612
  42. package/src/filiale/yangchunboneng/pc/SupervisoryControl.vue +141 -141
  43. package/src/filiale/yangchunboneng/pc/buildOrderList.vue +421 -421
  44. package/src/filiale/yangchunboneng/pc/printBuildOrder.vue +175 -175
  45. package/src/filiale/yangchunboneng/pc.js +29 -29
  46. package/src/main.js +3 -3
@@ -1,554 +1,554 @@
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 in {} "
182
- :value.sync="model.f_charge_status"
183
- :options='$parent.$parent.chargeStatus'
184
- class="select select_list"
185
- :multiple="true"
186
- ></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>
213
- </div>
214
- </criteria>
215
- <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
216
- <template partial='head'>
217
- <tr>
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
- <th style="white-space: nowrap;">流水号</th>
233
- <th style="white-space: nowrap;">服务人</th>
234
- <th style="white-space: nowrap;">报建发起人</th>
235
- <th style="white-space: nowrap;">收费人员(退款人员)</th>
236
- <th style="white-space: nowrap;">收费日期(退款日期)</th>
237
- <th style="white-space: nowrap;">实际收费时间</th>
238
- <th style="white-space: nowrap;">状态</th>
239
- <th style="white-space: nowrap;" v-if="$parent.$parent.$parent.showbutton">操作</th>
240
- </tr>
241
- </template>
242
- <template partial='body'>
243
- <tr >
244
- <td style="text-align: center;">
245
- <nobr><font>{{$index+1}}</font></nobr>
246
- </td>
247
- <td style="text-align: center;">
248
- <nobr><font>{{row.f_apply_num}}</font></nobr>
249
- </td>
250
- <td style="text-align: center;">
251
- <nobr><font>{{row.f_contract_number}}</font></nobr>
252
- </td>
253
- <td style="text-align: center;">
254
- <nobr><font>{{row.f_apply_type}}</font></nobr>
255
- </td>
256
- <td style="text-align: center;">
257
- <nobr><font>{{row.f_apply_nature}}</font></nobr>
258
- </td>
259
- <td style="text-align: center;">
260
- <nobr><font>{{row.f_user_name}}</font></nobr>
261
- </td>
262
- <td style="text-align: center;">
263
- <nobr><font>{{row.f_phone}}</font></nobr>
264
- </td>
265
- <td style="text-align: center;">
266
- <nobr><font>{{row.f_address}}</font></nobr>
267
- </td>
268
- <td style="text-align: center;">
269
- <nobr><font>{{row.f_idnumber}}</font></nobr>
270
- </td>
271
- <td style="text-align: center;">
272
- <nobr><font>{{row.f_social_credit_code}}</font></nobr>
273
- </td>
274
- <td style="text-align: center;">
275
- <nobr><font>{{row.f_charge_number}}</font></nobr>
276
- </td>
277
- <td style="text-align: center;">
278
- <nobr><font>{{row.f_payment_term}}</font></nobr>
279
- </td>
280
- <td style="text-align: center;">
281
- <nobr><font>{{row.f_charge_money}}</font></nobr>
282
- </td>
283
- <td style="text-align: center;">
284
- <nobr><font>{{row.f_payment_method}}</font></nobr>
285
- </td>
286
- <td style="text-align: center;">
287
- <nobr><font>{{row.f_payer_number}}</font></nobr>
288
- </td>
289
- <td style="text-align: center;">
290
- <nobr><font>{{row.f_servicer}}</font></nobr>
291
- </td>
292
- <td style="text-align: center;">
293
- <nobr><font>{{row.f_operator}}</font></nobr>
294
- </td>
295
- <td style="text-align: center;">
296
- <nobr><font>{{row.f_charge_collectors}}</font></nobr>
297
- </td>
298
- <td style="text-align: center;">
299
- <nobr><font>{{row.f_charge_date}}</font></nobr>
300
- </td>
301
- <td style="text-align: center;">
302
- <nobr><font>{{row.f_actual_date}}</font></nobr>
303
- </td>
304
- <td style="text-align: center;">
305
- <nobr><font>{{row.f_charge_status}}</font></nobr>
306
- </td>
307
- <td style="text-align: center;" v-if="$parent.$parent.$parent.showbutton">
308
- <nobr>
309
- <button
310
- type="button" name="button" class="btn btn-link"
311
- @click="$parent.$parent.$parent.ChangeRecods(row)">修改</button>
312
- </nobr>
313
- </td>
314
- </tr>
315
- </template>
316
- </data-grid>
317
- </criteria-paged>
318
- <validator name="v">
319
- <modal v-if="showCharge" :show.sync="showCharge" v-ref:modal :large="true" :backdrop="false" title="收费明细">
320
- <header slot="modal-header" class="modal-header">
321
- <button type="button" class="close" @click="closeModal"><span>&times;</span></button>
322
- <h4 class="modal-title">收费明细</h4>
323
- </header>
324
- <article slot="modal-body" class="modal-body clearfix">
325
- <div class="form-group col-sm-12" >
326
- <label class="col-sm-2 control-label">收费项目:</label>
327
- <div class="col-sm-10">
328
- <input type="text" v-show="false" v-model="records.f_payment_term" v-validate:f_payment_term = "['required']" >
329
- <input-select width="100%" class="select select_list" placeholder='请选择'
330
- v-model="records.f_payment_term"
331
- :value.sync="records.f_payment_term"
332
- :options='paymentTerm'
333
- :value-single="true"
334
- close-on-select ></input-select>
335
- </div>
336
- </div>
337
- <div class="form-group col-sm-12" >
338
- <label class="col-sm-2 control-label">状态:</label>
339
- <div class="col-sm-10">
340
- <input-select width="100%" class="select select_list" placeholder='请选择'
341
- v-model="records.f_charge_status"
342
- :value.sync="records.f_charge_status"
343
- :options='chargeStatus'
344
- :value-single="true"
345
- close-on-select ></input-select>
346
- </div>
347
- </div>
348
- </article>
349
- <footer slot="modal-footer" class="modal-footer">
350
- <button type="button" class="btn btn-primary" @click="saveCharge()">确认</button>
351
- </footer>
352
- </modal>
353
- </validator>
354
- </template>
355
-
356
- <script>
357
- import {PagedList} from 'vue-client'
358
- import {HttpResetClass} from 'vue-client'
359
- import {isEmpty} from '../../../components/Util'
360
- export default {
361
- title: '报建收费列表',
362
- data () {
363
- return {
364
- model: new PagedList('rs/sql/getApplyCharge', 30, null, {
365
- f_charge_money: 0
366
- }),
367
- charge:{},
368
- curorgid: [this.$login.f.orgid],
369
- curdepid: [],
370
- servicerList:[],
371
- operatorList:[],
372
- curuserid: [],
373
- paymentTerm :[{label: '全部', value: ''}, ...this.$appdata.getParam('收费项目')],
374
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
375
- applyNatures: [{label: '全部', value: ''}], // 报建性质
376
- paymentMethod: [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')],
377
- chargeStatus: [
378
- {label: '全部', value: ''},
379
- {label: '有效', value: '有效'},
380
- {label: '作废', value: '作废'},
381
- {label: '退款', value: '退款'}
382
- ],
383
- criteriaShow: false,
384
- chargeAll: {
385
- count: 0,
386
- sum: 0
387
- },
388
- getfield: {
389
- 'f_apply_num': '工程编号',
390
- 'f_contract_number': '合同编号',
391
- 'f_apply_type': '报建类型',
392
- 'f_apply_nature': '报建性质',
393
- 'f_user_name': '用户名称',
394
- 'f_phone': '用户电话',
395
- 'f_address': '用户地址',
396
- 'f_idnumber': '身份证号',
397
- 'f_charge_number': '缴费编码',
398
- 'f_charge_money': '收费金额',
399
- 'f_payment_method': '付款方式',
400
- 'f_payer_number': '流水号',
401
- 'f_charge_collectors': '收费人员',
402
- 'f_charge_date': '收费日期',
403
- 'f_actual_date': '实际收费时间',
404
- 'f_charge_status': '状态',
405
- 'f_payment_term': '收费项目'
406
- },
407
- records:{},
408
- showbutton:false,
409
- showCharge:false
410
- }
411
- },
412
- ready () {
413
- //设置默认时间为今天
414
- this.$refs.cp.$refs.cri.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
415
- this.$refs.cp.$refs.cri.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
416
- // 调用查询
417
- this.search()
418
- this.getservicer()
419
- this.getapplyoperator()
420
- if( this.$login.f.rolestr.includes("报建收费明细修改")){
421
- this.showbutton=true
422
- }
423
- },
424
- methods: {
425
- ChangeRecods(row){
426
- this.records = row
427
- this.showCharge= true
428
- },
429
- closeModal(){
430
- this.records = {}
431
- this.showCharge= false
432
- },
433
- saveCharge(){
434
- let sql = `update t_charge_record set f_payment_term= '${this.records.f_payment_term}' ,f_charge_status='${this.records.f_charge_status}' where id= '${this.records.id}'`
435
- let http = new HttpResetClass()
436
- http.load('post','/rs/logic/runSQL', {data: {sql: sql}},{rejectMsg:null,resolveMsg:'修改成功!!'}).then(res=>{
437
- this.records = {}
438
- this.showCharge= false
439
- })
440
- },
441
- async getservicer(){
442
- let data = {
443
- tablename: 't_user',
444
- condition: `1=1`
445
- }
446
- let http = new HttpResetClass()
447
- let res = await http.load(
448
- 'POST',
449
- `rs/sql/apply_singleTable`,
450
- {data: data},
451
- {resolveMsg: null, rejectMsg: '服务人查询失败!!!'}
452
- )
453
- res.data.forEach(item => {
454
- this.servicerList.push({
455
- 'label': item.name,
456
- 'value': item.name
457
- })
458
- })},
459
-
460
- async getapplyoperator(){
461
- let data = {
462
- condition: `1=1`
463
- }
464
- let http = new HttpResetClass()
465
- let res = await http.load('POST', 'rs/sql/getapplyOperator', {data: data}, {resolveMsg: null, rejectMsg: null})
466
- res.data.forEach(item => {
467
- this.operatorList.push({
468
- 'label': item.f_operator,
469
- 'value': item.f_operator
470
- })
471
- })},
472
-
473
- applyTypeChange () {
474
- if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
475
- 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}性质`)]
476
- } else {
477
- this.applyNatures = [{label: '全部', value: ''}]
478
- }
479
- },
480
- clear () {
481
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
482
- this.$refs.cp.$refs.cri.model[key] = ''
483
- })
484
- this.curdepid = []
485
- this.curuserid = []
486
- },
487
- searchCondition (args) {
488
- args.condition = args.condition + ` and cr.f_orgid in (${this.curorgid})`
489
- if (this.curdepid.length > 0) {
490
- args.condition = args.condition + ` and cr.f_depid in (${this.curdepid})`
491
- }
492
- if (this.curuserid.length > 0) {
493
- args.condition = args.condition + ` and cr.f_charge_collectors_id in (${this.curuserid})`
494
- }
495
-
496
- if(args.model.f_charge_status.length==0){
497
- args.condition+=` and cr.f_charge_status in ('有效','退款')`
498
- }
499
-
500
- this.model.search(args.condition, args.model)
501
- },
502
- // 查询
503
- search () {
504
- this.$refs.cp.$refs.cri.search()
505
- this.getChargeAll()
506
- this.getapplyoperator()
507
- },
508
- async getChargeAll () {
509
- let http = new HttpResetClass()
510
- let data = {
511
- condition: this.model.condition
512
- }
513
- let res = await http.load('POST', 'rs/sql/getChargeAll', {data: data}, {resolveMsg: null, rejectMsg: null})
514
-
515
- this.chargeAll = res.data[0]
516
- },
517
- getuser (val) {
518
- if (val.length <= 0) {
519
- return
520
- }
521
- this.curuserid = val
522
- this.search()
523
- },
524
- getdep (val) {
525
- if (val.length <= 0) {
526
- return
527
- }
528
- this.curdepid = val
529
- this.curuserid = []
530
- this.search()
531
- },
532
- getorg (val) {
533
- if (val.length <= 0) {
534
- return
535
- }
536
- this.curorgid = val
537
- this.curdepid = []
538
- this.curuserid = []
539
- this.search()
540
- },
541
-
542
- },
543
- computed: {
544
- getCondition () {
545
- return {
546
- condition: this.model.condition
547
- }
548
- }
549
- }
550
- }
551
- </script>
552
-
553
- <style scoped>
554
- </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 in {} "
182
+ :value.sync="model.f_charge_status"
183
+ :options='$parent.$parent.chargeStatus'
184
+ class="select select_list"
185
+ :multiple="true"
186
+ ></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>
213
+ </div>
214
+ </criteria>
215
+ <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
216
+ <template partial='head'>
217
+ <tr>
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
+ <th style="white-space: nowrap;">流水号</th>
233
+ <th style="white-space: nowrap;">服务人</th>
234
+ <th style="white-space: nowrap;">报建发起人</th>
235
+ <th style="white-space: nowrap;">收费人员(退款人员)</th>
236
+ <th style="white-space: nowrap;">收费日期(退款日期)</th>
237
+ <th style="white-space: nowrap;">实际收费时间</th>
238
+ <th style="white-space: nowrap;">状态</th>
239
+ <th style="white-space: nowrap;" v-if="$parent.$parent.$parent.showbutton">操作</th>
240
+ </tr>
241
+ </template>
242
+ <template partial='body'>
243
+ <tr >
244
+ <td style="text-align: center;">
245
+ <nobr><font>{{$index+1}}</font></nobr>
246
+ </td>
247
+ <td style="text-align: center;">
248
+ <nobr><font>{{row.f_apply_num}}</font></nobr>
249
+ </td>
250
+ <td style="text-align: center;">
251
+ <nobr><font>{{row.f_contract_number}}</font></nobr>
252
+ </td>
253
+ <td style="text-align: center;">
254
+ <nobr><font>{{row.f_apply_type}}</font></nobr>
255
+ </td>
256
+ <td style="text-align: center;">
257
+ <nobr><font>{{row.f_apply_nature}}</font></nobr>
258
+ </td>
259
+ <td style="text-align: center;">
260
+ <nobr><font>{{row.f_user_name}}</font></nobr>
261
+ </td>
262
+ <td style="text-align: center;">
263
+ <nobr><font>{{row.f_phone}}</font></nobr>
264
+ </td>
265
+ <td style="text-align: center;">
266
+ <nobr><font>{{row.f_address}}</font></nobr>
267
+ </td>
268
+ <td style="text-align: center;">
269
+ <nobr><font>{{row.f_idnumber}}</font></nobr>
270
+ </td>
271
+ <td style="text-align: center;">
272
+ <nobr><font>{{row.f_social_credit_code}}</font></nobr>
273
+ </td>
274
+ <td style="text-align: center;">
275
+ <nobr><font>{{row.f_charge_number}}</font></nobr>
276
+ </td>
277
+ <td style="text-align: center;">
278
+ <nobr><font>{{row.f_payment_term}}</font></nobr>
279
+ </td>
280
+ <td style="text-align: center;">
281
+ <nobr><font>{{row.f_charge_money}}</font></nobr>
282
+ </td>
283
+ <td style="text-align: center;">
284
+ <nobr><font>{{row.f_payment_method}}</font></nobr>
285
+ </td>
286
+ <td style="text-align: center;">
287
+ <nobr><font>{{row.f_payer_number}}</font></nobr>
288
+ </td>
289
+ <td style="text-align: center;">
290
+ <nobr><font>{{row.f_servicer}}</font></nobr>
291
+ </td>
292
+ <td style="text-align: center;">
293
+ <nobr><font>{{row.f_operator}}</font></nobr>
294
+ </td>
295
+ <td style="text-align: center;">
296
+ <nobr><font>{{row.f_charge_collectors}}</font></nobr>
297
+ </td>
298
+ <td style="text-align: center;">
299
+ <nobr><font>{{row.f_charge_date}}</font></nobr>
300
+ </td>
301
+ <td style="text-align: center;">
302
+ <nobr><font>{{row.f_actual_date}}</font></nobr>
303
+ </td>
304
+ <td style="text-align: center;">
305
+ <nobr><font>{{row.f_charge_status}}</font></nobr>
306
+ </td>
307
+ <td style="text-align: center;" v-if="$parent.$parent.$parent.showbutton">
308
+ <nobr>
309
+ <button
310
+ type="button" name="button" class="btn btn-link"
311
+ @click="$parent.$parent.$parent.ChangeRecods(row)">修改</button>
312
+ </nobr>
313
+ </td>
314
+ </tr>
315
+ </template>
316
+ </data-grid>
317
+ </criteria-paged>
318
+ <validator name="v">
319
+ <modal v-if="showCharge" :show.sync="showCharge" v-ref:modal :large="true" :backdrop="false" title="收费明细">
320
+ <header slot="modal-header" class="modal-header">
321
+ <button type="button" class="close" @click="closeModal"><span>&times;</span></button>
322
+ <h4 class="modal-title">收费明细</h4>
323
+ </header>
324
+ <article slot="modal-body" class="modal-body clearfix">
325
+ <div class="form-group col-sm-12" >
326
+ <label class="col-sm-2 control-label">收费项目:</label>
327
+ <div class="col-sm-10">
328
+ <input type="text" v-show="false" v-model="records.f_payment_term" v-validate:f_payment_term = "['required']" >
329
+ <input-select width="100%" class="select select_list" placeholder='请选择'
330
+ v-model="records.f_payment_term"
331
+ :value.sync="records.f_payment_term"
332
+ :options='paymentTerm'
333
+ :value-single="true"
334
+ close-on-select ></input-select>
335
+ </div>
336
+ </div>
337
+ <div class="form-group col-sm-12" >
338
+ <label class="col-sm-2 control-label">状态:</label>
339
+ <div class="col-sm-10">
340
+ <input-select width="100%" class="select select_list" placeholder='请选择'
341
+ v-model="records.f_charge_status"
342
+ :value.sync="records.f_charge_status"
343
+ :options='chargeStatus'
344
+ :value-single="true"
345
+ close-on-select ></input-select>
346
+ </div>
347
+ </div>
348
+ </article>
349
+ <footer slot="modal-footer" class="modal-footer">
350
+ <button type="button" class="btn btn-primary" @click="saveCharge()">确认</button>
351
+ </footer>
352
+ </modal>
353
+ </validator>
354
+ </template>
355
+
356
+ <script>
357
+ import {PagedList} from 'vue-client'
358
+ import {HttpResetClass} from 'vue-client'
359
+ import {isEmpty} from '../../../components/Util'
360
+ export default {
361
+ title: '报建收费列表',
362
+ data () {
363
+ return {
364
+ model: new PagedList('rs/sql/getApplyCharge', 30, null, {
365
+ f_charge_money: 0
366
+ }),
367
+ charge:{},
368
+ curorgid: [this.$login.f.orgid],
369
+ curdepid: [],
370
+ servicerList:[],
371
+ operatorList:[],
372
+ curuserid: [],
373
+ paymentTerm :[{label: '全部', value: ''}, ...this.$appdata.getParam('收费项目')],
374
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
375
+ applyNatures: [{label: '全部', value: ''}], // 报建性质
376
+ paymentMethod: [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')],
377
+ chargeStatus: [
378
+ {label: '全部', value: ''},
379
+ {label: '有效', value: '有效'},
380
+ {label: '作废', value: '作废'},
381
+ {label: '退款', value: '退款'}
382
+ ],
383
+ criteriaShow: false,
384
+ chargeAll: {
385
+ count: 0,
386
+ sum: 0
387
+ },
388
+ getfield: {
389
+ 'f_apply_num': '工程编号',
390
+ 'f_contract_number': '合同编号',
391
+ 'f_apply_type': '报建类型',
392
+ 'f_apply_nature': '报建性质',
393
+ 'f_user_name': '用户名称',
394
+ 'f_phone': '用户电话',
395
+ 'f_address': '用户地址',
396
+ 'f_idnumber': '身份证号',
397
+ 'f_charge_number': '缴费编码',
398
+ 'f_charge_money': '收费金额',
399
+ 'f_payment_method': '付款方式',
400
+ 'f_payer_number': '流水号',
401
+ 'f_charge_collectors': '收费人员',
402
+ 'f_charge_date': '收费日期',
403
+ 'f_actual_date': '实际收费时间',
404
+ 'f_charge_status': '状态',
405
+ 'f_payment_term': '收费项目'
406
+ },
407
+ records:{},
408
+ showbutton:false,
409
+ showCharge:false
410
+ }
411
+ },
412
+ ready () {
413
+ //设置默认时间为今天
414
+ this.$refs.cp.$refs.cri.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
415
+ this.$refs.cp.$refs.cri.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
416
+ // 调用查询
417
+ this.search()
418
+ this.getservicer()
419
+ this.getapplyoperator()
420
+ if( this.$login.f.rolestr.includes("报建收费明细修改")){
421
+ this.showbutton=true
422
+ }
423
+ },
424
+ methods: {
425
+ ChangeRecods(row){
426
+ this.records = row
427
+ this.showCharge= true
428
+ },
429
+ closeModal(){
430
+ this.records = {}
431
+ this.showCharge= false
432
+ },
433
+ saveCharge(){
434
+ let sql = `update t_charge_record set f_payment_term= '${this.records.f_payment_term}' ,f_charge_status='${this.records.f_charge_status}' where id= '${this.records.id}'`
435
+ let http = new HttpResetClass()
436
+ http.load('post','/rs/logic/runSQL', {data: {sql: sql}},{rejectMsg:null,resolveMsg:'修改成功!!'}).then(res=>{
437
+ this.records = {}
438
+ this.showCharge= false
439
+ })
440
+ },
441
+ async getservicer(){
442
+ let data = {
443
+ tablename: 't_user',
444
+ condition: `1=1`
445
+ }
446
+ let http = new HttpResetClass()
447
+ let res = await http.load(
448
+ 'POST',
449
+ `rs/sql/apply_singleTable`,
450
+ {data: data},
451
+ {resolveMsg: null, rejectMsg: '服务人查询失败!!!'}
452
+ )
453
+ res.data.forEach(item => {
454
+ this.servicerList.push({
455
+ 'label': item.name,
456
+ 'value': item.name
457
+ })
458
+ })},
459
+
460
+ async getapplyoperator(){
461
+ let data = {
462
+ condition: `1=1`
463
+ }
464
+ let http = new HttpResetClass()
465
+ let res = await http.load('POST', 'rs/sql/getapplyOperator', {data: data}, {resolveMsg: null, rejectMsg: null})
466
+ res.data.forEach(item => {
467
+ this.operatorList.push({
468
+ 'label': item.f_operator,
469
+ 'value': item.f_operator
470
+ })
471
+ })},
472
+
473
+ applyTypeChange () {
474
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
475
+ 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}性质`)]
476
+ } else {
477
+ this.applyNatures = [{label: '全部', value: ''}]
478
+ }
479
+ },
480
+ clear () {
481
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
482
+ this.$refs.cp.$refs.cri.model[key] = ''
483
+ })
484
+ this.curdepid = []
485
+ this.curuserid = []
486
+ },
487
+ searchCondition (args) {
488
+ args.condition = args.condition + ` and cr.f_orgid in (${this.curorgid})`
489
+ if (this.curdepid.length > 0) {
490
+ args.condition = args.condition + ` and cr.f_depid in (${this.curdepid})`
491
+ }
492
+ if (this.curuserid.length > 0) {
493
+ args.condition = args.condition + ` and cr.f_charge_collectors_id in (${this.curuserid})`
494
+ }
495
+
496
+ if(args.model.f_charge_status.length==0){
497
+ args.condition+=` and cr.f_charge_status in ('有效','退款')`
498
+ }
499
+
500
+ this.model.search(args.condition, args.model)
501
+ },
502
+ // 查询
503
+ search () {
504
+ this.$refs.cp.$refs.cri.search()
505
+ this.getChargeAll()
506
+ this.getapplyoperator()
507
+ },
508
+ async getChargeAll () {
509
+ let http = new HttpResetClass()
510
+ let data = {
511
+ condition: this.model.condition
512
+ }
513
+ let res = await http.load('POST', 'rs/sql/getChargeAll', {data: data}, {resolveMsg: null, rejectMsg: null})
514
+
515
+ this.chargeAll = res.data[0]
516
+ },
517
+ getuser (val) {
518
+ if (val.length <= 0) {
519
+ return
520
+ }
521
+ this.curuserid = val
522
+ this.search()
523
+ },
524
+ getdep (val) {
525
+ if (val.length <= 0) {
526
+ return
527
+ }
528
+ this.curdepid = val
529
+ this.curuserid = []
530
+ this.search()
531
+ },
532
+ getorg (val) {
533
+ if (val.length <= 0) {
534
+ return
535
+ }
536
+ this.curorgid = val
537
+ this.curdepid = []
538
+ this.curuserid = []
539
+ this.search()
540
+ },
541
+
542
+ },
543
+ computed: {
544
+ getCondition () {
545
+ return {
546
+ condition: this.model.condition
547
+ }
548
+ }
549
+ }
550
+ }
551
+ </script>
552
+
553
+ <style scoped>
554
+ </style>