manage-client 3.3.104 → 3.3.106

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.
@@ -466,6 +466,15 @@
466
466
  condition="f_whether_zbf='{}'">
467
467
  </v-select>
468
468
  </div>
469
+ <div class="col-sm-2 form-group">
470
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;社区&nbsp;&nbsp;&nbsp;</label>
471
+ <v-select :value.sync="model.f_community_id"
472
+ v-model="model.f_community_id"
473
+ condition="f_community_id = '{}'"
474
+ :options='$parent.$parent.communitys'
475
+ placeholder='请选择'
476
+ close-on-select></v-select>
477
+ </div>
469
478
  </div>
470
479
  </div>
471
480
  </criteria>
@@ -858,6 +867,7 @@
858
867
  dep:[],
859
868
  user:[],
860
869
  },
870
+ communitys:[],
861
871
  // 合计数据
862
872
  sumsmodel: {},
863
873
  //表册片区
@@ -876,8 +886,30 @@
876
886
  }).catch((error) => {
877
887
  this.$emit('error', error)
878
888
  })
889
+ this.initcommunitys()
879
890
  },
880
891
  methods: {
892
+ //初始化社区
893
+ async initcommunitys(){
894
+ this.communitys = []
895
+ let HttpReset = new HttpResetClass()
896
+ let req = await HttpReset.load('POST', 'rs/sql/manage_singleTable', {
897
+ data: {
898
+ items: 'id,f_community_name',
899
+ tablename: 't_community',
900
+ orderitem: 'id',
901
+ condition: `1=1`
902
+ }
903
+ }, {resolveMsg: null, rejectMsg: '获取社区失败!'})
904
+ let redata = [{label: "全部", value: ""}]
905
+ req.data.forEach((row, n) => {
906
+ redata.push({
907
+ label: row.f_community_name,
908
+ value: row.id
909
+ })
910
+ })
911
+ this.communitys=redata
912
+ },
881
913
  ReadIDCard(){
882
914
  this.$refs.highcard.sendMsg(this.$refs.highcard.CLT_MSG.READ_IDCARD, (msg) => {
883
915
  console.log('======',msg)
@@ -285,6 +285,15 @@
285
285
  :options='$parent.$parent.iszbf' placeholder='请选择'
286
286
  close-on-select></v-select>
287
287
  </div>
288
+ <div class="col-sm-2 form-group">
289
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;社区&nbsp;&nbsp;&nbsp;</label>
290
+ <v-select :value.sync="model.f_community_id"
291
+ v-model="model.f_community_id"
292
+ condition="f_community_id = '{}'"
293
+ :options='$parent.$parent.communitys'
294
+ placeholder='请选择'
295
+ close-on-select></v-select>
296
+ </div>
288
297
 
289
298
  </div>
290
299
  </div>
@@ -613,6 +622,7 @@
613
622
  bookSlice:[{label: '全部',value: ''}],
614
623
  inputtores:[{label: '全部',value: ''}], //抄表员
615
624
  allorgid:[],
625
+ communitys:[],
616
626
  f_filialeid: this.$login.f.f_orgid,
617
627
  dypayment:[{label:"全部",value:""},{label:"银行代扣",value:"银行代扣",},{label:"现金缴费",value:"现金缴费",}],
618
628
  iszbf: [{label:"是",value:"是"},{label:"否",value:"否",}]
@@ -627,8 +637,30 @@
627
637
  this.$emit('error', error)
628
638
  })
629
639
  this.initAreas(this.$login.f.orgid)
640
+ this.initcommunitys()
630
641
  },
631
642
  methods: {
643
+ //初始化社区
644
+ async initcommunitys(){
645
+ this.communitys = []
646
+ let HttpReset = new HttpResetClass()
647
+ let req = await HttpReset.load('POST', 'rs/sql/manage_singleTable', {
648
+ data: {
649
+ items: 'id,f_community_name',
650
+ tablename: 't_community',
651
+ orderitem: 'id',
652
+ condition: `1=1`
653
+ }
654
+ }, {resolveMsg: null, rejectMsg: '获取社区失败!'})
655
+ let redata = [{label: "全部", value: ""}]
656
+ req.data.forEach((row, n) => {
657
+ redata.push({
658
+ label: row.f_community_name,
659
+ value: row.id
660
+ })
661
+ })
662
+ this.communitys=redata
663
+ },
632
664
  async getinputtores () {
633
665
  // 获取抄表员
634
666
  let rs = []
@@ -10,4 +10,10 @@ export default function () {
10
10
  Vue.component('user-query', (resolve) => { require(['./UserQuery'], resolve) })
11
11
  // 表品牌户数统计
12
12
  Vue.component('brand-house-count', (resolve) => { require(['./ManageBrandHouseCount'], resolve) })
13
+ // 档案变更查询
14
+ Vue.component('changeuser-query', (resolve) => { require(['./ChangeUserQuery'], resolve) })
15
+ // 表具查询
16
+ Vue.component('meter-query', (resolve) => { require(['./MeterQuery'], resolve) })
17
+ // 表具设备查询
18
+ Vue.component('equipment-query', (resolve) => { require(['./DeviceQuery'], resolve) })
13
19
  }