From e32ada5186e1090927301706c2d65144926d26c3 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期三, 28 二月 2024 08:39:38 +0800
Subject: [PATCH] Merge branch 'master' of http://47.97.1.152:5880/r/zy-asrs-master
---
zy-asrs-flow/src/pages/system/user/index.jsx | 24 +++---------------------
1 files changed, 3 insertions(+), 21 deletions(-)
diff --git a/zy-asrs-flow/src/pages/system/user/index.jsx b/zy-asrs-flow/src/pages/system/user/index.jsx
index 3308a83..f6ada67 100644
--- a/zy-asrs-flow/src/pages/system/user/index.jsx
+++ b/zy-asrs-flow/src/pages/system/user/index.jsx
@@ -142,6 +142,7 @@
const treeAllKeys = getTreeAllKeys(treeData);
setDeptExpandedKeys(treeAllKeys);
}).catch((err) => {
+ console.error(err);
setDeptTreeLoading(false);
})
}
@@ -161,14 +162,13 @@
title: 'No',
dataIndex: 'index',
valueType: 'indexBorder',
- width: 30,
+ width: 48,
},
{
title: '閮ㄩ棬',
dataIndex: 'deptId$',
valueType: 'text',
hidden: false,
- width: 100,
render: (_, record) => {
if (_ && _ !== '-') {
return <Tag color={""}>{_}</Tag>
@@ -190,7 +190,6 @@
valueType: 'text',
hidden: false,
copyable: true,
- width: 100,
filterDropdown: (props) => <TextFilter
name='username'
{...props}
@@ -206,7 +205,6 @@
dataIndex: 'nickname',
valueType: 'text',
hidden: false,
- width: 100,
filterDropdown: (props) => <TextFilter
name='nickname'
{...props}
@@ -222,7 +220,6 @@
dataIndex: 'password',
valueType: 'password',
hidden: false,
- width: 100,
filterDropdown: (props) => <TextFilter
name='password'
{...props}
@@ -235,7 +232,6 @@
dataIndex: 'avatar',
valueType: 'text',
hidden: false,
- width: 140,
filterDropdown: (props) => <TextFilter
name='avatar'
{...props}
@@ -248,7 +244,6 @@
dataIndex: 'code',
valueType: 'text',
hidden: false,
- width: 140,
filterDropdown: (props) => <TextFilter
name='code'
{...props}
@@ -261,7 +256,6 @@
dataIndex: 'sex$',
valueType: 'text',
hidden: false,
- width: 80,
filterDropdown: (props) => <SelectFilter
name='sex'
{...props}
@@ -279,7 +273,6 @@
dataIndex: 'phone',
valueType: 'text',
hidden: false,
- width: 100,
filterDropdown: (props) => <TextFilter
name='phone'
{...props}
@@ -292,7 +285,6 @@
dataIndex: 'email',
valueType: 'text',
hidden: false,
- width: 140,
filterDropdown: (props) => <TextFilter
name='email'
{...props}
@@ -305,7 +297,6 @@
dataIndex: 'emailVerified$',
valueType: 'text',
hidden: false,
- width: 140,
filterDropdown: (props) => <SelectFilter
name='emailVerified'
{...props}
@@ -337,7 +328,6 @@
dataIndex: 'realName',
valueType: 'text',
hidden: false,
- width: 140,
filterDropdown: (props) => <TextFilter
name='realName'
{...props}
@@ -350,7 +340,6 @@
dataIndex: 'idCard',
valueType: 'text',
hidden: false,
- width: 140,
filterDropdown: (props) => <TextFilter
name='idCard'
{...props}
@@ -363,7 +352,6 @@
dataIndex: 'birthday',
valueType: 'text',
hidden: false,
- width: 140,
filterDropdown: (props) => <TextFilter
name='birthday'
{...props}
@@ -376,7 +364,6 @@
dataIndex: 'introduction',
valueType: 'text',
hidden: false,
- width: 140,
filterDropdown: (props) => <TextFilter
name='introduction'
{...props}
@@ -389,7 +376,6 @@
dataIndex: 'status$',
valueType: 'text',
hidden: false,
- width: 80,
render: (_, record) => {
const status = statusMap[record.status]
return <Tag color={status.color}>{status.text}</Tag>
@@ -410,7 +396,6 @@
dataIndex: 'createTime$',
valueType: 'text',
hidden: false,
- width: 140,
filterDropdown: (props) => <DatetimeRangeFilter
name='createTime'
{...props}
@@ -423,7 +408,6 @@
dataIndex: 'updateTime$',
valueType: 'text',
hidden: false,
- width: 140,
filterDropdown: (props) => <DatetimeRangeFilter
name='updateTime'
{...props}
@@ -436,7 +420,6 @@
dataIndex: 'updateBy$',
valueType: 'text',
hidden: false,
- width: 140,
filterDropdown: (props) => <LinkFilter
name='updateBy'
major='user'
@@ -450,7 +433,6 @@
dataIndex: 'memo',
valueType: 'text',
hidden: false,
- width: 140,
filterDropdown: (props) => <TextFilter
name='memo'
{...props}
@@ -462,8 +444,8 @@
{
title: '鎿嶄綔',
dataIndex: 'option',
- width: 120,
valueType: 'option',
+ width : 180,
render: (_, record) => [
<Button
type="link"
--
Gitblit v1.9.1