From 7ec2f5adf73ef4543a738d891cac1b6e6f41ccfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=A6=8D?= <1455167345@qq.com> Date: Fri, 28 Jun 2024 11:11:03 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=A6=E5=8F=B7=E7=AE=A1=E7=90=86=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E5=8A=A0=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/demo/system/account/account.data.ts | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/views/demo/system/account/account.data.ts b/src/views/demo/system/account/account.data.ts index 4ee90679..9db3ff94 100644 --- a/src/views/demo/system/account/account.data.ts +++ b/src/views/demo/system/account/account.data.ts @@ -24,27 +24,28 @@ export const deptMap = (() => { export const columns: BasicColumn[] = [ { - title: '用户名', + title: '账号', dataIndex: 'account', width: 120, }, { - title: '昵称', + title: '姓名', dataIndex: 'name', width: 120, }, + { + title: '所属部门', + dataIndex: 'department', + }, + { + title: '角色', + dataIndex: 'role', + }, { title: '创建时间', dataIndex: 'createTime', width: 180, }, - // { - // title: '所属部门', - // dataIndex: 'organizations', - // // customRender: ({ value }) => { - // // return deptMap[value]; - // // }, - // }, ]; export const searchFormSchema: FormSchema[] = [