ทะเบียนประวัติ: เครื่องราชฯ
This commit is contained in:
parent
199e91134f
commit
e83b1671d9
4 changed files with 1239 additions and 12 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -11,6 +11,12 @@ interface DataOption2 {
|
|||
name: string;
|
||||
}
|
||||
|
||||
interface DataOptionInsignia {
|
||||
id: string;
|
||||
name: string;
|
||||
typeName: string;
|
||||
}
|
||||
|
||||
interface zipCodeOption {
|
||||
id: string;
|
||||
name: string;
|
||||
|
|
@ -28,6 +34,18 @@ interface InformationOps {
|
|||
employeeTypeOps: DataOption[];
|
||||
}
|
||||
|
||||
interface AddressOps {
|
||||
provinceOps: DataOption[];
|
||||
districtOps: DataOption[];
|
||||
districtCOps: DataOption[];
|
||||
subdistrictOps: zipCodeOption[];
|
||||
subdistrictCOps: zipCodeOption[];
|
||||
}
|
||||
|
||||
interface InsigniaOps {
|
||||
insigniaOptions: DataOptionInsignia[];
|
||||
}
|
||||
|
||||
interface Information {
|
||||
cardid: string | null;
|
||||
prefix: string | null;
|
||||
|
|
@ -48,14 +66,6 @@ interface Information {
|
|||
profileType: string | null;
|
||||
}
|
||||
|
||||
interface AddressOps {
|
||||
provinceOps: DataOption[];
|
||||
districtOps: DataOption[];
|
||||
districtCOps: DataOption[];
|
||||
subdistrictOps: zipCodeOption[];
|
||||
subdistrictCOps: zipCodeOption[];
|
||||
}
|
||||
|
||||
interface Address {
|
||||
address: string | null;
|
||||
provinceId: string | null;
|
||||
|
|
@ -109,9 +119,11 @@ export type {
|
|||
Pagination,
|
||||
DataOption,
|
||||
DataOption2,
|
||||
DataOptionInsignia,
|
||||
zipCodeOption,
|
||||
InformationOps,
|
||||
Information,
|
||||
AddressOps,
|
||||
InsigniaOps,
|
||||
Information,
|
||||
Address,
|
||||
};
|
||||
|
|
|
|||
40
src/modules/04_registryNew/interface/request/Insignia.ts
Normal file
40
src/modules/04_registryNew/interface/request/Insignia.ts
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
interface DataProps {
|
||||
row: RequestItemsObject;
|
||||
rowIndex: number;
|
||||
}
|
||||
|
||||
//ข้อมูล
|
||||
interface RequestItemsObject {
|
||||
id: string;
|
||||
insigniaType: string;
|
||||
insignia: string;
|
||||
insigniaId: string;
|
||||
year: number;
|
||||
no: string;
|
||||
issue: string;
|
||||
volumeNo: string;
|
||||
volume: string;
|
||||
section: string;
|
||||
page: string;
|
||||
receiveDate: Date;
|
||||
dateAnnounce: Date|string|null;
|
||||
refCommandNo: string;
|
||||
refCommandDate: Date | null|string;
|
||||
createdFullName: string;
|
||||
createdAt: Date;
|
||||
}
|
||||
|
||||
//columns
|
||||
interface Columns {
|
||||
[index: number]: {
|
||||
name: String;
|
||||
align: String;
|
||||
label: String;
|
||||
sortable: Boolean;
|
||||
field: String;
|
||||
headerStyle: String;
|
||||
style: String;
|
||||
};
|
||||
}
|
||||
|
||||
export type { RequestItemsObject, Columns, DataProps };
|
||||
22
src/modules/04_registryNew/interface/response/Insignia.ts
Normal file
22
src/modules/04_registryNew/interface/response/Insignia.ts
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
//ข้อมูล
|
||||
interface ResponseObject {
|
||||
id: string;
|
||||
insigniaType: string;
|
||||
insignia: string;
|
||||
insigniaId: string;
|
||||
year: number;
|
||||
no: string;
|
||||
issue: string;
|
||||
volumeNo: string;
|
||||
volume: string;
|
||||
section: string;
|
||||
page: string;
|
||||
receiveDate: Date;
|
||||
dateAnnounce: Date;
|
||||
refCommandNo: string;
|
||||
refCommandDate: Date | null;
|
||||
createdFullName: string;
|
||||
createdAt: Date;
|
||||
}
|
||||
|
||||
export type { ResponseObject };
|
||||
Loading…
Add table
Add a link
Reference in a new issue