提交 1c232bac authored 作者: matian's avatar matian

代码提交

上级 a111cf19
......@@ -5,7 +5,10 @@
<div :class="`paper-title active${row.ranking}`">{{ row.ranking }}</div>
</template>
<template v-slot:table-name="{ row }">
<el-button type="text" @click="toPersonal(row)">{{ row.class_name }}</el-button>
<el-button type="text" @click="toPersonal(row)" v-if="tabActive === '2' || tabActive === '1'">{{
row.class_name
}}</el-button>
<div v-if="tabActive === '100' || tabActive === '0'">{{ row.class_name }}</div>
</template>
</app-list>
</app-container>
......@@ -57,7 +60,6 @@ export default {
},
methods: {
toPersonal(row) {
if (this.tabActive === '2') {
this.$router.push({
path: '/teacher/data/exam/PersonalList',
query: {
......@@ -69,9 +71,6 @@ export default {
status: this.tabActive
}
})
} else {
return ''
}
},
sortChange(columns) {
if (columns.order === 'ascending') {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论