Commit 2ae837b13ed8cf7a174de4800c73bb4629eaa68d
1 parent
717a95fa
超级管理员账号列表显示模式
Showing
2 changed files
with
14 additions
and
0 deletions
src/views/admin/account/index.vue
@@ -86,6 +86,19 @@ | @@ -86,6 +86,19 @@ | ||
86 | }` | 86 | }` |
87 | }}</template></el-table-column | 87 | }}</template></el-table-column |
88 | > | 88 | > |
89 | + <el-table-column prop="usageMode" label="使用模式" align="center"> | ||
90 | + <template slot-scope="scoped">{{ | ||
91 | + `${ | ||
92 | + scoped.row.usageMode == 0 | ||
93 | + ? "专用模式" | ||
94 | + : scoped.row.usageMode == 1 | ||
95 | + ? "共享模式" | ||
96 | + : scoped.row.usageMode == 2 | ||
97 | + ? "自由模式" | ||
98 | + : "--" | ||
99 | + }` | ||
100 | + }}</template></el-table-column | ||
101 | + > | ||
89 | <el-table-column | 102 | <el-table-column |
90 | prop="tenantName" | 103 | prop="tenantName" |
91 | label="学校名称" | 104 | label="学校名称" |
src/views/layout/header/header.vue
@@ -314,6 +314,7 @@ export default { | @@ -314,6 +314,7 @@ export default { | ||
314 | this.$router.push({ | 314 | this.$router.push({ |
315 | path: "/login", | 315 | path: "/login", |
316 | }); | 316 | }); |
317 | + window.location.reload() //缓存页面问题需要刷新 | ||
317 | } | 318 | } |
318 | } else { | 319 | } else { |
319 | this.$message.error(info); | 320 | this.$message.error(info); |