From 8c3eaeddeff2c9c5a92352e6bf830e5000ff5882 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期二, 03 十二月 2024 12:16:11 +0800 Subject: [PATCH] 附件最多上传10个 --- src/views/user/admin/list.vue | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/user/admin/list.vue b/src/views/user/admin/list.vue index 84c860d..553df5e 100644 --- a/src/views/user/admin/list.vue +++ b/src/views/user/admin/list.vue @@ -13,9 +13,13 @@ </el-form> <el-table v-loading="listLoading" :data="tableData" border fit highlight-current-row style="width: 100%"> - <el-table-column prop="id" label="Id" /> <el-table-column prop="userName" label="鐢ㄦ埛鍚�"/> <el-table-column prop="realName" label="鐪熷疄濮撳悕" /> + <el-table-column label="鏍囩" prop="tagNames" align="center"> + <template slot-scope="{row}"> + <el-tag class="link-left" v-for="item, index in row.tagNames" :key="index">{{ item }}</el-tag> + </template> + </el-table-column> <el-table-column prop="sex" label="鎬у埆" width="60px;" :formatter="sexFormatter"/> <el-table-column prop="phone" label="鎵嬫満鍙�"/> <el-table-column prop="createTime" label="鍒涘缓鏃堕棿" width="160px"/> @@ -54,7 +58,7 @@ return { queryParam: { userName: '', - role: 3, + roles: [-1, 3], pageIndex: 1, pageSize: 10 }, -- Gitblit v1.8.0