safecheck-client 3.0.33-7 → 3.0.33-9

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "safecheck-client",
3
3
  "//": "主分支版本别乱升,测试包的版本直接发包(建议使用1.XX.XX-XXX格式作为测试包,不要频繁升级第三位版本号),别提交版本号。切了分支切记把主分支版本升了,保证主分支始终是最高版本!!!!!",
4
- "version": "3.0.33-7",
4
+ "version": "3.0.33-9",
5
5
  "description": "安检模块 前端组件",
6
6
  "author": "丁新 <417755458@qq.com>",
7
7
  "license": "ISC",
@@ -111,6 +111,20 @@
111
111
  >
112
112
  </v-select>
113
113
  </div>
114
+ <div class="form-group col-sm-4" >
115
+ <label class="font_normal_body">街&emsp;&emsp;道:</label>
116
+ <v-select
117
+ class="select select_list"
118
+ :value.sync="model.f_street"
119
+ v-model="model.f_street"
120
+ :options='$parent.$parent.streets'
121
+ placeholder='请选择'
122
+ condition="ua.f_street_id='{}'"
123
+ close-on-select
124
+ value-single
125
+ >
126
+ </v-select>
127
+ </div>
114
128
  <!--<div class="form-group col-sm-4" >
115
129
  <label class="font_normal_body">小区名称:</label>
116
130
  <input type="text" class="input_search" v-model="model.f_userinfo_code"
@@ -416,7 +430,8 @@
416
430
  checkAll:false,
417
431
  checkes:[],
418
432
  excelUserCondtion:false,
419
- uploadCodeCondition:''
433
+ uploadCodeCondition:'',
434
+ streets:[]
420
435
  }
421
436
  },
422
437
  props:["selectplan","userlogin"],
@@ -452,6 +467,7 @@
452
467
  },
453
468
  loadpage(){
454
469
  this.select_search()
470
+ this.select_street()
455
471
  this.Mreadibook()
456
472
  this.getSliceArea()
457
473
  },
@@ -523,7 +539,10 @@
523
539
  value: ''
524
540
  }, ...this.$appdata.getParam('用户类型')] : [{label: '全部', value: ''}]
525
541
 
526
- this.userStates=this.$appdata.getParam('安检用户状态') ? [...this.$appdata.getParam('安检用户状态')] : []
542
+ this.userStates=this.$appdata.getParam('安检用户状态') ? [{
543
+ label: '全部',
544
+ value: ''
545
+ },...this.$appdata.getParam('安检用户状态')] : [{label: '全部', value: ''}]
527
546
  this.gasproperties=this.$appdata.getParam('用气性质') ? [{
528
547
  label: '全部',
529
548
  value: ''
@@ -548,6 +567,19 @@
548
567
  //tag)
549
568
  })
550
569
  },
570
+ select_street(){
571
+ //tag
572
+ new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/rs/sql/safe_singleTable_OrderBy`, {data:{items:"id,f_street",tablename:"t_street",orderitem:"id",condition:`f_orgid = '${this.userlogin.orgid}'`}}, {resolveMsg: null, rejectMsg: null}).then((res)=>{
573
+ //tag)
574
+ if(res.data.length>0){
575
+ this.streets=[]
576
+ this.streets.push({label:"全部",value:""})
577
+ res.data.forEach((result)=>{
578
+ this.streets.push({label:result.f_street,value:result.id})
579
+ })
580
+ }
581
+ })
582
+ },
551
583
  //获取抄表册
552
584
  async Mreadibook(){
553
585
  this.cbc=[]
@@ -154,7 +154,8 @@
154
154
  </div>
155
155
  <div class="row">
156
156
  <p class="panel-title col-xs-4 text-left font">用户电话</p>
157
- <p class="panel-title col-xs-8 text-left input-font">{{ row.f_user_phone2 ? row.f_user_phone2 : row.f_user_phone }}</p>
157
+ <p class="panel-title col-xs-8 text-left input-font" style="width: 77%">{{ row.f_user_phone2 ? row.f_user_phone2 : row.f_user_phone }}
158
+ <img src="../../../assets/phone.png" style="width: 6%" v-on:click.stop.prevent='$parent.$parent.$parent.makeAPhoneCall(row.f_user_phone2 ? row.f_user_phone2 : row.f_user_phone)'></img></p>
158
159
  </div>
159
160
 
160
161
  <div class="row">
@@ -253,6 +254,9 @@
253
254
  }
254
255
  },
255
256
  methods:{
257
+ makeAPhoneCall(phoneNumber) {
258
+ this.$androidUtil.makeAPhoneCall(phoneNumber)
259
+ },
256
260
  scan(){
257
261
  HostApp.__this__=this,
258
262
  HostApp.scanCode({callback:"javascript:HostApp.__this__.getCode();"})
@@ -751,6 +751,9 @@
751
751
  if (this.data[device][item].f_items[i].f_is_defect == true && this.data[device][item].f_items[i].f_path == Vue.nopic) {
752
752
  return dev + (this.data[device].indexOf(this.data[device][item]) + 1) + this.data[device][item].f_items[i].f_item_name + this.data[device][item].f_items[i].f_item_value + "选中必须拍照"
753
753
  }
754
+ if (this.data[device][item].f_items[i].f_is_defect == true && !this.data[device][item].f_items[i].f_deal_dispose) {
755
+ return dev + (this.data[device].indexOf(this.data[device][item]) + 1) + this.data[device][item].f_items[i].f_item_name + this.data[device][item].f_items[i].f_item_value + "选中必须选择处理方式"
756
+ }
754
757
  }
755
758
  }
756
759
  }