mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 12:26:44 +08:00
教师部分的修改
This commit is contained in:
@@ -448,6 +448,7 @@
|
|||||||
apiTeach.detailTeacher(this.userInfo.aid).then(res =>{
|
apiTeach.detailTeacher(this.userInfo.aid).then(res =>{
|
||||||
this.teachform.courses = res.result.courses;
|
this.teachform.courses = res.result.courses;
|
||||||
this.teachform.workExperience = res.result.workExperience;
|
this.teachform.workExperience = res.result.workExperience;
|
||||||
|
this.teachform.photo=res.result.photo;
|
||||||
this.tearchUrl = this.fileBaseUrl + res.result.photo;
|
this.tearchUrl = this.fileBaseUrl + res.result.photo;
|
||||||
this.teachform.expertise = res.result.expertise.split( ',' );
|
this.teachform.expertise = res.result.expertise.split( ',' );
|
||||||
let children=[];
|
let children=[];
|
||||||
@@ -556,9 +557,9 @@
|
|||||||
this.$message.error('最多选择三个专长!')
|
this.$message.error('最多选择三个专长!')
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
console.log(this.checkboxtearGroup);
|
//console.log(this.checkboxtearGroup);
|
||||||
this.teachform.expertise = this.checkboxtearGroup.toString();
|
this.teachform.expertise = this.checkboxtearGroup.toString();
|
||||||
console.log(this.teachform.expertise);
|
//console.log(this.teachform.expertise);
|
||||||
this.teachform.id = this.userInfo.aid;
|
this.teachform.id = this.userInfo.aid;
|
||||||
apiTeach.updateTeacher(this.teachform).then(res =>{
|
apiTeach.updateTeacher(this.teachform).then(res =>{
|
||||||
//console.log('编辑成功')
|
//console.log('编辑成功')
|
||||||
|
|||||||
Reference in New Issue
Block a user