Commit 96685c4f authored by zhengke's avatar zhengke

修改

parent d076d758
......@@ -259,6 +259,10 @@
StuChannelList: [], //收客渠道
AssistDropList: [], //协助人员
customFromList: [], //客户来源
checkMsg:{
StuId:0,
StuTel:''
}
}
},
created() {
......@@ -271,6 +275,7 @@
this.getCustomFrom();
if (this.saveObj && this.saveObj.StuId > 0) {
this.customMsg.StuId = this.saveObj.StuId;
this.checkMsg.StuId = this.saveObj.StuId;
this.queryStuInfo();
}
},
......@@ -330,8 +335,6 @@
return
}
}
console.log(this.customObj,'11111');
return
var myreg = /^(((13[0-9]{1})|(15[0-9]{1})|(18[0-9]{1}))+\d{8})$/;
if (!myreg.test(this.customObj.StuTel)) {
this.$q.notify({
......@@ -454,11 +457,8 @@
},
//验证手机号
CheckExistsStu(){
let msg = {
StuId: this.saveObj.StuId,
StuTel: this.customObj.StuTel
}
CheckExistsStu(msg).then(res => {
this.checkMsg.StuTel = this.customObj.StuTel
CheckExistsStu(this.checkMsg).then(res => {
})
}
......
......@@ -175,7 +175,7 @@
Id: 0, //编号
IsVisit: 0, //到访状态(1-已到访,0-未到访)
Feedback: '' //反馈
}
},
}
},
created() {
......@@ -189,8 +189,7 @@
this.getList();
let userInfo = this.getLocalStorage();
if(userInfo){
this.VisitMsg.ReceptionPersion = Number(userInfo.AccountId);
this.$forceUpdate();
this.VisitMsg.ReceptionPersion = parseInt(userInfo.Id);
}
},
methods: {
......@@ -303,7 +302,7 @@
this.VisitMsg.School_Id = 0;
this.VisitMsg.Date = '';
this.VisitMsg.VisitTime = '';
this.VisitMsg.ReceptionPersion = '';
// this.VisitMsg.ReceptionPersion = '';
this.VisitMsg.Remark = '';
this.VisitMsg.Feedback = '';
this.isShowAdd = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment