#
luxiaotao1123
2024-09-10 22fa11fc44be82c1f9d8d11a00c7c4d55ba99af6
zy-acs-flow/src/page/user/UserList.jsx
@@ -43,7 +43,7 @@
import { PAGE_DRAWER_WIDTH, OPERATE_MODE } from '@/config/setting';
import * as Common from '@/utils/common';
import UserListAside from "./UserListAside";
import RolesField from './RolesField';
import RolesField from './RolesField';
const StyledDatagrid = styled(DatagridConfigurable)(({ theme }) => ({
    '& .css-1vooibu-MuiSvgIcon-root': {
@@ -71,7 +71,6 @@
    <DateInput label='common.time.before' source="timeEnd" alwaysOn />,
    <TextInput source="username" label="table.field.user.username" />,
    <TextInput source="password" label="table.field.user.password" />,
    <TextInput source="nickname" label="table.field.user.nickname" />,
    <TextInput source="code" label="table.field.user.code" />,
    <SelectInput source="sex" label="table.field.user.sex"
@@ -83,19 +82,11 @@
    />,
    <TextInput source="phone" label="table.field.user.phone" />,
    <TextInput source="email" label="table.field.user.email" />,
    <SelectInput source="emailVerified" label="table.field.user.emailVerified"
        choices={[
            { id: 0, name: '否' },
            { id: 1, name: '是' },
        ]}
    />,
    <ReferenceInput source="deptId" reference="dept">
        <AutocompleteInput label="table.field.user.deptId" optionText="name" />
    </ReferenceInput>,
    // <ReferenceInput source="deptId" label="table.field.user.deptId" reference="dept">
    //     <AutocompleteInput label="table.field.user.deptId" optionText="name" />
    // </ReferenceInput>,
    <TextInput source="realName" label="table.field.user.realName" />,
    <TextInput source="idCard" label="table.field.user.idCard" />,
    <TextInput source="birthday" label="table.field.user.birthday" />,
    <TextInput source="introduction" label="table.field.user.introduction" />,
    <TextInput label="common.field.memo" source="memo" />,
    <SelectInput