manage-client 3.2.196 → 3.2.197

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.
@@ -3,7 +3,7 @@
3
3
  <div class="basic-main" @keyup.enter="search">
4
4
  <div class="flex" v-if="!show">
5
5
  <criteria-paged :model="model" v-ref:paged>
6
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri >
6
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
7
7
  <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
8
  <div class="row">
9
9
  <div class="col-sm-2 form-group">
@@ -54,14 +54,15 @@
54
54
  <print-data :model="$parent.model" :field="$parent.$parent.getfield"
55
55
  :defaultfield="$parent.$parent.defaultfield" print-name="用户欠费查询"
56
56
  :sumsmodel="$parent.$parent.sumsmodel"></print-data>
57
- <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
58
- 'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
57
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
58
+ 'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
59
59
 
60
60
  </div>
61
61
  </div>
62
62
 
63
63
  <div class="row" v-show="$parent.$parent.criteriaShow">
64
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
64
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"
65
+ v-ref:sel></res-select-group>
65
66
  <!--<div class="col-sm-2 form-group">-->
66
67
  <!--<label class="font_normal_body">收费编号</label>-->
67
68
  <!--<input type="text" style="width:60%" class="input_search" v-model="model.id"-->
@@ -87,7 +88,7 @@
87
88
  <v-select :value.sync="model.f_residential_area"
88
89
  class="select_list select"
89
90
  enter-push
90
- multiple = "true"
91
+ multiple="true"
91
92
  v-model="model.f_residential_area"
92
93
  style="width: 60%"
93
94
  :options='$parent.$parent.residentialArea' placeholder='选择小区'
@@ -167,7 +168,7 @@
167
168
  condition="c > '{}'" placeholder='欠费期数大于'>
168
169
  </div>
169
170
  <div class="col-sm-2 form-group">
170
- <label class="font_normal_body" >抄&nbsp;&nbsp;表&nbsp;员</label>
171
+ <label class="font_normal_body">抄&nbsp;&nbsp;表&nbsp;员</label>
171
172
  <v-select :value.sync="model.f_inputtor"
172
173
  v-model="model.f_inputtor"
173
174
  :options='$parent.$parent.inputtores' placeholder='请选择'
@@ -271,9 +272,9 @@
271
272
  <th>
272
273
  <nobr>用气金额</nobr>
273
274
  </th>
274
- <!-- <th>-->
275
- <!-- <nobr>缴费时间</nobr>-->
276
- <!-- </th>-->
275
+ <!-- <th>-->
276
+ <!-- <nobr>缴费时间</nobr>-->
277
+ <!-- </th>-->
277
278
  <th>
278
279
  <nobr>已交金额</nobr>
279
280
  </th>
@@ -289,9 +290,9 @@
289
290
  <th>
290
291
  <nobr>附加费</nobr>
291
292
  </th>
292
- <!-- <th>-->
293
- <!-- <nobr>上期余额</nobr>-->
294
- <!-- </th>-->
293
+ <!-- <th>-->
294
+ <!-- <nobr>上期余额</nobr>-->
295
+ <!-- </th>-->
295
296
  <th>
296
297
  <nobr>合计欠费</nobr>
297
298
  </th>
@@ -299,82 +300,82 @@
299
300
  </template>
300
301
  <template partial='body'>
301
302
  <td style="text-align:center">
302
- <nobr>{{$index+1}}</nobr>
303
+ <nobr>{{ $index + 1 }}</nobr>
303
304
  </td>
304
305
  <td style="text-align: center;">
305
- <nobr>{{row.f_userinfo_code}}</nobr>
306
+ <nobr>{{ row.f_userinfo_code }}</nobr>
306
307
  </td>
307
308
  <td style="text-align: center;">
308
- <nobr>{{row.f_user_name}}</nobr>
309
+ <nobr>{{ row.f_user_name }}</nobr>
309
310
  </td>
310
311
  <td style="text-align: center;">
311
- <nobr>{{row.f_residential_area}}</nobr>
312
+ <nobr>{{ row.f_residential_area }}</nobr>
312
313
  </td>
