sale-client 4.2.27 → 4.2.28

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 (60) hide show
  1. package/.gradle/8.10/checksums/checksums.lock +0 -0
  2. package/.gradle/8.10/dependencies-accessors/gc.properties +0 -0
  3. package/.gradle/8.10/executionHistory/executionHistory.bin +0 -0
  4. package/.gradle/8.10/executionHistory/executionHistory.lock +0 -0
  5. package/.gradle/8.10/fileChanges/last-build.bin +0 -0
  6. package/.gradle/8.10/fileHashes/fileHashes.bin +0 -0
  7. package/.gradle/8.10/fileHashes/fileHashes.lock +0 -0
  8. package/.gradle/8.10/gc.properties +0 -0
  9. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  10. package/.gradle/buildOutputCleanup/cache.properties +2 -0
  11. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  12. package/.gradle/file-system.probe +0 -0
  13. package/.gradle/vcs-1/gc.properties +0 -0
  14. package/.npmignore +12 -0
  15. package/build/dev-server.js +32 -40
  16. package/package.json +1 -1
  17. package/src/.npmignore +1 -0
  18. package/src/App.vue +1 -1
  19. package/src/components/revenue/HandManager/MeterBookUser.vue +726 -726
  20. package/src/components/revenue/comprehen/ComprehenOperation/QrPay/QrPaymentDetailed.vue +423 -423
  21. package/src/components/revenue/comprehen/Maintenance/hand/handOperate.vue +469 -469
  22. package/src/components/revenue/machineHandManage/ArrearsQuery.vue +938 -938
  23. package/src/components/webMeter/MeterManage/WebMeterBatchOperationValve.vue +970 -970
  24. package/src/filiale/alashan/eticket/EticketRecordList.vue +428 -428
  25. package/src/filiale/bayan/ChargeList.vue +1010 -1010
  26. package/src/filiale/bayan/StockListmain.vue +543 -543
  27. package/src/filiale/beifangshiye/OtherChargeNew.vue +625 -625
  28. package/src/filiale/lixianV3/ArrearsQuery.vue +938 -938
  29. package/src/filiale/lixianV3/InsuranceChargesDetails.vue +425 -425
  30. package/src/filiale/meihekou/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +281 -281
  31. package/src/filiale/qianneng/revenue/sms/AccountMessageList.vue +508 -508
  32. package/src/filiale/qingjian/FileUserFiles.vue +55 -2
  33. package/src/filiale/ronghao/ArrearsQuery.vue +974 -974
  34. package/src/filiale/ronghao/CardService.js +2144 -2144
  35. package/src/filiale/ronghao/InsuranceManage.vue +58 -58
  36. package/src/filiale/ronghao/MachineChargeService.js +149 -149
  37. package/src/filiale/ronghao/NoCardMeterCenter.vue +534 -534
  38. package/src/filiale/ronghao/PaymentCode.vue +174 -174
  39. package/src/filiale/ronghao/PriceChangeCompensation/CompensationManage.vue +26 -26
  40. package/src/filiale/ronghao/PriceChangeCompensation/IotCompensation.vue +318 -318
  41. package/src/filiale/ronghao/PriceChangeCompensation/JbCompensation.vue +343 -343
  42. package/src/filiale/ronghao/PriceChangeCompensation/SurplusRecordDetail.vue +74 -74
  43. package/src/filiale/ronghao/ReplaceCardManage.vue +415 -415
  44. package/src/filiale/ronghao/Upload.vue +654 -654
  45. package/src/filiale/ronghao/cardDown.vue +1141 -1141
  46. package/src/filiale/ronghao/changemeterOperate.vue +315 -315
  47. package/src/filiale/ronghao/fillgasSpecific.vue +313 -313
  48. package/src/filiale/ronghao/ic_detail/ChargeRecordQuery.vue +106 -106
  49. package/src/filiale/ronghao/ic_detail/WatchCollection.vue +115 -115
  50. package/src/filiale/ronghao/ic_detail/WebHandQueryUser.vue +411 -411
  51. package/src/filiale/ronghao/machineDown.vue +1176 -1176
  52. package/src/filiale/ronghao/replacementSingleInfoOperation.vue +315 -315
  53. package/src/filiale/ronghao/specificInformation.vue +537 -537
  54. package/src/filiale/yangchun/ChargeList.vue +954 -954
  55. package/src/filiale/yuncheng/changemeterListMaintain.vue +504 -504
  56. package/src/filiale/zhongsheng/BlackListList.vue +293 -293
  57. package/src/filiale/zhongyi/HandQueryUser.vue +389 -389
  58. package/src/main.js +1 -1
  59. package/src/plugins/CardService.js +2217 -2217
  60. package/yarn.lock +12208 -0
@@ -1,425 +1,425 @@
1
- <<template>
2
- <div :class="{'basic-main':!showItem,'binary-left':showItem}" style="height:98%;" >
3
- <div style="flex: 1.5" class="flex">
4
- <div class="flex">
5
- <criteria-paged :model="model" v-ref:paged>
6
- <criteria partial='criteria' v-ref:criteria @condition-changed="$parent.selfSearch">
7
- <div novalidate class="form-inline auto" novalidate partial>
8
- <div class="row">
9
- <div class="col-sm-2 form-group">
10
- <label class="font_normal_body" for="f_userinfo_code">客户编号</label>
11
- <input id="f_userinfo_code" type="text" class="input_search" style="width: 60%" v-model="model.f_userinfo_code"
12
- condition="f_userinfo_code = '{}'" placeholder='请输入要查询的客户编号'>
13
- </div>
14
- <div class="col-sm-2 form-group">
15
- <label class="font_normal_body" for="f_user_name">客户姓名</label>
16
- <input id="f_user_name" type="text" class="input_search" style="width: 60%" v-model="model.f_user_name"
17
- condition="f_user_name like '%{}%'" placeholder='请输入要查询的客户姓名'>
18
- </div>
19
- <div class="col-sm-2 form-group">
20
- <label class="font_normal_body" for="f_insurance_type">险&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;种</label>
21
- <v-select id="f_insurance_type"
22
- v-model="model.f_insurance_type"
23
- placeholder='请选择'
24
- condition="f_insurance_type ='{}'"
25
- :value.sync="model.f_insurance_type"
26
- :options='$parent.$parent.insuranceType'
27
- close-on-select clear-button>
28
- </v-select>
29
- </div>
30
- <div class="col-sm-2 form-group">
31
- <label class="font_normal_body" for="f_days">到期天数内</label>
32
- <input id="f_days" type="text" class="input_search" style="width: 60%" v-model="model.f_days"
33
- condition="f_days < {}" placeholder='请输入天数到期天数之内'>
34
- </div>
35
- <div style="float: right">
36
- <button class="button_search" @click="search()">查 询</button>
37
- <export-excel :data="$parent.$parent.getCondition"
38
- :field="$parent.$parent.getExportField"
39
- sqlurl="api/af-revenue/logic/saleExport" sql-name="getInsuranceChargesList" template-name='保险明细查询导出'
40
- :choose-col="true"></export-excel>
41
- <div class="button_spacing" style="float:right;"
42
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
43
- @click="$parent.$parent.hidden()"></div>
44
- </div>
45
- </div>
46
- <div class="row" v-show="$parent.$parent.criteriaShow" >
47
- <res-select-group :initres="$parent.$parent.initres" :show-component="['company','department','operator']" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
48
- <div class="col-sm-2 form-group">
49
- <label class="font_normal_body">购买年限</label>
50
- <input type="text" class="input_search" style="width: 60%" v-model="model.f_salecount"
51
- condition="f_salecount = '{}'" placeholder='购买年限'>
52
- </div>
53
- <div class="col-sm-2 form-group">
54
- <label class="font_normal_body" for="f_state">状&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;态</label>
55
- <v-select id="f_state"
56
- v-model="model.f_state"
57
- placeholder='请选择'
58
- condition="f_state ='{}'"
59
- :value.sync="model.f_state"
60
- :options='$parent.$parent.state'
61
- close-on-select clear-button>
62
- </v-select>
63
- </div>
64
- <div class="col-sm-2 form-group">
65
- <label class="font_normal_body" for="f_state">收款方式</label>
66
- <v-select id="f_state"
67
- v-model="model.f_payment"
68
- placeholder='请选择'
69
- condition="f_payment ='{}'"
70
- :value.sync="model.f_payment"
71
- :options='$parent.$parent.payment'
72
- close-on-select clear-button>
73
- </v-select>
74
- </div>
75
- <div class="col-sm-2 form-group">
76
- <label class="font_normal_body" for="f_user_name">客户地址</label>
77
- <input id="f_address" type="text" class="input_search" style="width: 60%" v-model="model.f_address"
78
- condition="f_address like '%{}%'" placeholder='请输入要查询的客户地址'>
79
- </div>
80
- <div class="col-sm-2 form-group">
81
- <label class="font_normal_body" for="f_user_name">客户电话</label>
82
- <input id="f_user_phone" type="text" class="input_search" style="width: 60%" v-model="model.f_user_phone"
83
- condition="f_user_phone like '%{}%'" placeholder='请输入要查询的客户电话'>
84
- </div>
85
- <div class="col-sm-2 form-group">
86
- <label class="font_normal_body" for="f_user_name">身份证号</label>
87
- <input id="f_idnumber" type="text" class="input_search" style="width: 60%" v-model="model.f_idnumber"
88
- condition="f_idnumber like '%{}%'" placeholder='请输入要查询的身份证号'>
89
- </div>
90
- <div class="col-sm-2 form-group">
91
- <label class="font_normal_body" for="f_user_name">保险单号</label>
92
- <input id="f_ins_number" type="text" class="input_search" style="width: 60%" v-model="model.f_ins_number"
93
- condition="f_ins_number like '%{}%'" placeholder='请输入要查询的保险单号'>
94
- </div>
95
- <div class="col-sm-2 form-group">
96
- <label class="font_normal_body" for="f_user_name">备注信息</label>
97
- <input id="f_comments" type="text" class="input_search" style="width: 60%" v-model="model.f_comments"
98
- condition="f_comments like '%{}%'" placeholder='请输入要查询的备注信息'>
99
- </div>
100
- <div class="col-sm-2 form-group">
101
- <label class="font_normal_body">开始时间</label>
102
- <datepicker :format="'yyyy-MM-dd 00:00:00'"
103
- :value.sync="model.f_ins_start_date"
104
- placeholder="缴费开始时间"
105
- condition="f_operate_date >= '{}'"
106
- v-model="model.f_ins_start_date" style="width: 55%">
107
- </datepicker>
108
- </div>
109
- <div class="col-sm-2 form-group">
110
- <label class="font_normal_body">结束时间</label>
111
- <datepicker :format="'yyyy-MM-dd 23:59:59'"
112
- :value.sync="model.f_expiration_date"
113
- placeholder="缴费结束时间"
114
- condition="f_operate_date <= '{}'"
115
- v-model="model.f_expiration_date" style="width: 55%">
116
- </datepicker>
117
- </div>
118
- <div class="col-sm-2 form-group">
119
- <input class="input_search" style="width:60%" type="text" v-model="model.f_gasproperties" v-show="false">
120
- <label class="font_normal_body" for="f_gasproperties">用气性质</label>
121
- <v-select :options='$parent.$parent.gastype'
122
- :value-single="true"
123
- :value.sync="model.f_gasproperties"
124
- close-on-select
125
- condition="f_gasproperties ='{}'"
126
- clear-button
127
- placeholder='请选择'
128
- v-model="model.f_gasproperties">
129
- </v-select>
130
- </div>
131
- </div>
132
- </div>
133
-
134
- </criteria>
135
- <data-grid :model="model" v-ref:grid class="list_area table_sy" partial='list'>
136
- <template partial='head'>
137
- <tr>
138
- <th>
139
- <nobr>序号</nobr>
140
- </th>
141
- <th>
142
- <nobr>客户编号</nobr>
143
- </th>
144
- <th>
145
- <nobr>投保人</nobr>
146
- </th>
147
- <th>
148
- <nobr>客户地址</nobr>
149
- </th>
150
- <th>
151
- <nobr>身份证号</nobr>
152
- </th>
153
- <th>
154
- <nobr>电话</nobr>
155
- </th>
156
- <th>
157
- <nobr>费用类型</nobr>
158
- </th>
159
- <th>
160
- <nobr>购买日期</nobr>
161
- </th>
162
- <th>
163
- <nobr>到期日期</nobr>
164
- </th>
165
- <th>
166
- <nobr>保费开始日期</nobr>
167
- </th>
168
- <th>
169
- <nobr>上期保费截至日期</nobr>
170
- </th>
171
- <th>
172
- <nobr>到期剩余天数</nobr>
173
- </th>
174
- <th>
175
- <nobr>金额</nobr>
176
- </th>
177
- <th>
178
- <nobr>收款方式</nobr>
179
- </th>
180
- <th>
181
- <nobr>状态</nobr>
182
- </th>
183
- <th>
184
- <nobr>缴费时间</nobr>
185
- </th>
186
- <th>
187
- <nobr>保险单号</nobr>
188
- </th>
189
- <th>
190
- <nobr>险种</nobr>
191
- </th>
192
- <th>
193
- <nobr>用气性质</nobr>
194
- </th>
195
- <th>
196
- <nobr>购买年限</nobr>
197
- </th>
198
- <th>
199
- <nobr>操作人</nobr>
200
- </th>
201
- <th>
202
- <nobr>备注信息</nobr>
203
- </th>
204
- <th>
205
- <nobr>变更记录</nobr>
206
- </th>
207
- </template>
208
- <template partial='body'>
209
- <td style="text-align: center;">
210
- <nobr>{{$index + 1}}</nobr>
211
- </td>
212
- <td style="text-align: center;">
213
- <nobr>
214
- {{row.f_userinfo_code}}
215
- </nobr>
216
- </td>
217
- <td style="text-align: center;">
218
- <nobr>{{row.f_user_name}}</nobr>
219
- </td>
220
- <td style="text-align: center;">
221
- <nobr>{{row.f_address}}</nobr>
222
- </td>
223
- <td style="text-align: center;">
224
- <nobr>{{row.f_idnumber}}</nobr>
225
- </td>
226
- <td style="text-align: center;">
227
- <nobr>{{row.f_user_phone}}</nobr>
228
- </td>
229
- <td style="text-align: center;">
230
- <nobr>{{row.f_fee_type}}</nobr>
231
- </td>
232
- <td style="text-align: center;">
233
- <nobr>{{row.f_buy_date}}</nobr>
234
- </td>
235
- <td style="text-align: center;">
236
- <nobr>{{row.f_expiration_date}}</nobr>
237
- </td>
238
- <td style="text-align: center;">
239
- <nobr>{{row.f_shengxiao_date}}</nobr>
240
- </td>
241
- <td style="text-align: center;">
242
- <nobr>{{row.f_last_insexpiration_date}}</nobr>
243
- </td>
244
- <td style="text-align: center;">
245
- <nobr>{{row.f_days > 0 ? row.f_days : '已到期'}}</nobr>
246
- </td>
247
- <td style="text-align: center;">
248
- <nobr>{{row.f_money}}</nobr>
249
- </td>
250
- <td style="text-align: center;">
251
- <nobr>{{row.f_payment}}</nobr>
252
- </td>
253
- <td style="text-align: center;">
254
- <nobr>{{row.f_state}}</nobr>
255
- </td>
256
- <td style="text-align: center;">
257
- <nobr>{{row.f_operate_date}}</nobr>
258
- </td>
259
- <td style="text-align: center;">
260
- <nobr>{{row.f_ins_number}}</nobr>
261
- </td>
262
- <td style="text-align: center;">
263
- <nobr>{{row.f_insurance_type}}</nobr>
264
- </td>
265
- <td style="text-align: center;">
266
- <nobr>{{row.f_gasproperties}}</nobr>
267
- </td>
268
- <td style="text-align: center;">
269
- <nobr>{{row.f_salecount}}</nobr>
270
- </td>
271
- <td style="text-align: center;">
272
- <nobr>{{row.f_operator}}</nobr>
273
- </td>
274
- <td style="text-align: center;">
275
- <nobr>{{row.f_comments}}</nobr>
276
- </td>
277
- <td style="text-align: center;">
278
- <nobr>
279
- <span @click="$parent.$parent.$parent.changeDetail(row)"><a><b>变更记录</b></a></span>
280
- </nobr>
281
- </td>
282
- </template>
283
- </data-grid>
284
- </criteria-paged>
285
- <modal :show.sync="insChnageDetailShow" v-ref:insChnageDetailShow backdrop="false" class="insChnageDetailShow">
286
- <header slot="modal-header" class="modal-header" style="text-align: center">
287
- <h4 class="modal-title">保险变更记录</h4>
288
- </header>
289
- <article slot="modal-body" class="modal-body">
290
- <data-grid class="list_area table_sy" :model="insChangeHistorys" partial='list'>
291
- <template partial='head'>
292
- <th style="text-align: center"><nobr>序号</nobr></th>
293
- <th style="text-align: center"><nobr>更改内容</nobr></th>
294
- <th style="text-align: center"><nobr>更改前</nobr></th>
295
- <th style="text-align: center"><nobr>更改后</nobr></th>
296
- <th style="text-align: center"><nobr>变更时间</nobr></th>
297
- <th style="text-align: center"><nobr>变更人</nobr></th>
298
- </template>
299
- <template partial='body'>
300
- <td style="text-align: center">{{$index+1}}</td>
301
- <td style="text-align: center"><nobr>{{row.f_field_name}}</nobr></td>
302
- <td style="text-align: center"><nobr>{{row.f_used_content}}</nobr></td>
303
- <td style="text-align: center"><nobr>{{row.f_new_content}}</nobr></td>
304
- <td style="text-align: center"><nobr>{{row.f_operate_date}}</nobr></td>
305
- <td style="text-align: center"><nobr>{{row.f_operator}}</nobr></td>
306
- </template>
307
- </data-grid>
308
- </article>
309
- <footer slot="modal-footer" class="modal-footer">
310
- <button type="button" class="btn btn-default" @click='insChnageDetailShow = false'>关闭</button>
311
- </footer>
312
- </modal>
313
- </div>
314
- </div>
315
- </div>
316
- </template>
317
-
318
- <script>
319
- import {PagedList} from 'vue-client'
320
-
321
- export default {
322
- name: 'InsuranceChargesDetails',
323
- title: '保险收费明细',
324
- data () {
325
- return {
326
- gastype: this.$appdata.getParam('用气性质') ? this.$appdata.getParam('用气性质') : [],
327
- initres: {
328
- org: [this.$login.f.orgid],
329
- dep: [],
330
- user: []
331
- },
332
- f_state: '',
333
- state: this.$appdata.getParam('保险状态') ? this.$appdata.getParam('保险状态') : [],
334
- payment: this.$appdata.getParam('收费方式') ? this.$appdata.getParam('收费方式') : [],
335
- f_insurance_type: '',
336
- insuranceType: this.$appdata.getParam('险种') ? this.$appdata.getParam('险种') : [],
337
- orgCondtionStr: '',
338
- base: {},
339
- model: new PagedList('api/af-revenue/sql/getInsuranceChargesList', 20),
340
- // 控制查询条件显示
341
- criteriaShow: false,
342
- condition: '1=1',
343
- // 公司下拉
344
- curorgid: [this.$login.f.orgid],
345
- insChangeHistorys: {rows: []},
346
- insChnageDetailShow: false,
347
- getExportField: {
348
- 'f_userinfo_code': '客户编号',
349
- 'f_user_name': '投保人',
350
- 'f_address': '客户地址',
351
- 'f_idnumber': '身份证号',
352
- 'f_user_phone': '电话',
353
- 'f_fee_type': '费用类型',
354
- 'f_buy_date': '购买日期',
355
- 'f_expiration_date': '到期日期',
356
- 'f_shengxiao_date': '保费开始日期',
357
- 'f_last_insexpiration_date': '上期保费截至日期',
358
- 'f_days': '到期剩余天数',
359
- 'f_money': '金额',
360
- 'f_payment': '收款方式',
361
- 'f_state': '状态',
362
- 'f_operate_date': '缴费时间',
363
- 'f_ins_number': '保险单号',
364
- 'f_insurance_type': '险种',
365
- 'f_salecount': '购买年限',
366
- 'f_operator': '操作人',
367
- 'f_comments': '备注信息',
368
- 'f_gasproperties': '用气性质'
369
- },
370
- f_filialeid: this.$login.f.orgid,
371
- percent: 0
372
- }
373
- },
374
- ready () {
375
- this.$refs.paged.$refs.criteria.search()
376
- },
377
- methods: {
378
- async changeDetail (row) {
379
- this.insChangeHistorys.rows = []
380
- let data = {
381
- tablename: `t_ins_change`,
382
- items: '*',
383
- condition: `1=1 and f_ins_id = '${row.id}'`,
384
- orderitem: 'f_ins_id desc'
385
- }
386
- let urlParam = 'api/af-revenue/sql/singleTable_OrderBy'
387
- let res = await this.$resetpost(urlParam, {data: data}, {rejectMsg: '获取变更记录出错', resolveMsg: null})
388
- if (res) {
389
- this.insChangeHistorys.rows = res.data
390
- }
391
- this.insChnageDetailShow = true
392
- },
393
- hidden () {
394
- this.criteriaShow = !this.criteriaShow
395
- },
396
- getRes (obj) {
397
- this.orgCondtionStr = obj
398
- },
399
- search () {
400
- this.$refs.paged.$refs.criteria.search()
401
- },
402
- getorg (val) {
403
- this.f_filialeid = val[0]
404
- },
405
- selfSearch (args) {
406
- if (!this.orgCondtionStr) {
407
- args.condition = `${args.condition}` + ' and f_orgid = ' + `${this.$login.f.orgid}`
408
- } else {
409
- args.condition = `${args.condition}` + this.orgCondtionStr
410
- }
411
- this.condition = args.condition
412
- this.model.search(args.condition, args.model)
413
- }
414
- },
415
- computed: {
416
- getCondition () {
417
- return {
418
- condition: this.condition
419
- }
420
- }
421
- }
422
- }
423
- </script>
424
- <style>
425
- </style>
1
+ <<template>
2
+ <div :class="{'basic-main':!showItem,'binary-left':showItem}" style="height:98%;" >
3
+ <div style="flex: 1.5" class="flex">
4
+ <div class="flex">
5
+ <criteria-paged :model="model" v-ref:paged>
6
+ <criteria partial='criteria' v-ref:criteria @condition-changed="$parent.selfSearch">
7
+ <div novalidate class="form-inline auto" novalidate partial>
8
+ <div class="row">
9
+ <div class="col-sm-2 form-group">
10
+ <label class="font_normal_body" for="f_userinfo_code">客户编号</label>
11
+ <input id="f_userinfo_code" type="text" class="input_search" style="width: 60%" v-model="model.f_userinfo_code"
12
+ condition="f_userinfo_code = '{}'" placeholder='请输入要查询的客户编号'>
13
+ </div>
14
+ <div class="col-sm-2 form-group">
15
+ <label class="font_normal_body" for="f_user_name">客户姓名</label>
16
+ <input id="f_user_name" type="text" class="input_search" style="width: 60%" v-model="model.f_user_name"
17
+ condition="f_user_name like '%{}%'" placeholder='请输入要查询的客户姓名'>
18
+ </div>
19
+ <div class="col-sm-2 form-group">
20
+ <label class="font_normal_body" for="f_insurance_type">险&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;种</label>
21
+ <v-select id="f_insurance_type"
22
+ v-model="model.f_insurance_type"
23
+ placeholder='请选择'
24
+ condition="f_insurance_type ='{}'"
25
+ :value.sync="model.f_insurance_type"
26
+ :options='$parent.$parent.insuranceType'
27
+ close-on-select clear-button>
28
+ </v-select>
29
+ </div>
30
+ <div class="col-sm-2 form-group">
31
+ <label class="font_normal_body" for="f_days">到期天数内</label>
32
+ <input id="f_days" type="text" class="input_search" style="width: 60%" v-model="model.f_days"
33
+ condition="f_days < {}" placeholder='请输入天数到期天数之内'>
34
+ </div>
35
+ <div style="float: right">
36
+ <button class="button_search" @click="search()">查 询</button>
37
+ <export-excel :data="$parent.$parent.getCondition"
38
+ :field="$parent.$parent.getExportField"
39
+ sqlurl="api/af-revenue/logic/saleExport" sql-name="getInsuranceChargesList" template-name='保险明细查询导出'
40
+ :choose-col="true"></export-excel>
41
+ <div class="button_spacing" style="float:right;"
42
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
43
+ @click="$parent.$parent.hidden()"></div>
44
+ </div>
45
+ </div>
46
+ <div class="row" v-show="$parent.$parent.criteriaShow" >
47
+ <res-select-group :initres="$parent.$parent.initres" :show-component="['company','department','operator']" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
48
+ <div class="col-sm-2 form-group">
49
+ <label class="font_normal_body">购买年限</label>
50
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_salecount"
51
+ condition="f_salecount = '{}'" placeholder='购买年限'>
52
+ </div>
53
+ <div class="col-sm-2 form-group">
54
+ <label class="font_normal_body" for="f_state">状&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;态</label>
55
+ <v-select id="f_state"
56
+ v-model="model.f_state"
57
+ placeholder='请选择'
58
+ condition="f_state ='{}'"
59
+ :value.sync="model.f_state"
60
+ :options='$parent.$parent.state'
61
+ close-on-select clear-button>
62
+ </v-select>
63
+ </div>
64
+ <div class="col-sm-2 form-group">
65
+ <label class="font_normal_body" for="f_state">收款方式</label>
66
+ <v-select id="f_state"
67
+ v-model="model.f_payment"
68
+ placeholder='请选择'
69
+ condition="f_payment ='{}'"
70
+ :value.sync="model.f_payment"
71
+ :options='$parent.$parent.payment'
72
+ close-on-select clear-button>
73
+ </v-select>
74
+ </div>
75
+ <div class="col-sm-2 form-group">
76
+ <label class="font_normal_body" for="f_user_name">客户地址</label>
77
+ <input id="f_address" type="text" class="input_search" style="width: 60%" v-model="model.f_address"
78
+ condition="f_address like '%{}%'" placeholder='请输入要查询的客户地址'>
79
+ </div>
80
+ <div class="col-sm-2 form-group">
81
+ <label class="font_normal_body" for="f_user_name">客户电话</label>
82
+ <input id="f_user_phone" type="text" class="input_search" style="width: 60%" v-model="model.f_user_phone"
83
+ condition="f_user_phone like '%{}%'" placeholder='请输入要查询的客户电话'>
84
+ </div>
85
+ <div class="col-sm-2 form-group">
86
+ <label class="font_normal_body" for="f_user_name">身份证号</label>
87
+ <input id="f_idnumber" type="text" class="input_search" style="width: 60%" v-model="model.f_idnumber"
88
+ condition="f_idnumber like '%{}%'" placeholder='请输入要查询的身份证号'>
89
+ </div>
90
+ <div class="col-sm-2 form-group">
91
+ <label class="font_normal_body" for="f_user_name">保险单号</label>
92
+ <input id="f_ins_number" type="text" class="input_search" style="width: 60%" v-model="model.f_ins_number"
93
+ condition="f_ins_number like '%{}%'" placeholder='请输入要查询的保险单号'>
94
+ </div>
95
+ <div class="col-sm-2 form-group">
96
+ <label class="font_normal_body" for="f_user_name">备注信息</label>
97
+ <input id="f_comments" type="text" class="input_search" style="width: 60%" v-model="model.f_comments"
98
+ condition="f_comments like '%{}%'" placeholder='请输入要查询的备注信息'>
99
+ </div>
100
+ <div class="col-sm-2 form-group">
101
+ <label class="font_normal_body">开始时间</label>
102
+ <datepicker :format="'yyyy-MM-dd 00:00:00'"
103
+ :value.sync="model.f_ins_start_date"
104
+ placeholder="缴费开始时间"
105
+ condition="f_operate_date >= '{}'"
106
+ v-model="model.f_ins_start_date" style="width: 55%">
107
+ </datepicker>
108
+ </div>
109
+ <div class="col-sm-2 form-group">
110
+ <label class="font_normal_body">结束时间</label>
111
+ <datepicker :format="'yyyy-MM-dd 23:59:59'"
112
+ :value.sync="model.f_expiration_date"
113
+ placeholder="缴费结束时间"
114
+ condition="f_operate_date <= '{}'"
115
+ v-model="model.f_expiration_date" style="width: 55%">
116
+ </datepicker>
117
+ </div>
118
+ <div class="col-sm-2 form-group">
119
+ <input class="input_search" style="width:60%" type="text" v-model="model.f_gasproperties" v-show="false">
120
+ <label class="font_normal_body" for="f_gasproperties">用气性质</label>
121
+ <v-select :options='$parent.$parent.gastype'
122
+ :value-single="true"
123
+ :value.sync="model.f_gasproperties"
124
+ close-on-select
125
+ condition="f_gasproperties ='{}'"
126
+ clear-button
127
+ placeholder='请选择'
128
+ v-model="model.f_gasproperties">
129
+ </v-select>
130
+ </div>
131
+ </div>
132
+ </div>
133
+
134
+ </criteria>
135
+ <data-grid :model="model" v-ref:grid class="list_area table_sy" partial='list'>
136
+ <template partial='head'>
137
+ <tr>
138
+ <th>
139
+ <nobr>序号</nobr>
140
+ </th>
141
+ <th>
142
+ <nobr>客户编号</nobr>
143
+ </th>
144
+ <th>
145
+ <nobr>投保人</nobr>
146
+ </th>
147
+ <th>
148
+ <nobr>客户地址</nobr>
149
+ </th>
150
+ <th>
151
+ <nobr>身份证号</nobr>
152
+ </th>
153
+ <th>
154
+ <nobr>电话</nobr>
155
+ </th>
156
+ <th>
157
+ <nobr>费用类型</nobr>
158
+ </th>
159
+ <th>
160
+ <nobr>购买日期</nobr>
161
+ </th>
162
+ <th>
163
+ <nobr>到期日期</nobr>
164
+ </th>
165
+ <th>
166
+ <nobr>保费开始日期</nobr>
167
+ </th>
168
+ <th>
169
+ <nobr>上期保费截至日期</nobr>
170
+ </th>
171
+ <th>
172
+ <nobr>到期剩余天数</nobr>
173
+ </th>
174
+ <th>
175
+ <nobr>金额</nobr>
176
+ </th>
177
+ <th>
178
+ <nobr>收款方式</nobr>
179
+ </th>
180
+ <th>
181
+ <nobr>状态</nobr>
182
+ </th>
183
+ <th>
184
+ <nobr>缴费时间</nobr>
185
+ </th>
186
+ <th>
187
+ <nobr>保险单号</nobr>
188
+ </th>
189
+ <th>
190
+ <nobr>险种</nobr>
191
+ </th>
192
+ <th>
193
+ <nobr>用气性质</nobr>
194
+ </th>
195
+ <th>
196
+ <nobr>购买年限</nobr>
197
+ </th>
198
+ <th>
199
+ <nobr>操作人</nobr>
200
+ </th>
201
+ <th>
202
+ <nobr>备注信息</nobr>
203
+ </th>
204
+ <th>
205
+ <nobr>变更记录</nobr>
206
+ </th>
207
+ </template>
208
+ <template partial='body'>
209
+ <td style="text-align: center;">
210
+ <nobr>{{$index + 1}}</nobr>
211
+ </td>
212
+ <td style="text-align: center;">
213
+ <nobr>
214
+ {{row.f_userinfo_code}}
215
+ </nobr>
216
+ </td>
217
+ <td style="text-align: center;">
218
+ <nobr>{{row.f_user_name}}</nobr>
219
+ </td>
220
+ <td style="text-align: center;">
221
+ <nobr>{{row.f_address}}</nobr>
222
+ </td>
223
+ <td style="text-align: center;">
224
+ <nobr>{{row.f_idnumber}}</nobr>
225
+ </td>
226
+ <td style="text-align: center;">
227
+ <nobr>{{row.f_user_phone}}</nobr>
228
+ </td>
229
+ <td style="text-align: center;">
230
+ <nobr>{{row.f_fee_type}}</nobr>
231
+ </td>
232
+ <td style="text-align: center;">
233
+ <nobr>{{row.f_buy_date}}</nobr>
234
+ </td>
235
+ <td style="text-align: center;">
236
+ <nobr>{{row.f_expiration_date}}</nobr>
237
+ </td>
238
+ <td style="text-align: center;">
239
+ <nobr>{{row.f_shengxiao_date}}</nobr>
240
+ </td>
241
+ <td style="text-align: center;">
242
+ <nobr>{{row.f_last_insexpiration_date}}</nobr>
243
+ </td>
244
+ <td style="text-align: center;">
245
+ <nobr>{{row.f_days > 0 ? row.f_days : '已到期'}}</nobr>
246
+ </td>
247
+ <td style="text-align: center;">
248
+ <nobr>{{row.f_money}}</nobr>
249
+ </td>
250
+ <td style="text-align: center;">
251
+ <nobr>{{row.f_payment}}</nobr>
252
+ </td>
253
+ <td style="text-align: center;">
254
+ <nobr>{{row.f_state}}</nobr>
255
+ </td>
256
+ <td style="text-align: center;">
257
+ <nobr>{{row.f_operate_date}}</nobr>
258
+ </td>
259
+ <td style="text-align: center;">
260
+ <nobr>{{row.f_ins_number}}</nobr>
261
+ </td>
262
+ <td style="text-align: center;">
263
+ <nobr>{{row.f_insurance_type}}</nobr>
264
+ </td>
265
+ <td style="text-align: center;">
266
+ <nobr>{{row.f_gasproperties}}</nobr>
267
+ </td>
268
+ <td style="text-align: center;">
269
+ <nobr>{{row.f_salecount}}</nobr>
270
+ </td>
271
+ <td style="text-align: center;">
272
+ <nobr>{{row.f_operator}}</nobr>
273
+ </td>
274
+ <td style="text-align: center;">
275
+ <nobr>{{row.f_comments}}</nobr>
276
+ </td>
277
+ <td style="text-align: center;">
278
+ <nobr>
279
+ <span @click="$parent.$parent.$parent.changeDetail(row)"><a><b>变更记录</b></a></span>
280
+ </nobr>
281
+ </td>
282
+ </template>
283
+ </data-grid>
284
+ </criteria-paged>
285
+ <modal :show.sync="insChnageDetailShow" v-ref:insChnageDetailShow backdrop="false" class="insChnageDetailShow">
286
+ <header slot="modal-header" class="modal-header" style="text-align: center">
287
+ <h4 class="modal-title">保险变更记录</h4>
288
+ </header>
289
+ <article slot="modal-body" class="modal-body">
290
+ <data-grid class="list_area table_sy" :model="insChangeHistorys" partial='list'>
291
+ <template partial='head'>
292
+ <th style="text-align: center"><nobr>序号</nobr></th>
293
+ <th style="text-align: center"><nobr>更改内容</nobr></th>
294
+ <th style="text-align: center"><nobr>更改前</nobr></th>
295
+ <th style="text-align: center"><nobr>更改后</nobr></th>
296
+ <th style="text-align: center"><nobr>变更时间</nobr></th>
297
+ <th style="text-align: center"><nobr>变更人</nobr></th>
298
+ </template>
299
+ <template partial='body'>
300
+ <td style="text-align: center">{{$index+1}}</td>
301
+ <td style="text-align: center"><nobr>{{row.f_field_name}}</nobr></td>
302
+ <td style="text-align: center"><nobr>{{row.f_used_content}}</nobr></td>
303
+ <td style="text-align: center"><nobr>{{row.f_new_content}}</nobr></td>
304
+ <td style="text-align: center"><nobr>{{row.f_operate_date}}</nobr></td>
305
+ <td style="text-align: center"><nobr>{{row.f_operator}}</nobr></td>
306
+ </template>
307
+ </data-grid>
308
+ </article>
309
+ <footer slot="modal-footer" class="modal-footer">
310
+ <button type="button" class="btn btn-default" @click='insChnageDetailShow = false'>关闭</button>
311
+ </footer>
312
+ </modal>
313
+ </div>
314
+ </div>
315
+ </div>
316
+ </template>
317
+
318
+ <script>
319
+ import {PagedList} from 'vue-client'
320
+
321
+ export default {
322
+ name: 'InsuranceChargesDetails',
323
+ title: '保险收费明细',
324
+ data () {
325
+ return {
326
+ gastype: this.$appdata.getParam('用气性质') ? this.$appdata.getParam('用气性质') : [],
327
+ initres: {
328
+ org: [this.$login.f.orgid],
329
+ dep: [],
330
+ user: []
331
+ },
332
+ f_state: '',
333
+ state: this.$appdata.getParam('保险状态') ? this.$appdata.getParam('保险状态') : [],
334
+ payment: this.$appdata.getParam('收费方式') ? this.$appdata.getParam('收费方式') : [],
335
+ f_insurance_type: '',
336
+ insuranceType: this.$appdata.getParam('险种') ? this.$appdata.getParam('险种') : [],
337
+ orgCondtionStr: '',
338
+ base: {},
339
+ model: new PagedList('api/af-revenue/sql/getInsuranceChargesList', 20),
340
+ // 控制查询条件显示
341
+ criteriaShow: false,
342
+ condition: '1=1',
343
+ // 公司下拉
344
+ curorgid: [this.$login.f.orgid],
345
+ insChangeHistorys: {rows: []},
346
+ insChnageDetailShow: false,
347
+ getExportField: {
348
+ 'f_userinfo_code': '客户编号',
349
+ 'f_user_name': '投保人',
350
+ 'f_address': '客户地址',
351
+ 'f_idnumber': '身份证号',
352
+ 'f_user_phone': '电话',
353
+ 'f_fee_type': '费用类型',
354
+ 'f_buy_date': '购买日期',
355
+ 'f_expiration_date': '到期日期',
356
+ 'f_shengxiao_date': '保费开始日期',
357
+ 'f_last_insexpiration_date': '上期保费截至日期',
358
+ 'f_days': '到期剩余天数',
359
+ 'f_money': '金额',
360
+ 'f_payment': '收款方式',
361
+ 'f_state': '状态',
362
+ 'f_operate_date': '缴费时间',
363
+ 'f_ins_number': '保险单号',
364
+ 'f_insurance_type': '险种',
365
+ 'f_salecount': '购买年限',
366
+ 'f_operator': '操作人',
367
+ 'f_comments': '备注信息',
368
+ 'f_gasproperties': '用气性质'
369
+ },
370
+ f_filialeid: this.$login.f.orgid,
371
+ percent: 0
372
+ }
373
+ },
374
+ ready () {
375
+ this.$refs.paged.$refs.criteria.search()
376
+ },
377
+ methods: {
378
+ async changeDetail (row) {
379
+ this.insChangeHistorys.rows = []
380
+ let data = {
381
+ tablename: `t_ins_change`,
382
+ items: '*',
383
+ condition: `1=1 and f_ins_id = '${row.id}'`,
384
+ orderitem: 'f_ins_id desc'
385
+ }
386
+ let urlParam = 'api/af-revenue/sql/singleTable_OrderBy'
387
+ let res = await this.$resetpost(urlParam, {data: data}, {rejectMsg: '获取变更记录出错', resolveMsg: null})
388
+ if (res) {
389
+ this.insChangeHistorys.rows = res.data
390
+ }
391
+ this.insChnageDetailShow = true
392
+ },
393
+ hidden () {
394
+ this.criteriaShow = !this.criteriaShow
395
+ },
396
+ getRes (obj) {
397
+ this.orgCondtionStr = obj
398
+ },
399
+ search () {
400
+ this.$refs.paged.$refs.criteria.search()
401
+ },
402
+ getorg (val) {
403
+ this.f_filialeid = val[0]
404
+ },
405
+ selfSearch (args) {
406
+ if (!this.orgCondtionStr) {
407
+ args.condition = `${args.condition}` + ' and f_orgid = ' + `${this.$login.f.orgid}`
408
+ } else {
409
+ args.condition = `${args.condition}` + this.orgCondtionStr
410
+ }
411
+ this.condition = args.condition
412
+ this.model.search(args.condition, args.model)
413
+ }
414
+ },
415
+ computed: {
416
+ getCondition () {
417
+ return {
418
+ condition: this.condition
419
+ }
420
+ }
421
+ }
422
+ }
423
+ </script>
424
+ <style>
425
+ </style>