feat: 增删改查演示增加详情功能

增删改查演示增加详情功能
This commit is contained in:
胡少翔
2024-11-27 17:46:00 +08:00
parent 5758b80190
commit 239781788e
3 changed files with 56 additions and 6 deletions

View File

@@ -56,7 +56,14 @@ const contentConfig: IContentConfig<UserPageQuery> = {
{ label: "用户名", align: "center", prop: "username" },
{ label: "头像", align: "center", prop: "avatar", templet: "image" },
{ label: "用户昵称", align: "center", prop: "nickname", width: 120 },
{ label: "性别", align: "center", prop: "genderLabel", width: 100 },
{
label: "性别",
align: "center",
prop: "gender",
width: 100,
templet: "custom",
slotName: "gender",
},
{ label: "部门", align: "center", prop: "deptName", width: 120 },
{
label: "角色",
@@ -94,9 +101,15 @@ const contentConfig: IContentConfig<UserPageQuery> = {
label: "操作",
align: "center",
fixed: "right",
width: 220,
width: 280,
templet: "tool",
operat: [
{
auth: "password:reset",
icon: "Document",
name: "detail",
text: "详情",
},
{
name: "reset_pwd",
auth: "password:reset",