教师部分的修改

This commit is contained in:
daihh
2022-12-27 16:19:58 +08:00
parent 9722f894f6
commit 61218bb21c

View File

@@ -448,6 +448,7 @@
apiTeach.detailTeacher(this.userInfo.aid).then(res =>{
this.teachform.courses = res.result.courses;
this.teachform.workExperience = res.result.workExperience;
this.teachform.photo=res.result.photo;
this.tearchUrl = this.fileBaseUrl + res.result.photo;
this.teachform.expertise = res.result.expertise.split( ',' );
let children=[];
@@ -556,9 +557,9 @@
this.$message.error('最多选择三个专长!')
return;
}
console.log(this.checkboxtearGroup);
//console.log(this.checkboxtearGroup);
this.teachform.expertise = this.checkboxtearGroup.toString();
console.log(this.teachform.expertise);
//console.log(this.teachform.expertise);
this.teachform.id = this.userInfo.aid;
apiTeach.updateTeacher(this.teachform).then(res =>{
//console.log('编辑成功')