@@ -107,10 +107,6 @@ const refresh = (fn = () => {}, time = 5000) => { | |||||
}; | }; | ||||
// 性别 | // 性别 | ||||
const genderOptions = ref([ | const genderOptions = ref([ | ||||
{ | |||||
label: "未知", | |||||
value: "GENDER_UNKNOWN" | |||||
}, | |||||
{ | { | ||||
label: "男", | label: "男", | ||||
value: "GENDER_MALE" | value: "GENDER_MALE" | ||||
@@ -121,10 +121,6 @@ const handleAvatarError: UploadProps["onError"] = (error, uploadFile, uploadFile | |||||
}; | }; | ||||
// 通用状态选项 | // 通用状态选项 | ||||
const genderOptions = ref([ | const genderOptions = ref([ | ||||
{ | |||||
label: "未知", | |||||
value: "GENDER_UNKNOWN" | |||||
}, | |||||
{ | { | ||||
label: "男", | label: "男", | ||||
value: "GENDER_MALE" | value: "GENDER_MALE" | ||||
@@ -68,10 +68,7 @@ const columns: ColumnProps<SysUserPersonnel.SysUserPerInfo>[] = [ | |||||
{ | { | ||||
prop: "gender", | prop: "gender", | ||||
label: "性别", | label: "性别", | ||||
enum: [{ | |||||
label: "未知", | |||||
value: "GENDER_UNKNOWN" | |||||
}, | |||||
enum: [ | |||||
{ | { | ||||
label: "男", | label: "男", | ||||
value: "GENDER_MALE" | value: "GENDER_MALE" | ||||
@@ -147,10 +147,6 @@ const handleAvatarError: UploadProps["onError"] = (error, uploadFile, uploadFile | |||||
}; | }; | ||||
// 通用状态选项 | // 通用状态选项 | ||||
const genderOptions = ref([ | const genderOptions = ref([ | ||||
{ | |||||
label: "未知", | |||||
value: "GENDER_UNKNOWN" | |||||
}, | |||||
{ | { | ||||
label: "男", | label: "男", | ||||
value: "GENDER_MALE" | value: "GENDER_MALE" | ||||
@@ -95,11 +95,7 @@ const columns: ColumnProps<SysUserPersonnel.SysUserPerInfo>[] = [ | |||||
{ | { | ||||
prop: "gender", | prop: "gender", | ||||
label: "性别", | label: "性别", | ||||
enum: [{ | |||||
label: "未知", | |||||
value: "GENDER_UNKNOWN" | |||||
}, | |||||
enum: [ | |||||
{ | { | ||||
label: "男", | label: "男", | ||||
value: "GENDER_MALE" | value: "GENDER_MALE" | ||||
@@ -270,7 +270,6 @@ const state: any = reactive({ | |||||
oneCard: {} //一卡通消费情况 | oneCard: {} //一卡通消费情况 | ||||
}); | }); | ||||
const genderOptions = ref<any>({ | const genderOptions = ref<any>({ | ||||
GENDER_UNKNOWN: "未知", | |||||
GENDER_MALE: "男", | GENDER_MALE: "男", | ||||
GENDER_FEMALE: "女" | GENDER_FEMALE: "女" | ||||
}); | }); | ||||