mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 11:26:43 +08:00
教师编辑的处理
This commit is contained in:
@@ -408,13 +408,13 @@
|
|||||||
|
|
||||||
apiBoeTeahcer.simpleInfo(this.userInfo.sysId).then(sinfo=>{
|
apiBoeTeahcer.simpleInfo(this.userInfo.sysId).then(sinfo=>{
|
||||||
if(sinfo.status=='200'){
|
if(sinfo.status=='200'){
|
||||||
if(sinfo.result.courses){
|
if(!this.teachform.courses){
|
||||||
this.teachform.courses = sinfo.result.courses;
|
this.teachform.courses = sinfo.result.courses;
|
||||||
}
|
}
|
||||||
if(sinfo.result.work){
|
if(!this.teachform.workExperience){
|
||||||
this.teachform.workExperience = sinfo.result.work;
|
this.teachform.workExperience = sinfo.result.work;
|
||||||
}
|
}
|
||||||
if(sinfo.result.photo){
|
if(!this.teachform.photo){
|
||||||
this.teachform.photo = sinfo.result.photo;
|
this.teachform.photo = sinfo.result.photo;
|
||||||
this.tearchUrl = this.fileBaseUrl + sinfo.result.photo;
|
this.tearchUrl = this.fileBaseUrl + sinfo.result.photo;
|
||||||
}
|
}
|
||||||
@@ -552,6 +552,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
|
}else{
|
||||||
|
this.$message.error(res.message);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user