manage-client 3.3.1 → 3.3.3

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 (34) hide show
  1. package/package.json +1 -1
  2. package/src/components/sale/businessquery/GroupChargeQuery.vue +1 -1
  3. package/src/filiale/gehua/GroupChargeQuery.vue +1 -1
  4. package/src/filiale/macheng/config/exportConfig.js +1 -1
  5. package/src/filiale/shanxian/CancellationQuery.vue +426 -0
  6. package/src/filiale/shanxian/ChangeUserQuery.vue +395 -0
  7. package/src/filiale/shanxian/DeviceQuery.vue +586 -0
  8. package/src/filiale/shanxian/DisableQuery.vue +528 -0
  9. package/src/filiale/shanxian/EnableQuery.vue +461 -0
  10. package/src/filiale/shanxian/FMYGasQuery.vue +731 -0
  11. package/src/filiale/shanxian/FmyGasDeviceQuery.vue +68 -33
  12. package/src/filiale/shanxian/InspectListUserNew.vue +18 -16
  13. package/src/filiale/shanxian/LostContactAnalysisList.vue +19 -18
  14. package/src/filiale/shanxian/MeterQuery.vue +968 -0
  15. package/src/filiale/shanxian/MonthGasQuery.vue +481 -0
  16. package/src/filiale/shanxian/NewQueryInstruct.vue +457 -0
  17. package/src/filiale/shanxian/ReverseQuery.vue +454 -0
  18. package/src/filiale/shanxian/TransferQuery.vue +469 -0
  19. package/src/filiale/shanxian/UserGasAll.vue +15 -14
  20. package/src/filiale/shanxian/UserLostContactAnalysis.vue +18 -17
  21. package/src/filiale/shanxian/UserQuery.vue +27 -26
  22. package/src/filiale/shanxian/config/exportConfig.js +100 -100
  23. package/src/filiale/shanxian/newwebmeter/TotalExceptionByMeter.vue +608 -0
  24. package/src/filiale/shanxian/sale.js +20 -0
  25. package/src/filiale/shanxian/webmeterManage.js +4 -0
  26. package/src/filiale/wenxi/GasStatistics.vue +6 -6
  27. package/src/filiale/wenxi/HandplanQuery.vue +10 -10
  28. package/src/filiale/wenxi/MeterQuery.vue +41 -68
  29. package/.gradle/4.4/fileChanges/last-build.bin +0 -0
  30. package/.gradle/6.1/executionHistory/executionHistory.bin +0 -0
  31. package/.gradle/6.1/executionHistory/executionHistory.lock +0 -0
  32. package/.gradle/6.1/fileChanges/last-build.bin +0 -0
  33. package/.gradle/6.1/fileHashes/fileHashes.bin +0 -0
  34. package/.gradle/6.1/fileHashes/fileHashes.lock +0 -0
@@ -133,16 +133,16 @@
133
133
  <!-- condition="f_audit_date >= '{}'">-->
134
134
  <!-- </datepicker>-->
135
135
  <!-- </div>-->
136
- <div class="col-sm-2 form-group">
137
- <label for="endDate" class="font_normal_body">&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>
138
- <datepicker id="f_audit_date" placeholder="结束日期" style="width:60%"
139
- v-model="model.auditEndDate"
140
- :value.sync="model.auditEndDate"
141
- :format="'yyyy-MM-dd 23:59:59'"
142
- :show-reset-button="true"
143
- condition="f_audit_date <= '{}'">
144
- </datepicker>
145
- </div>
136
+ <!-- <div class="col-sm-2 form-group">-->
137
+ <!-- <label for="endDate" class="font_normal_body">&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>-->
138
+ <!-- <datepicker id="f_audit_date" placeholder="结束日期" style="width:60%"-->
139
+ <!-- v-model="model.auditEndDate"-->
140
+ <!-- :value.sync="model.auditEndDate"-->
141
+ <!-- :format="'yyyy-MM-dd 23:59:59'"-->
142
+ <!-- :show-reset-button="true"-->
143
+ <!-- condition="f_audit_date <= '{}'">-->
144
+ <!-- </datepicker>-->
145
+ <!-- </div>-->
146
146
 
147
147
  <div class="col-sm-2 form-group">
148
148
  <label class="font_normal_body">客户类型</label>
@@ -452,7 +452,7 @@
452
452
  </template>
453
453
 
454
454
  <script>
455
- import {PagedList} from 'vue-client'
455
+ import {HttpResetClass, PagedList} from 'vue-client'
456
456
  import exportConfig from './config/exportConfig'
457
457
 
