manage-client 3.2.195 → 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
- </td>
304
- <td style="text-align: center;">
305
- <nobr>{{row.f_userinfo_code}}</nobr>
303
+ <nobr>{{ $index + 1 }}</nobr>
306
304
  </td>
307
305
  <td style="text-align: center;">
308
- <nobr>{{row.f_user_name}}</nobr>
306
+ <nobr>{{ row.f_userinfo_code }}</nobr>
309
307
  </td>
310
308
  <td style="text-align: center;">
311
- <nobr>{{row.f_residential_area}}</nobr>
309
+ <nobr>{{ row.f_user_name }}</nobr>
312
310
  </td>
313
311
  <td style="text-align: center;">
314
- <nobr>{{row.f_address}}</nobr>
312
+ <nobr>{{ row.f_residential_area }}</nobr>
315
313
  </td>
316
314
  <td style="text-align: center;">
317
- <nobr>{{row.f_user_phone}}</nobr>
315
+ <nobr>{{ row.f_address }}</nobr>
318
316
  </td>
319
317
  <td style="text-align: center;">
320
- <nobr>{{row.f_rent_phone}}</nobr>
318
+ <nobr>{{ row.f_user_phone }}</nobr>
321
319
  </td>
322
320
  <td style="text-align: center;">
323
- <nobr>{{row.f_inputtor}}</nobr>
321
+ <nobr>{{ row.f_rent_phone }}</nobr>
324
322
  </td>
325
323
  <td style="text-align: center;">
326
- <nobr>{{row.f_book_name}}</nobr>
324
+ <nobr>{{ row.f_inputtor }}</nobr>
327
325
  </td>
328
326
  <td style="text-align: center;">
329
- <nobr>{{row.f_user_type}}</nobr>
327
+ <nobr>{{ row.f_book_name }}</nobr>
330
328
  </td>
331
329
  <td style="text-align: center;">
332
- <nobr>{{row.f_gasproperties}}</nobr>
330
+ <nobr>{{ row.f_user_type }}</nobr>
333
331
  </td>
334
332
  <td style="text-align: center;">
335
- <nobr>{{row.f_comments}}</nobr>
333
+ <nobr>{{ row.f_gasproperties }}</nobr>
336
334
  </td>
337
335
  <td style="text-align: center;">
338
- <nobr>{{row.c}}</nobr>
336
+ <nobr>{{ row.f_comments }}</nobr>
339
337
  </td>
340
338
  <td style="text-align: center;">
341
- <nobr>{{row.f_hand_date}}</nobr>
339
+ <nobr>{{ row.c }}</nobr>
342
340
  </td>
343
341
  <td style="text-align: center;">
344
- <nobr>{{row.f_last_tablebase}}</nobr>
342
+ <nobr>{{ row.f_hand_date }}</nobr>
345
343
  </td>
346
344
  <td style="text-align: center;">
347
- <nobr>{{row.f_tablebase}}</nobr>
345
+ <nobr>{{ row.f_last_tablebase }}</nobr>
348
346
  </td>
349
347
  <td style="text-align: center;">
350
- <nobr>{{row.f_oughtamount}}</nobr>
348
+ <nobr>{{ row.f_tablebase }}</nobr>
351
349
  </td>
352
350
  <td style="text-align: center;">
353
- <nobr>{{row.f_oughtfee}}</nobr>
351
+ <nobr>{{ row.f_oughtamount }}</nobr>
354
352
  </td>
355
353
  <td style="text-align: center;">
356
- <nobr>{{row.f_operate_date}}</nobr>
354
+ <nobr>{{ row.f_oughtfee }}</nobr>
357
355
  </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
- </td>
367
- <td style="text-align: center;">
368
- <nobr>{{row.overdue}}</nobr>
366
+ <nobr>{{ row.f_oughtfee_new }}</nobr>
369
367
  </td>
370
368
  <td style="text-align: center;">
