safecheck-client 3.0.35-gongyi-6 → 3.0.35-gongyi-8

Sign up to get free protection for your applications and to get access to all the features.
@@ -76,6 +76,9 @@ import {HttpResetClass} from 'vue-client'
76
76
  },
77
77
  methods: {
78
78
  valuechange(val){
79
+ if(typeof val =='object' && val.hasOwnProperty('isTrusted')){
80
+ return
81
+ }
79
82
  this.changeval = val
80
83
  if(this.valueMultiple){
81
84
  if(val&&val.length > 0){
@@ -275,7 +275,17 @@
275
275
  >
276
276
  </v-select>
277
277
  </div>
278
+ <div class="col-sm-2 form-group" style="margin-top: 0px">
278
279
 
280
+ <label class="font_normal_body">抄&ensp;表&ensp;员</label>
281
+ <v-select :value.sync="model.f_inputtor" v-model='model.f_inputtor'
282
+ :value-single="true" style="width: 60%"
283
+ class="select_list select"
284
+ :options='$parent.$parent.meterReader' placeholder='抄&ensp;表&ensp;员'
285
+ close-on-select
286
+ condition="uf.f_inputtor ='{}'"></v-select>
287
+
288
+ </div>
279
289
  </div>
280
290
  </div>
281
291
  <div slot="modal-footer" class="modal-footer" style="text-align: center">
@@ -367,6 +377,7 @@
367
377
  opt:[{label:"测试",value:"测试"}],
368
378
  showCondtion:false,
369
379
  userTypes:[],//用户类型
380
+ meterReader:[], //抄表员
370
381
  userStates:[],//用户状态
371
382
  gasproperties:[],//用气性质
372
383
  meter_classifys:[],//气表类型
@@ -393,8 +404,34 @@
393
404
  //this.$refs.paged.$refs.criteria.model.f_hasHousehold='未入户'
394
405
  this.setConList()
395
406
  this.loadpage()
407
+ this.getmeterreader()
396
408
  },
397
409
  methods: {
410
+ async getmeterreader(){
411
+ this.meterReader=[]
412
+ let http=new HttpResetClass()
413
+ let getMeterReader = await http.load('pOST',`rs/sql/safe_singleTable_OrderBy`,{
414
+ data:{
415
+ items:'f_inputtor',
416
+ tablename: 't_userfiles',
417
+ condition:`f_orgid = '${this.$login.f.orgid}' and f_inputtor is not null ` + ` group by f_inputtor`,
418
+ orderitem: 'f_inputtor'
419
+ }
420
+ },{resolveMsg:null,rejectMsg:"获取抄表员失败"}).then(res =>{
421
+ this.meterReader = res.data.map(item=>{
422
+ console.log('打印item',item)
423
+ return{
424
+ label : item.f_inputtor,
425
+ value : item.f_inputtor
426
+ }
427
+
428
+ })
429
+ this.meterReader.unshift({label:'全部',value:''})
430
+ }
431
+
432
+ )
433
+ },
434
+
398
435
  loadpage(){
399
436
  this.select_search()
400
437
  this.Mreadibook()
@@ -147,7 +147,7 @@
147
147
  'f_address':'用户地址',
148
148
  'f_state':'是否已检',
149
149
  'f_entry_status':'安检状态',
150
- 'f_offsite_time':'安检时间',
150
+ 'f_upload_date':'安检时间',
151
151
  'f_defect_content':'隐患状态',
152
152
  'f_check_number':'上报条数'
153
153
  }