diff --git a/frontend/src/pages/users/UserFormFields.tsx b/frontend/src/pages/users/UserFormFields.tsx new file mode 100644 index 0000000..3d500a5 --- /dev/null +++ b/frontend/src/pages/users/UserFormFields.tsx @@ -0,0 +1,75 @@ +import { Form, Input, Select, Checkbox } from 'antd'; +import { USER_TYPE_OPTIONS, LANGUAGE_OPTIONS, EMPLOYEE_OPTIONS } from './usersConstants'; + +interface Props { + mode: 'create' | 'edit'; + disabled?: boolean; +} + +export default function UserFormFields({ mode, disabled = false }: Props) { + return ( + <> + + + + + + + + + + + + + + 允许修改 + + + +