mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-09 10:56:44 +08:00
提交修改
This commit is contained in:
@@ -158,12 +158,8 @@
|
||||
<el-button :loading="saveLoading" type="primary" @click="saveHandle">确 定</el-button>
|
||||
</span>
|
||||
</el-dialog>
|
||||
<el-dialog
|
||||
title="教师详情"
|
||||
:close-on-click-modal="false"
|
||||
:visible.sync="showTeacherDetails"
|
||||
width="800px">
|
||||
<teacher-details v-if="teacherDetailsId != ''" :id="teacherDetailsId" :newId="teacherDetailId"></teacher-details>
|
||||
<el-dialog title="教师详情" :close-on-click-modal="false" :visible.sync="showTeacherDetails" width="800px">
|
||||
<teacher-details v-if="teacherDetailId != ''" :id="teacherDetailsId" :newId="teacherDetailId"></teacher-details>
|
||||
<span slot="footer" class="dialog-footer">
|
||||
<el-button @click="handleCloseOne()">取 消</el-button>
|
||||
<!-- <el-button type="primary" @click="showTeacherDetails = false">确 定</el-button> -->
|
||||
|
||||
@@ -146,28 +146,11 @@
|
||||
</div> -->
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="授课资格" name="third">
|
||||
<el-table height="430"
|
||||
:data="qualify.list"
|
||||
style="width: 100%">
|
||||
<el-table-column
|
||||
prop="courseCode"
|
||||
label="课程编号"
|
||||
width="180">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="courseName" show-overflow-tooltip
|
||||
label="课程名称"
|
||||
width="250">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="dictionaryName"
|
||||
label="课程分类"
|
||||
width="180">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="courseType"
|
||||
label="课程类型"
|
||||
width="100">
|
||||
<el-table height="430" :data="qualify.list" style="width: 100%">
|
||||
<el-table-column prop="courseCode" label="课程编号" width="180"> </el-table-column>
|
||||
<el-table-column prop="courseName" show-overflow-tooltip label="课程名称" width="250"> </el-table-column>
|
||||
<el-table-column prop="dictionaryName" label="课程分类" width="180"> </el-table-column>
|
||||
<el-table-column prop="courseType" label="课程类型" width="100">
|
||||
<template slot-scope="scope">
|
||||
<span v-if="scope.row.courseType == '0'">录播</span>
|
||||
<span v-if="scope.row.courseType == '1'">面授</span>
|
||||
@@ -327,9 +310,15 @@ export default {
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
this.getDetail(this.id);
|
||||
this.getAvatar();
|
||||
},
|
||||
watch:{
|
||||
id(newVal){
|
||||
if(newVal){
|
||||
this.getDetail(newVal);
|
||||
}
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
...mapGetters(["userInfo"])
|
||||
},
|
||||
@@ -496,6 +485,12 @@ export default {
|
||||
},
|
||||
getDetail() {
|
||||
//应该是自己系统的教师信息呀
|
||||
teacherApi.detail(this.newId).then(rs=>{
|
||||
if(rs.status==200){
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
teacherBoeApi.teacherInfo(this.id).then(res => {
|
||||
if (res.status == 200) {
|
||||
const result = res.result;
|
||||
|
||||
Reference in New Issue
Block a user