313
314
  <td style="text-align: center;">
314
- <nobr>{{row.f_address}}</nobr>
315
+ <nobr>{{ row.f_address }}</nobr>
315
316
  </td>
316
317
  <td style="text-align: center;">
317
- <nobr>{{row.f_user_phone}}</nobr>
318
+ <nobr>{{ row.f_user_phone }}</nobr>
318
319
  </td>
319
320
  <td style="text-align: center;">
320
- <nobr>{{row.f_rent_phone}}</nobr>
321
+ <nobr>{{ row.f_rent_phone }}</nobr>
321
322
  </td>
322
323
  <td style="text-align: center;">
323
- <nobr>{{row.f_inputtor}}</nobr>
324
+ <nobr>{{ row.f_inputtor }}</nobr>
324
325
  </td>
325
326
  <td style="text-align: center;">
326
- <nobr>{{row.f_book_name}}</nobr>
327
+ <nobr>{{ row.f_book_name }}</nobr>
327
328
  </td>
328
329
  <td style="text-align: center;">
329
- <nobr>{{row.f_user_type}}</nobr>
330
+ <nobr>{{ row.f_user_type }}</nobr>
330
331
  </td>
331
332
  <td style="text-align: center;">
332
- <nobr>{{row.f_gasproperties}}</nobr>
333
+ <nobr>{{ row.f_gasproperties }}</nobr>
333
334
  </td>
334
335
  <td style="text-align: center;">
335
- <nobr>{{row.f_comments}}</nobr>
336
+ <nobr>{{ row.f_comments }}</nobr>
336
337
  </td>
337
338
  <td style="text-align: center;">
338
- <nobr>{{row.c}}</nobr>
339
+ <nobr>{{ row.c }}</nobr>
339
340
  </td>
340
341
  <td style="text-align: center;">
341
- <nobr>{{row.f_hand_date}}</nobr>
342
+ <nobr>{{ row.f_hand_date }}</nobr>
342
343
  </td>
343
344
  <td style="text-align: center;">
344
- <nobr>{{row.f_last_tablebase}}</nobr>
345
+ <nobr>{{ row.f_last_tablebase }}</nobr>
345
346
  </td>
346
347
  <td style="text-align: center;">
347
- <nobr>{{row.f_tablebase}}</nobr>
348
+ <nobr>{{ row.f_tablebase }}</nobr>
348
349
  </td>
349
350
  <td style="text-align: center;">
350
- <nobr>{{row.f_oughtamount}}</nobr>
351
+ <nobr>{{ row.f_oughtamount }}</nobr>
351
352
  </td>
352
353
  <td style="text-align: center;">
353
- <nobr>{{row.f_oughtfee}}</nobr>
354
+ <nobr>{{ row.f_oughtfee }}</nobr>
354
355
  </td>
355
- <!-- <td style="text-align: center;">-->
356
- <!-- <nobr>{{row.f_operate_date}}</nobr>-->
357
- <!-- </td>-->
356
+ <!-- <td style="text-align: center;">-->
357
+ <!-- <nobr>{{row.f_operate_date}}</nobr>-->
358
+ <!-- </td>-->
358
359
  <td style="text-align: center;">
359
- <nobr>{{row.f_debt_money}}</nobr>
360
+ <nobr>{{ row.f_debt_money }}</nobr>
360
361
  </td>
361
362
  <!--<td style="text-align: center;">-->
362
363
  <!--<nobr>{{row.f_hand_bv}}</nobr>-->
363
364
  <!--</td>-->
364
365
  <td style="text-align: center;">
365
- <nobr>{{row.f_oughtfee_new}}</nobr>
366
+ <nobr>{{ row.f_oughtfee_new }}</nobr>
366
367
  </td>
367
368
  <td style="text-align: center;">
368
- <nobr>{{row.overdue}}</nobr>
369
+ <nobr>{{ row.overdue }}</nobr>
369
370
  </td>
370
371
  <td style="text-align: center;">
371
- <nobr>{{row.f_garbage_fee}}</nobr>
372
+ <nobr>{{ row.f_garbage_fee }}</nobr>
372
373
  </td>
