ปรับ interfeac
This commit is contained in:
parent
09b1b9f492
commit
cfc073e30c
16 changed files with 462 additions and 277 deletions
38
src/modules/11_discipline/interface/request/complaint.ts
Normal file
38
src/modules/11_discipline/interface/request/complaint.ts
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
interface FormData {
|
||||
complainantType: string
|
||||
complainant: string
|
||||
office: string
|
||||
agency: string
|
||||
topicComplaint: string
|
||||
detail: string
|
||||
datereceive: Date | null
|
||||
dateconsideration: Date | null
|
||||
offenseDescription: string
|
||||
considerationLevel: string
|
||||
datewarn: Date | null
|
||||
receivecomplaints: string
|
||||
petitioner: string
|
||||
files: any | null
|
||||
}
|
||||
|
||||
interface MyObjectComplaintsRef {
|
||||
complainantType: object | null;
|
||||
complainant: object | null;
|
||||
office: object | null;
|
||||
agency: object | null;
|
||||
topicComplaint: object | null;
|
||||
datereceive: object | null;
|
||||
dateconsideration: object | null;
|
||||
offenseDescription: object | null;
|
||||
considerationLevel: object | null;
|
||||
datewarn: object | null;
|
||||
receivecomplaints: object | null;
|
||||
petitioner: object | null;
|
||||
files: object | null;
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
export type {
|
||||
FormData,
|
||||
MyObjectComplaintsRef
|
||||
}
|
||||
30
src/modules/11_discipline/interface/request/order.ts
Normal file
30
src/modules/11_discipline/interface/request/order.ts
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
interface FormData {
|
||||
orderType: string;
|
||||
orderBy: string;
|
||||
listInvestigation: string;
|
||||
authority: string;
|
||||
orderNumber: string;
|
||||
dateYear: number;
|
||||
date: Date | null;
|
||||
authorityPosition: string
|
||||
subject: string;
|
||||
mistakeDetail: string
|
||||
}
|
||||
interface MyObjectRef {
|
||||
orderType: object | null;
|
||||
orderBy: object | null;
|
||||
listInvestigation: object | null;
|
||||
authority: object | null;
|
||||
orderNumber: object | null;
|
||||
dateYear: object | null;
|
||||
date: object | null;
|
||||
authorityPosition: object | null;
|
||||
subject: object | null;
|
||||
mistakeDetail: object | null;
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
export type {
|
||||
FormData,
|
||||
MyObjectRef
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue