Commit 96685c4f authored by zhengke's avatar zhengke

修改

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