373
- <!-- <td style="text-align: center;">-->
374
- <!-- <nobr>{{row.f_balance}}</nobr>-->
375
- <!-- </td>-->
374
+ <!-- <td style="text-align: center;">-->
375
+ <!-- <nobr>{{row.f_balance}}</nobr>-->
376
+ <!-- </td>-->
376
377
  <td style="text-align: center;">
377
- <nobr>{{row.f_oughtfee_all}}</nobr>
378
+ <nobr>{{ row.f_oughtfee_all }}</nobr>
378
379
  </td>
379
380
  </template>
380
381
  <template partial='foot'></template>
@@ -386,29 +387,36 @@
386
387
  style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
387
388
  汇总信息
388
389
  </td>
389
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
390
- 用气量合计:&emsp;{{sumsmodel.f_oughtamount}}
390
+ <td
391
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
392
+ 用气量合计:&emsp;{{ sumsmodel.f_oughtamount }}
391
393
  </td>
392
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
393
- 用气金额合计:&emsp;{{sumsmodel.f_oughtfee}}
394
+ <td
395
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
396
+ 用气金额合计:&emsp;{{ sumsmodel.f_oughtfee }}
394
397
  </td>
395
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
396
- 已交金额合计:&emsp;{{sumsmodel.f_debt_money}}
398
+ <td
399
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
400
+ 已交金额合计:&emsp;{{ sumsmodel.f_debt_money }}
397
401
  </td>
398
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
399
- 气费金额合计:&emsp;{{sumsmodel.f_oughtfee_new}}
402
+ <td
403
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
404
+ 气费金额合计:&emsp;{{ sumsmodel.f_oughtfee_new }}
400
405
  </td>
401
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
402
- 滞纳金合计:&emsp;{{sumsmodel.overdue}}
406
+ <td
407
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
408
+ 滞纳金合计:&emsp;{{ sumsmodel.overdue }}
403
409
  </td>
404
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
405
- 附加费合计:&emsp;{{sumsmodel.f_garbage_fee}}
410
+ <td
411
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
412
+ 附加费合计:&emsp;{{ sumsmodel.f_garbage_fee }}
406
413
  </td>
407
- <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
408
- <!-- 上期余额合计:&emsp;{{sumsmodel.f_balance}}-->
409
- <!-- </td>-->
410
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
411
- 合计欠费:&emsp;{{sumsmodel.f_oughtfee_all}}
414
+ <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
415
+ <!-- 上期余额合计:&emsp;{{sumsmodel.f_balance}}-->
416
+ <!-- </td>-->
417
+ <td
418
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
419
+ 合计欠费:&emsp;{{ sumsmodel.f_oughtfee_all }}
412
420
  </td>
413
421
  </tr>
414
422
  </table>
@@ -442,20 +450,23 @@ export default {
442
450
  config: {
443
451
  defaultPrint: ['f_userinfo_code', 'f_address']
444
452
  },
445
- other:[],
446
- footer:[],
453
+ other: [],
454
+ footer: [],
447
455
  //f_price_name:[],
448
- gasproperties:[],
456
+ gasproperties: [],
449
457
  showinfo: false,
450
458
  data: {},
451
- show:false,
452
- rowdata:{},
459
+ show: false,
460
+ rowdata: {},
453
461
  initres: {
454
- org:[this.$login.f.orgid],
455
- dep:[],
456
- user:[]
462
+ org: [this.$login.f.orgid],
463
+ dep: [],
464
+ user: []
457
465
  },
458
- model: new PagedList('rs/sql/arrearsQuery', 20, {startDate: 'this.model.startDate', endDate: 'this.model.endDate'}, {
466
+ model: new PagedList('rs/sql/arrearsQuery', 20, {
467
+ startDate: 'this.model.startDate',
468
+ endDate: 'this.model.endDate'
469
+ }, {
459
470
  f_oughtamount: 0,
460
471
  f_oughtfee: 0,
461
472
  f_debt_money: 0,
@@ -477,7 +488,7 @@ export default {
477
488
  residentialArea: [],
478
489
  sumsmodel: {},
479
490
  f_filialeid: this.$login.f.f_orgid,
480
- meterbooks:[{label: '全部',value: ''}], //抄表册
491
+ meterbooks: [{label: '全部', value: ''}], //抄表册
481
492
  }
482
493
  },
483
494
  ready() {
@@ -491,27 +502,27 @@ export default {
491
502
  },
492
503
  methods: {
493
504
  //加载抄表册
494
- loadMeterBooks(){
505
+ loadMeterBooks() {
495
506
  this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
496
507
  },
497
- getotherfooter(){
508
+ getotherfooter() {
498
509
  // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
499
510
  // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
500
- this.other=[];
501
- this.footer=[];
511
+ this.other = [];
512
+ this.footer = [];
502
513
  let exportdata = this.getCondition;
503
- let otherInData=[];
514
+ let otherInData = [];
504
515
  otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
505
- let footerData=[],exportfield=this.getfield;
516
+ let footerData = [], exportfield = this.getfield;
506
517
  footerData.push("合计");
507
- let self =this;
508
- for(var field in self.sumsmodel){
518
+ let self = this;
519
+ for (var field in self.sumsmodel) {
509
520
  footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
510
521
  }
511
522
  this.footer.push(footerData);
512
523
  this.other.push(otherInData);
513
524
  },
514
- async getaddress(){
525
+ async getaddress() {
515
526
  console.log('开始获取小区')
516
527
  let HttpReset = new HttpResetClass()
517
528
  var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
@@ -519,16 +530,16 @@ export default {
519
530
  condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
520
531
  }
521
532
  }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
522
- console.log('小区',data)
533
+ console.log('小区', data)
523
534
  let house = [{label: '全部', value: ''}]
524
- for (let row of data.data){
535
+ for (let row of data.data) {
525
536
  console.log('开始保存小区')
526
537
  house.push({label: row.f_residential_area, value: row.f_residential_area})
527
538
  }
528
539
  this.residentialArea = house
529
540
  },
530
541
  //把数据库查询数据转换为下拉数据
531
- calculate(rows){
542
+ calculate(rows) {
532
543
  let data = []
533
544
  rows.forEach((row, n) => {
534
545
  data[n] = {label: row.f_residential_area, value: row.id}
@@ -536,27 +547,26 @@ export default {
536
547
  return data
537
548
  },
538
549
 
539
- search(){
550
+ search() {
540
551
  this.$refs.paged.$refs.cri.search()
541
552
  },
542
553
  cancel() {
543
554
  this.show = false
544
555
  },
545
- showmsg(obj){
546
- this.rowdata=obj
547
- this.show=true
556
+ showmsg(obj) {
557
+ this.rowdata = obj
558
+ this.show = true
548
559
  },
549
- userTypeChange () {
550
- this.gasproperties=[]
551
- if(this.$refs.paged.$refs.cri.model !==null) {
552
- this.$refs.paged.$refs.cri.model.f_gasproperties=''
560
+ userTypeChange() {
561
+ this.gasproperties = []
562
+ if (this.$refs.paged.$refs.cri.model !== null) {
563
+ this.$refs.paged.$refs.cri.model.f_gasproperties = ''
553
564
 
554
- console.log("查看客户类型是什么",this.$refs.paged.$refs.cri.model.f_user_type[0])
565
+ console.log("查看客户类型是什么", this.$refs.paged.$refs.cri.model.f_user_type[0])
555
566
  this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
556
567
  // this.gasproperties.push({label: '全部', value: ''})
557
- }
558
- else{
559
- this.gasproperties =[{label: '全部', value: ''}]
568
+ } else {
569
+ this.gasproperties = [{label: '全部', value: ''}]
560
570
  }
561
571
  },
562
572
  showSearchbtn() {
@@ -582,17 +592,17 @@ export default {
582
592
  this.prices = this.$MagGetSaleParam.getPrices();
583
593
  },
584
594
  selfSearch(args) {
585
- console.log('开始时间',this.$refs.paged.$refs.cri.model.startDate)
586
- if (this.$refs.paged.$refs.cri.model.startDate === '' || this.$refs.paged.$refs.cri.model.endDate === ''){
595
+ console.log('开始时间', this.$refs.paged.$refs.cri.model.startDate)
596
+ if (this.$refs.paged.$refs.cri.model.startDate === '' || this.$refs.paged.$refs.cri.model.endDate === '') {
587
597
  this.$showAlert('请先选择开始时间、结束时间,再进行查询操作!', 'warning', 3000)
588
598
  } else {
589
599
  //小区查询条件
590
- this.area = this.$refs.paged.$refs.cri.model.f_residential_area
591
- if(this.area.length !== 0){
600
+ this.area = this.$refs.paged.$refs.cri.model.f_residential_area
601
+ if (this.area.length !== 0) {
592
602
  let str = JSON.stringify(this.area)
593
- str = str.replace(/"/g,`'`)
594
- str = str.replace(/\[/g,``)
595
- str = str.replace(/\]/g,``)
603
+ str = str.replace(/"/g, `'`)
604
+ str = str.replace(/\[/g, ``)
605
+ str = str.replace(/\]/g, ``)
596
606
  //查询多个小区时条件
597
607
  args.condition += ` and f_residential_area in ( ${str} )`
598
608
  }
@@ -624,7 +634,7 @@ export default {
624
634
  hidden() {
625
635
  this.criteriaShow = !this.criteriaShow
626
636
  },
627
- getRes(condition,obj) {
637
+ getRes(condition, obj) {
628
638
  this.orgCondtionStr = condition
629
639
  this.orgname = obj.orgnames[0]
630
640
  this.depname = obj.depnames[0]
@@ -635,9 +645,9 @@ export default {
635
645
  }
636
646
 
637
647
  },
638
- events:{
639
- 'getidcard'(IdCard){
640
- this.$refs.paged.$refs.cri.model.f_info_idnumber=IdCard.strID
648
+ events: {
649
+ 'getidcard'(IdCard) {
650
+ this.$refs.paged.$refs.cri.model.f_info_idnumber = IdCard.strID
641
651
  }
642
652
  },
643
653
  watch: {
@@ -650,8 +660,8 @@ export default {
650
660
  this.updateParams()
651
661
  }
652
662
  },
653
- sumsmodel:{
654
- handler: function(val) {
663
+ sumsmodel: {
664
+ handler: function (val) {
655
665
  this.getotherfooter();
656
666
  },
657
667
  deep: true
@@ -661,7 +671,7 @@ export default {
661
671
  pricetypes() {
662
672
  return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
663
673
  },
664
- inputtores () {
674
+ inputtores() {
665
675
  // 获取抄表员
666
676
  let rs = []
667
677
  if (this.$login.f.f_gasman.length > 0) {
@@ -680,10 +690,10 @@ export default {
680
690
  let f_user_type = this.$refs.paged.model.model.f_user_type;
681
691
  let f_gasproperties = this.$refs.paged.model.model.f_gasproperties;
682
692
  let pricetype = this.$refs.paged.model.model.pricetype;
683
- if(this.$refs.paged.model.model !==null) {
693
+ if (this.$refs.paged.model.model !== null) {
684
694
  let rs = []
685
695
  let priceArr = []
686
- if (f_user_type.length > 0 && f_gasproperties.length > 0 && pricetype.length >0) {
696
+ if (f_user_type.length > 0 && f_gasproperties.length > 0 && pricetype.length > 0) {
687
697
  let params = {
688
698
  f_user_type: f_user_type[0],
689
699
  f_gasproperties: f_gasproperties[0],
@@ -709,7 +719,8 @@ export default {
709
719
  return {
710
720
  startDate: this.$refs.paged.$refs.cri.model.startDate,
711
721
  endDate: this.$refs.paged.$refs.cri.model.endDate,
712
- condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
722
+ condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr
723
+ }
713
724
  },
714
725
  getfield() {
715
726
  return exportConfig.arrearsConfig