diff --git a/src/api/Lecturer.js b/src/api/Lecturer.js index 2cd97ac8..287e9404 100644 --- a/src/api/Lecturer.js +++ b/src/api/Lecturer.js @@ -82,4 +82,4 @@ export const isConfirm = (obj) => http.post('/admin/expenseBill/isConfirm',obj) //培训发生组织根节点列表 export const parentList = () => http.get('/admin/affiliation/parentList') //讲师级别获取 -export const getAllLevelList = () => http.get(' /admin/system/getAllLevelList') +export const getAllLevelList = () => http.get('/admin/system/getAllLevelList') diff --git a/src/components/project/SearchTeacher.vue b/src/components/project/SearchTeacher.vue index 05264917..648580af 100644 --- a/src/components/project/SearchTeacher.vue +++ b/src/components/project/SearchTeacher.vue @@ -228,7 +228,7 @@ const searchMember = (keyword) => { level: item.name+'('+item.userNo+')'+item.sLevelName, key: item.id, orgName: item.orgName, - orgId: item.departId, + orgId: item.orgId, tSystemName:item.tsystemName, sLevelName:item.sLevelName, payrollPlaceCode: item.salaryId, diff --git a/src/views/lecturer/InsideLecturer.vue b/src/views/lecturer/InsideLecturer.vue index f624d2b3..a27f70b1 100644 --- a/src/views/lecturer/InsideLecturer.vue +++ b/src/views/lecturer/InsideLecturer.vue @@ -112,8 +112,16 @@ - + +
+
{{ teacherdialogtitle }}
+ +
@@ -127,12 +135,13 @@ avatar -
+ avatar +
@@ -450,7 +459,7 @@ export default { certStatus: 0,//认证状态 defaultTeachingTime: null, teacherType:1, - photo: avatar, + photo: null, orgLists: [], certification: null, certificationName: null, @@ -634,7 +643,7 @@ export default { let array = []; arr.map((value) => { let obj = { - value: value.levelCode, + value: value.levelName, label: value.levelName, }; array.push(obj); @@ -904,7 +913,7 @@ export default { cancel() state.teacherdialog = true; state.teacherdialogtitle = '新增讲师' - state.formParam.photo = avatar + state.formParam.photo = null state.formParam.status = '1' state.vf = true } @@ -1196,7 +1205,7 @@ export default { state.formParam.description = state.formParam.description === null ? '' : state.formParam.description state.formParam.workExp0erience = state.formParam.workExperience === null ? '' : state.formParam.workExperience state.formParam.courses = state.formParam.courses === null ? '' : state.formParam.courses - state.formParam.photo = state.formParam.photo === null ? avatar : state.formParam.photo + // state.formParam.photo = state.formParam.photo === null ? avatar : state.formParam.photo state.tSystemNames.systemName = res.data.data.tsystemName state.tSystemNames.systemId = res.data.data.tsystemId state.tSystemNames.systemCode = res.data.data.systemCode @@ -1328,6 +1337,24 @@ export default { };