458
458
  let cardBtnGen = async function (self, val) {
@@ -480,9 +480,6 @@ let cardBtnGen = async function (self, val) {
480
480
  }
481
481
 
482
482
  let readySomething = async function (self) {
483
- self.$MagGetSaleParam.initinputtor();
484
- self.getinputtores();
485
- self.initmeterbook();
486
483
  // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
487
484
  // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
488
485
  // await self.$refs.paged.$refs.cri.search()
@@ -535,14 +532,14 @@ export default {
535
532
  pricenames: [],
536
533
  gasproperties: [],
537
534
  inputtouPerson: [],
538
- meterbooks: [{label: '全部', value: ''}], //抄表册
535
+ meterbooks: [], //抄表册
539
536
  prices: [],
540
537
  //合计数据
541
538
  sumsmodel: {},
542
539
  //表册片区
543
540
  bookSlice: [{label: '全部', value: ''}],
544
541
  inputtores: [{label: '全部', value: ''}], //抄表员
545
- f_filialeid: this.$login.f.f_orgid,
542
+ f_filialeid: this.$login.f.orgid,
546
543
  allorgid: [],
547
544
  tempfalg: false,
548
545
  lastorgstr: '',
@@ -557,6 +554,7 @@ export default {
557
554
  ready() {
558
555
  console.log("===========", this.$filialeInfo)
559
556
  this.titleShow = this.$appdata.getSingleValue('是否显示筛选框') == null ? true : this.$appdata.getSingleValue('是否显示筛选框')
557
+ this.loadMeterBooks()
560
558
  readySomething(this).then(() => {
561
559
  this.$emit('ready')
562
560
  }).catch((error) => {
@@ -583,29 +581,15 @@ export default {
583
581
  // this.clear()
584
582
  cardBtnGen(this, val)
585
583
  },
586
- async initmeterbook(orgstr) {
587
- if (orgstr == null) {
588
- orgstr = this.f_filialeid;
589
- }
590
- //获取新的抄表册,先去清理所有的抄表册
591
- this.$GetSaleParam.meterbooks = [];
592
- //开始加载新的抄表册
593
- await this.$LoadParams.loadMeterBook(orgstr)
594
- this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
595
- },
596
- async getinputtores() {
597
- // 获取抄表员
598
- let rs = []
599
- if (this.$login.f.f_gasman.length > 0) {
600
- for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
601
- let temp = {
602
- label: this.$login.f.f_gasman[i].name,
603
- value: this.$login.f.f_gasman[i].name
604
- }
605
- rs.push(temp)
606
- }
607
- }
608
- this.inputtores = [{label: '全部', value: ''}, ...rs]
584
+ loadMeterBooks () {
585
+ let http = new HttpResetClass()
586
+ this.$resetpost('rs/logic/sale_getMeterBooksData', {data: {f_orgid: this.f_filialeid}}, {resolveMsg: null, rejectMsg: '获取营收参数出错!!!'}).then(res=>{
587
+ let arr = []
588
+ res.data.meterbooks.forEach((item, index) => {
589
+ arr.push({label: item.f_book_name, value: item.id})
590
+ })
591
+ this.meterbooks = [{label: '全部', value: ''}, ...arr]
592
+ })
609
593
  },
610
594
  getotherfooter() {
611
595
  // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
@@ -635,17 +619,6 @@ export default {
635
619
  this.show = true
636
620
  },
637
621
  selfSearch(args) {
638
- //抄表员查询条件
639
- this.inputtouPerson = this.$refs.paged.$refs.cri.model.f_inputtor
640
- if (this.inputtouPerson.length !== 0) {
641
- let str = JSON.stringify(this.inputtouPerson)
642
- str = str.replace(/"/g, `'`)
643
- str = str.replace(/\[/g, ``)
644
- str = str.replace(/\]/g, ``)
645
- console.log("=====抄表员model22222222222绑定====", str)
646
- //查询多个抄表员时条件
647
- args.condition += ` and f_inputtor in ( ${str} )`
648
- }
649
622
  if (!this.orgCondtionStr) {
650
623
  args.condition = `${args.condition}` + " and f_orgid = " + this.$login.f.orgid
651
624
  } else {
@@ -805,35 +778,35 @@ export default {
805
778
  },
806
779
  'modelval.length'() {
807
780
  this.put()
808
- },
809
- async 'orgCondtionStr'(val) {
810
- //更新抄表册
811
- this.meterbooks = [{label: '全部', value: ''}];
812
- if (this.lastorgstr != val) {
813
- this.tempfalg = true;
814
- this.lastorgstr = val;
815
- }
816
- if (this.tempfalg && val != null && val != '' && val.indexOf("(") > -1) {
817
- this.tempfalg = false;
818
- let a = val.substring(val.indexOf("(") + 2)
819
- await this.initmeterbook(a.substring(0, a.indexOf(")") - 1));
820
- }
821
- let res = val.match(/'(.*?)'/)
822
- console.log('正则提取:', res && res[1])
823
- if (res) {
824
- this.f_filialeid = res[1]
825
- if (res.input != null) {
826
- let resorgid = res.input.substring(res.input.indexOf("'"));
827
- if (resorgid != null && resorgid != '') {
828
- resorgid = resorgid.substring(0, resorgid.lastIndexOf("'") + 1);
829
- // resorgid = resorgid.replaceAll("'","");
830
- resorgid = resorgid.replace(/'/g, "");
831
- this.allorgid = resorgid.split(",")
832
- }
833
- }
834
- this.updateParams()
835
- }
836
781
  }
782
+ // async 'orgCondtionStr'(val) {
783
+ // //更新抄表册
784
+ // this.meterbooks = [{label: '全部', value: ''}];
785
+ // if (this.lastorgstr != val) {
786
+ // this.tempfalg = true;
787
+ // this.lastorgstr = val;
788
+ // }
789
+ // if (this.tempfalg && val != null && val != '' && val.indexOf("(") > -1) {
790
+ // this.tempfalg = false;
791
+ // let a = val.substring(val.indexOf("(") + 2)
792
+ // await this.initmeterbook(a.substring(0, a.indexOf(")") - 1));
793
+ // }
794
+ // let res = val.match(/'(.*?)'/)
795
+ // console.log('正则提取:', res && res[1])
796
+ // if (res) {
797
+ // this.f_filialeid = res[1]
798
+ // if (res.input != null) {
799
+ // let resorgid = res.input.substring(res.input.indexOf("'"));
800
+ // if (resorgid != null && resorgid != '') {
801
+ // resorgid = resorgid.substring(0, resorgid.lastIndexOf("'") + 1);
802
+ // // resorgid = resorgid.replaceAll("'","");
803
+ // resorgid = resorgid.replace(/'/g, "");
804
+ // this.allorgid = resorgid.split(",")
805
+ // }
806
+ // }
807
+ // this.updateParams()
808
+ // }
809
+ // }
837
810
  },
838
811
  computed: {
839
812
  authArr() {