From 7941871359494e5d55d9b63b11a1a2f0fe9d8bea Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期二, 16 七月 2024 10:42:51 +0800 Subject: [PATCH] feat:管理员打标签 --- src/views/education/department/list.vue | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/views/education/department/list.vue b/src/views/education/department/list.vue index 66a9595..884a261 100644 --- a/src/views/education/department/list.vue +++ b/src/views/education/department/list.vue @@ -25,6 +25,11 @@ > <el-table-column prop="name" label="閮ㄩ棬"/> <el-table-column prop="adminNames" label="閮ㄩ棬璐熻矗浜�"/> + <el-table-column prop="special" label="鏄惁绠$悊涓夌骇閮ㄩ棬"> + <template slot-scope="{row}"> + <el-tag :type="row.special === '1' ? 'success' : 'danger'">{{ row.special === '1' ? '鏄�' : '鍚�' }}</el-tag> + </template> + </el-table-column> <!-- <el-table-column prop="levelName" label="閮ㄩ棬" />--> <el-table-column width="400px" label="鎿嶄綔" align="center"> <template slot-scope="{row}"> -- Gitblit v1.8.0