mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-07 01:46:42 +08:00
提交
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
<el-table-column type="selection"></el-table-column>
|
||||
<el-table-column label="姓名" prop="name" fixed>
|
||||
<template slot-scope="scope">
|
||||
<a @click="handleName(scope.row)">{{scope.row.name}}</a>
|
||||
<span class="previewStyle" @click="handleName(scope.row)">{{scope.row.name}}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
|
||||
@@ -315,12 +315,22 @@ export default {
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
this.getDetail(this.id)
|
||||
this.getDetail(this.id);
|
||||
// this.getAvatar();
|
||||
},
|
||||
computed: {
|
||||
...mapGetters(["userInfo"])
|
||||
},
|
||||
methods: {
|
||||
getAvatar(){
|
||||
teacherApi.detail().then(res => {
|
||||
if (res.status == 200) {
|
||||
const result = res.result;
|
||||
this.form = result;
|
||||
this.dialogVisible = true;
|
||||
}
|
||||
})
|
||||
},
|
||||
exportCourse(row){
|
||||
var eleLink = document.createElement('a');
|
||||
eleLink.download = '教师授课信息';
|
||||
|
||||
Reference in New Issue
Block a user