แก้ไขบัค
This commit is contained in:
parent
a2ac793131
commit
f9fac262ef
10 changed files with 174 additions and 152 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import type { zipCodeOption } from "../../components/PersonalDetail/profileType";
|
||||
interface DataOption {
|
||||
id: number | null;
|
||||
name: string | null;
|
||||
id: number;
|
||||
name: string;
|
||||
disable?: boolean;
|
||||
}
|
||||
interface DataOption1 {
|
||||
|
|
@ -15,25 +15,30 @@ interface DataOptionInsignia {
|
|||
typeName: string;
|
||||
}
|
||||
|
||||
interface optionData {
|
||||
id: string;
|
||||
name: string;
|
||||
}
|
||||
|
||||
interface EduOps {
|
||||
levelOptions: DataOption[];
|
||||
positionPathOptions: DataOption[];
|
||||
levelOptions: optionData[];
|
||||
positionPathOptions: optionData[];
|
||||
}
|
||||
|
||||
interface InformationOps {
|
||||
prefixOps: DataOption[];
|
||||
genderOps: DataOption[];
|
||||
bloodOps: DataOption[];
|
||||
statusOps: DataOption[];
|
||||
religionOps: DataOption[];
|
||||
employeeClassOps: DataOption[];
|
||||
employeeTypeOps: DataOption[];
|
||||
prefixOps: optionData[];
|
||||
genderOps: optionData[];
|
||||
bloodOps: optionData[];
|
||||
statusOps: optionData[];
|
||||
religionOps: optionData[];
|
||||
employeeClassOps: optionData[];
|
||||
employeeTypeOps: optionData[];
|
||||
}
|
||||
|
||||
interface AddressOps {
|
||||
provinceOps: DataOption[];
|
||||
districtOps: DataOption[];
|
||||
districtCOps: DataOption[];
|
||||
provinceOps: optionData[];
|
||||
districtOps: optionData[];
|
||||
districtCOps: optionData[];
|
||||
subdistrictOps: zipCodeOption[];
|
||||
subdistrictCOps: zipCodeOption[];
|
||||
}
|
||||
|
|
@ -167,5 +172,7 @@ export type {
|
|||
Education,
|
||||
Family,
|
||||
Address,
|
||||
AddressDataDefualt,
|
||||
optionData,
|
||||
};
|
||||
|
||||
export { AddressDataDefualt };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue