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