#
luxiaotao1123
2024-09-13 4757020896b56a3aa29b85b71fd64a5c43dadb51
zy-acs-flow/src/page/user/UserList.jsx
@@ -44,7 +44,6 @@
import * as Common from '@/utils/common';
import UserListAside from "./UserListAside";
import RolesField from './RolesField';
import TreeSelectInput from "../components/TreeSelectInput";
const StyledDatagrid = styled(DatagridConfigurable)(({ theme }) => ({
    '& .css-1vooibu-MuiSvgIcon-root': {
@@ -53,13 +52,26 @@
    '& .RaDatagrid-row': {
        cursor: 'auto'
    },
    '& .column-name': {
    '& .column-username': {
        maxWidth: '10em',
        overflow: 'hidden',
        textOverflow: 'ellipsis',
        whiteSpace: 'nowrap',
    },
    '& .column-nickname': {
        maxWidth: '10em',
        overflow: 'hidden',
        textOverflow: 'ellipsis',
        whiteSpace: 'nowrap',
    },
    '& .column-deptId': {
        maxWidth: '10em',
        overflow: 'hidden',
        textOverflow: 'ellipsis',
        whiteSpace: 'nowrap',
    },
    '& .opt': {
        width: 200
    },
    '& .column-deptId': {
        maxWidth: 80
    },
    '& .column-statusBool': {
        maxWidth: 60
@@ -138,7 +150,7 @@
                    rowClick={(id, resource, record) => false}
                    expand={() => <UserPanel />}
                    expandSingle={true}
                    omit={['id', 'email', 'idCard', 'birthday', 'updateTime', 'createTime', 'memo']}
                    omit={['id', 'email', 'idCard', 'birthday', 'realName', 'updateTime', 'createTime', 'memo']}
                >
                    <NumberField source="id" />
                    <TextField source="username" label="table.field.user.username" />