This commit is contained in:
LAPTOP-S9RBPPM6\bjxask-2201
2022-06-01 17:35:55 +08:00
parent c474ffca71
commit 952de67751
2 changed files with 12 additions and 2 deletions

View File

@@ -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>

View File

@@ -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 = '教师授课信息';