diff --git a/src/views/manage/TeacherList.vue b/src/views/manage/TeacherList.vue index 37461b90..5c4d29ea 100644 --- a/src/views/manage/TeacherList.vue +++ b/src/views/manage/TeacherList.vue @@ -159,7 +159,7 @@ :close-on-click-modal="false" :visible.sync="showTeacherDetails" width="800px"> - + 取 消 @@ -180,7 +180,8 @@ components:{imageUpload,teacherDetails}, data(){ return { - teacherDetailsId: '', + teacherDetailId:'',//新数据id + teacherDetailsId: '',// sid showTeacherDetails:false, tSystemData:{}, tLevelData:{}, @@ -261,8 +262,9 @@ }, handleName(row) { this.showTeacherDetails = true; - // this.teacherDetailsId = row.sysId; - this.teacherDetailsId = '13BEBDBD-3D28-244D-648D-0CBD6796717C' + this.teacherDetailsId = row.sysId; + this.teacherDetailId = row.id; + // this.teacherDetailsId = '13BEBDBD-3D28-244D-648D-0CBD6796717C' }, getTeachersystem() { teacherBoeApi.teacherSystem(this.userInfo.sysId).then(res=>{ diff --git a/src/views/manage/teacherDetails.vue b/src/views/manage/teacherDetails.vue index 6f79deb2..441a35d8 100644 --- a/src/views/manage/teacherDetails.vue +++ b/src/views/manage/teacherDetails.vue @@ -7,44 +7,44 @@ -
- +
+
- +
- {{form.user.userNo}} + {{newForm.user.userNo}} - {{form.user.name}} + {{newForm.user.name}} - -- + {{form.company_name}} - {{form.user.teaching}} + {{formatSeconds(form.default_teaching_time)}} - 波ue + {{form.system_name}} - 2级 + {{form.level_name}} - 12分账 + {{formatSeconds(form.teaching_time)}} - 未认证 + {{form.is_certify == 1? '已认证':'未认证'}} - -- + {{form.certify_at}} -- @@ -52,15 +52,15 @@ - 认证人 + -- - - {{form.user.description}} + -- + - - -- + + {{form.remark}} @@ -69,7 +69,7 @@
-
导出授课记录
+
- -
+ - - - + width="250"> + width="100"> + -
+ - + width="120"> + width="200"> + width="100"> - 手动 自动 - - { + teacherApi.detail(this.newId).then(res => { if (res.status == 200) { - const result = res.result; - this.form = result; - this.dialogVisible = true; + // const result = res.result; + this.newForm = res.result; + if(res.result.account.avatar != '') { + this.newForm.account.avatar = this.baseUrl + res.result.account.avatar; + } } }) }, @@ -448,9 +457,9 @@ export default { let data = { id:this.id,// 教师id courseType:this.records.courseType || '0,1,2', // 课程类型:‘1,2’:面授,训练班;‘0’:在线班 - pageSize:this.records.pageSize, // 每页数据条数 - page:this.records.page, // 返回第几页数据 - isPage:0, // 是否分页:0分页返回,1:不分页直接返回全部 + // pageSize:this.records.pageSize, // 每页数据条数 + // page:this.records.page, // 返回第几页数据 + isPage:1, // 是否分页:0分页返回,1:不分页直接返回全部 } teacherBoeApi.getCourseScore(data).then(res=>{ if(res.status === '200') {