浏览代码

feat: 1111

lanjianrong 3 年之前
父节点
当前提交
7a1dbcd2af
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 2 2
      src/pages/Institutions/Company/Detail/components/Staff.tsx
  2. 1 1
      src/pages/Institutions/Staff/index.tsx

+ 2 - 2
src/pages/Institutions/Company/Detail/components/Staff.tsx

@@ -78,7 +78,7 @@ const Staff: React.FC<ListProps> = ({
       key: 'enable',
       title: '状态',
       filters: true,
-      width: 86,
+      width: 66,
       filterMultiple: false,
       valueEnum: {
         true: { text: '启用', status: 'Success' },
@@ -89,7 +89,7 @@ const Staff: React.FC<ListProps> = ({
       dataIndex: 'gender',
       key: 'gender',
       title: '性别',
-      width: 40,
+      width: 56,
       render: (_, { gender }) => {
         return <span>{genderEum[gender]}</span>
       }

+ 1 - 1
src/pages/Institutions/Staff/index.tsx

@@ -94,7 +94,7 @@ const CompanyList: React.FC<ListProps> = ({ schema, dispatch, accountTypeList })
       dataIndex: 'enable',
       key: 'enable',
       title: '状态',
-      width: 86,
+      width: 66,
       align: 'center',
       filters: true,
       filterMultiple: false,