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 | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/views/user/admin/list.vue b/src/views/user/admin/list.vue index 922b592..553df5e 100644 --- a/src/views/user/admin/list.vue +++ b/src/views/user/admin/list.vue @@ -15,6 +15,11 @@ <el-table v-loading="listLoading" :data="tableData" border fit highlight-current-row style="width: 100%"> <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"/> @@ -53,7 +58,7 @@ return { queryParam: { userName: '', - role: 3, + roles: [-1, 3], pageIndex: 1, pageSize: 10 }, -- Gitblit v1.8.0