From e96d330e1424f3b3c32d1fdbc54bbbb333c39038 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期六, 11 五月 2024 11:02:53 +0800 Subject: [PATCH] feat:人员状态增加正常选项 --- src/views/user/student/list.vue | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/user/student/list.vue b/src/views/user/student/list.vue index db7a57d..82bdfa3 100644 --- a/src/views/user/student/list.vue +++ b/src/views/user/student/list.vue @@ -35,9 +35,9 @@ <el-tag style="margin: 5px;" v-for="(item,index) in row.tagNames" :key="index">{{ item }}</el-tag> </template> </el-table-column> - <el-table-column label="浜哄憳鐘舵��" prop="condition"> + <el-table-column label="浜哄憳鐘舵��" prop="condition" align="center" width="100px"> <template slot-scope="{row}"> - <el-tag type="warning" v-if="row.condition">{{ row.condition }}</el-tag> + <el-tag :type="row.condition == '姝e父' || row.condition == null ? 'success' : 'warning'">{{ row.condition ? row.condition : '姝e父' }}</el-tag> </template> </el-table-column> <el-table-column prop="conditionDetail" label="鍏蜂綋鎯呭喌" show-overflow-tooltip="true"/> @@ -71,8 +71,9 @@ @pagination="search"/> <!-- 鐘舵�佸脊绐� --> - <el-dialog :visible.sync="statusVisible" append-to-body :close-on-click-modal="false" :show-close="false" center width="300px"> + <el-dialog :visible.sync="statusVisible" append-to-body :close-on-click-modal="false" :show-close="false" center width="400px"> <el-radio-group v-model="user.condition"> + <el-radio label="姝e父">姝e父</el-radio> <el-radio label="鐥呭亣">鐥呭亣</el-radio> <el-radio label="鍑哄樊">鍑哄樊</el-radio> <el-radio label="鍏朵粬">鍏朵粬</el-radio> -- Gitblit v1.8.0