diff --git a/frontend/src/pages/usr/UserDetail.tsx b/frontend/src/pages/usr/UserDetail.tsx
index 7e5fc37..a4db38b 100644
--- a/frontend/src/pages/usr/UserDetail.tsx
+++ b/frontend/src/pages/usr/UserDetail.tsx
@@ -25,7 +25,6 @@ import {
USER_TYPES,
LANGUAGE_OPTIONS,
PERMISSION_GROUPS,
- DEPARTMENTS,
SCOPE_ITEMS,
} from "@/utils/data";
import { useAppDispatch, useAppSelector } from "@/store";
@@ -44,7 +43,6 @@ interface FormState {
sUserName: string;
iStaffId: number | null;
staffName: string;
- department: string;
sUserType: string;
sLanguage: string;
bCanModifyDocs: boolean;
@@ -73,7 +71,6 @@ export default function UserDetail({ userId, mode: initialMode }: Props) {
sUserName: string;
iStaffId: number | null;
staffName: string | null;
- department: string | null;
sUserType: string;
sLanguage: string;
bCanModifyDocs?: boolean;
@@ -89,7 +86,6 @@ export default function UserDetail({ userId, mode: initialMode }: Props) {
sUserName: "",
iStaffId: null,
staffName: "",
- department: "",
sUserType: "普通用户",
sLanguage: "zh",
bCanModifyDocs: false,
@@ -99,7 +95,6 @@ export default function UserDetail({ userId, mode: initialMode }: Props) {
sUserName: snapshot.sUserName,
iStaffId: snapshot.iStaffId,
staffName: snapshot.staffName ?? "",
- department: snapshot.department ?? "",
sUserType: snapshot.sUserType,
sLanguage: snapshot.sLanguage,
bCanModifyDocs: !!snapshot.bCanModifyDocs,
@@ -348,14 +343,6 @@ export default function UserDetail({ userId, mode: initialMode }: Props) {
/>
-
- set("department", v)}
- disabled={disabled}
- options={DEPARTMENTS}
- />
-
= {
customer: {