telephone-clients 4.0.0-1-72 → 4.0.0-1-73

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.
@@ -42,6 +42,21 @@
42
42
  v-model="address" placeholder='用户地址' />
43
43
  </div>
44
44
  </div>
45
+ <div class="row app-row" v-if="worktype == '报修单'">
46
+ <div class="col-xs-4">
47
+ <img src="../../../assets/小区蓝色.png" style="width: 20px;margin-bottom: 5px" alt="">
48
+ <label class="font text-left">所属小区:</label>
49
+ </div>
50
+ <div class="col-xs-8" >
51
+ <v-select :value.sync="f_small_area"
52
+ v-model="f_small_area"
53
+ :options='areas'
54
+ :value-single="true"
55
+ placeholder='请选择'
56
+ close-on-select
57
+ ></v-select>
58
+ </div>
59
+ </div>
45
60
  <div class="row app-row" v-if="worktype == '报修单'">
46
61
  <div class="col-xs-4">
47
62
  <img src="../../../assets/小区蓝色.png" style="width: 20px;margin-bottom: 5px" alt="">
@@ -416,6 +431,8 @@
416
431
  username:'',
417
432
  address:'',
418
433
  f_userinfo_code:'',
434
+ f_small_area:'',
435
+ areas:[],
419
436
  moveshow:false,
420
437
  repairers: [],
421
438
  repairtypes:this.$appdata.getParam('报修类型')?[{label: '全部', value: ''}, ...this.$appdata.getParam('报修类型')]:[{label: '全部', value: ''}],
@@ -458,6 +475,17 @@
458
475
  }
459
476
  },
460
477
  methods: {
478
+ select_search(){
479
+ new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/af-telephone/rs/sql/safe_singleTable_OrderBy`, {data:{items:"*",tablename:"t_area",orderitem:"id",condition:`f_orgid = '${Vue.user.orgid}'`}}, {resolveMsg: null, rejectMsg: null}).then((res)=>{
480
+ if(res.data.length>0){
481
+ this.areas = []
482
+ this.areas.push({label:"全部",value:""})
483
+ res.data.forEach((result)=>{
484
+ this.areas.push({label:result.f_residential_area,value:result.f_residential_area})
485
+ })
486
+ }
487
+ })
488
+ },
461
489
  showSubsidiaryPath(row){
462
490
  this.img_show = true
463
491
  this.temp_row = row
@@ -607,6 +635,9 @@
607
635
  if(this.address != ''){
608
636
  condition += " and f_address like '%" + this.address + "%'"
609
637
  }
638
+ if(this.f_small_area != ''){
639
+ condition += " and f_small_area = '" + this.f_small_area + "'"
640
+ }
610
641
  if(this.f_userinfo_code != ''){
611
642
  condition += " and f_userinfo_code = '" + this.f_userinfo_code + "'"
612
643
  }
@@ -791,6 +822,7 @@
791
822
  }
792
823
  this.getEmp()
793
824
  this.ifsearch()
825
+ this.select_search()
794
826
  // var _this = this;
795
827
  // this.timeoutHandle = window.setInterval(function() {
796
828
  // _this.sumsearch()