371
- <nobr>{{row.f_garbage_fee}}</nobr>
369
+ <nobr>{{ row.overdue }}</nobr>
372
370
  </td>
373
371
  <td style="text-align: center;">
374
- <nobr>{{row.f_balance}}</nobr>
372
+ <nobr>{{ row.f_garbage_fee }}</nobr>
375
373
  </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}}
391
- </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}}
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 }}
394
393
  </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}}
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 }}
397
397
  </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}}
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 }}
400
401
  </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}}
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 }}
403
405
  </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}}
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 }}
406
409
  </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}}
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 }}
409
413
  </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,27 +450,29 @@ 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,
462
473
  f_oughtfee_new: 0,
463
474
  overdue: 0,
464
475
  f_garbage_fee: 0,
465
- f_balance:0,
466
476
  f_oughtfee_all: 0
467
477
  }),
468
478
  criteriaShow: false,
@@ -478,7 +488,7 @@ export default {
478
488
  residentialArea: [],
479
489
  sumsmodel: {},
480
490
  f_filialeid: this.$login.f.f_orgid,
481
- meterbooks:[{label: '全部',value: ''}], //抄表册
491
+ meterbooks: [{label: '全部', value: ''}], //抄表册
482
492
  }
483
493
  },
484
494
  ready() {
@@ -492,27 +502,27 @@ export default {
492
502
  },
493
503
  methods: {
494
504
  //加载抄表册
495
- loadMeterBooks(){
505
+ loadMeterBooks() {
496
506
  this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
497
507
  },
498
- getotherfooter(){
508
+ getotherfooter() {
499
509
  // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
500
510
  // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
501
- this.other=[];
502
- this.footer=[];
511
+ this.other = [];
512
+ this.footer = [];
503
513
  let exportdata = this.getCondition;
504
- let otherInData=[];
514
+ let otherInData = [];
505
515
  otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
506
- let footerData=[],exportfield=this.getfield;
516
+ let footerData = [], exportfield = this.getfield;
507
517
  footerData.push("合计");
508
- let self =this;
509
- for(var field in self.sumsmodel){
518
+ let self = this;
519
+ for (var field in self.sumsmodel) {
510
520
  footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
511
521
  }
512
522
  this.footer.push(footerData);
513
523
  this.other.push(otherInData);
514
524
  },
515
- async getaddress(){
525
+ async getaddress() {
516
526
  console.log('开始获取小区')
517
527
  let HttpReset = new HttpResetClass()
518
528
  var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
@@ -520,16 +530,16 @@ export default {
520
530
  condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
521
531
  }
522
532
  }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
523
- console.log('小区',data)
533
+ console.log('小区', data)
524
534
  let house = [{label: '全部', value: ''}]
525
- for (let row of data.data){
535
+ for (let row of data.data) {
526
536
  console.log('开始保存小区')
527
537
  house.push({label: row.f_residential_area, value: row.f_residential_area})
528
538
  }
529
539
  this.residentialArea = house
530
540
  },
531
541
  //把数据库查询数据转换为下拉数据
532
- calculate(rows){
542
+ calculate(rows) {
533
543
  let data = []
534
544
  rows.forEach((row, n) => {
535
545
  data[n] = {label: row.f_residential_area, value: row.id}
@@ -537,27 +547,26 @@ export default {
537
547
  return data
538
548
  },
539
549
 
540
- search(){
550
+ search() {
541
551
  this.$refs.paged.$refs.cri.search()
542
552
  },
543
553
  cancel() {
544
554
  this.show = false
545
555
  },
546
- showmsg(obj){
547
- this.rowdata=obj
548
- this.show=true
556
+ showmsg(obj) {
557
+ this.rowdata = obj
558
+ this.show = true
549
559
  },
550
- userTypeChange () {
551
- this.gasproperties=[]
552
- if(this.$refs.paged.$refs.cri.model !==null) {
553
- 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 = ''
554
564
 
555
- 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])
556
566
  this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
557
567
  // this.gasproperties.push({label: '全部', value: ''})
558
- }
559
- else{
560
- this.gasproperties =[{label: '全部', value: ''}]
568
+ } else {
569
+ this.gasproperties = [{label: '全部', value: ''}]
561
570
  }
562
571
  },
563
572
  showSearchbtn() {
@@ -583,17 +592,17 @@ export default {
583
592
  this.prices = this.$MagGetSaleParam.getPrices();
584
593
  },
585
594
  selfSearch(args) {
586
- console.log('开始时间',this.$refs.paged.$refs.cri.model.startDate)
587
- 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 === '') {
588
597
  this.$showAlert('请先选择开始时间、结束时间,再进行查询操作!', 'warning', 3000)
589
598
  } else {
590
599
  //小区查询条件
591
- this.area = this.$refs.paged.$refs.cri.model.f_residential_area
592
- if(this.area.length !== 0){
600
+ this.area = this.$refs.paged.$refs.cri.model.f_residential_area
601
+ if (this.area.length !== 0) {
593
602
  let str = JSON.stringify(this.area)
594
- str = str.replace(/"/g,`'`)
595
- str = str.replace(/\[/g,``)
596
- str = str.replace(/\]/g,``)
603
+ str = str.replace(/"/g, `'`)
604
+ str = str.replace(/\[/g, ``)
605
+ str = str.replace(/\]/g, ``)
597
606
  //查询多个小区时条件
598
607
  args.condition += ` and f_residential_area in ( ${str} )`
599
608
  }
@@ -625,7 +634,7 @@ export default {
625
634
  hidden() {
626
635
  this.criteriaShow = !this.criteriaShow
627
636
  },
628
- getRes(condition,obj) {
637
+ getRes(condition, obj) {
629
638
  this.orgCondtionStr = condition
630
639
  this.orgname = obj.orgnames[0]
631
640
  this.depname = obj.depnames[0]
@@ -636,9 +645,9 @@ export default {
636
645
  }
637
646
 
638
647
  },
639
- events:{
640
- 'getidcard'(IdCard){
641
- 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
642
651
  }
643
652
  },
644
653
  watch: {
@@ -651,8 +660,8 @@ export default {
651
660
  this.updateParams()
652
661
  }
653
662
  },
654
- sumsmodel:{
655
- handler: function(val) {
663
+ sumsmodel: {
664
+ handler: function (val) {
656
665
  this.getotherfooter();
657
666
  },
658
667
  deep: true
@@ -662,7 +671,7 @@ export default {
662
671
  pricetypes() {
663
672
  return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
664
673
  },
665
- inputtores () {
674
+ inputtores() {
666
675
  // 获取抄表员
667
676
  let rs = []
668
677
  if (this.$login.f.f_gasman.length > 0) {
@@ -681,10 +690,10 @@ export default {
681
690
  let f_user_type = this.$refs.paged.model.model.f_user_type;
682
691
  let f_gasproperties = this.$refs.paged.model.model.f_gasproperties;
683
692
  let pricetype = this.$refs.paged.model.model.pricetype;
684
- if(this.$refs.paged.model.model !==null) {
693
+ if (this.$refs.paged.model.model !== null) {
685
694
  let rs = []
686
695
  let priceArr = []
687
- 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) {
688
697
  let params = {
689
698
  f_user_type: f_user_type[0],
690
699
  f_gasproperties: f_gasproperties[0],
@@ -710,7 +719,8 @@ export default {
710
719
  return {
711
720
  startDate: this.$refs.paged.$refs.cri.model.startDate,
712
721
  endDate: this.$refs.paged.$refs.cri.model.endDate,
713
- condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
722
+ condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr
723
+ }
714
724
  },
715
725
  getfield() {
716
726
  return exportConfig.arrearsConfig