mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-22 09:16:44 +08:00
修改地址
This commit is contained in:
@@ -74,13 +74,18 @@ export default {
|
||||
baseInfo() {
|
||||
getTeacherInfo({teacherId: this.teacherId}).then(res => {
|
||||
this.teacherInfo = res.data[0]
|
||||
var orgNameList=res.data[0].orgName.split('/')
|
||||
if (orgNameList.length<=3){
|
||||
this.form.orgName=res.data[0].orgName
|
||||
}else {
|
||||
this.form.orgName=orgNameList[orgNameList.length-3]+'/'+orgNameList[orgNameList.length-2]+'/'+orgNameList[orgNameList.length-1]
|
||||
}
|
||||
/*
|
||||
* teacherName:教师姓名 teacherNo:教师工号 orgName:组织 positionName:岗位 bandCode:职级 courseName:认证课程名称 courseContent课程内容分类
|
||||
* courseIntroduction:课程简介
|
||||
* */
|
||||
this.form.teacherName = res.data[0].teacherName
|
||||
this.form.teacherNo = res.data[0].teacherNo
|
||||
this.form.orgName = res.data[0].orgName
|
||||
this.form.positionName = res.data[0].positionName
|
||||
this.form.bandCode = res.data[0].bandCode
|
||||
this.form.courseName = res.data[0].courseName
|
||||
|
||||
Reference in New Issue
Block a user