Browse Source

增加生成报告带宽

master
kuaileWu 3 months ago
parent
commit
8d6546bdfa
  1. 23
      pages/modify_visitor/modify_visitor.vue

23
pages/modify_visitor/modify_visitor.vue

@ -78,6 +78,7 @@
var method = 'POST'
if(this.vid){
param.id = this.vid
param.get_idcard = 1
req = 'api/user/update_visitor'
}
@ -94,14 +95,20 @@
});
},
getVisitorInfo() {
this.visitor_info = JSON.parse(uni.getStorageSync('visitor_info_'+ this.vid))
this.name = this.visitor_info.name
this.idcard = this.visitor_info.idcard
this.phone = this.visitor_info.phone
this.nameRule = true
this.idcardExtRule = true
this.phoneRule = true
this.checkSubmit()
var param = new Object()
param.vid = this.vid
this.$http.req('api/user/get_modify_visitor', param, 'POST').then(data=>{
if(data == -1) return
this.name = data.name
this.idcard = data.idcard
this.phone = data.phone
this.nameRule = true
this.idcardExtRule = true
this.phoneRule = true
this.checkSubmit()
});
},
nameBlurEvent(value, res){
this.name = value

Loading…
Cancel
Save