api รายการสืบสวนข้อเท็จจริง
This commit is contained in:
parent
691a989c16
commit
3c5fcc029b
14 changed files with 1025 additions and 383 deletions
|
|
@ -10,12 +10,12 @@ interface DataNumberOption {
|
|||
|
||||
interface InvestigatefactsDataRowType {
|
||||
id:string,
|
||||
subject: string;
|
||||
interrogated: string;
|
||||
complaintOffenseDetails: string,
|
||||
title: string;
|
||||
respondentType: string;
|
||||
offenseDetails: string,
|
||||
investigationDetail: string,
|
||||
dateInvestigate: string,
|
||||
statusResult: string,
|
||||
investigationStatusResult: string,
|
||||
status: string
|
||||
}
|
||||
|
||||
|
|
@ -32,12 +32,23 @@ interface investigateDisDataRowType {
|
|||
}
|
||||
|
||||
interface directorType {
|
||||
nameDirector: string;
|
||||
id:string
|
||||
prefix:string
|
||||
firstName:string
|
||||
lastName:string
|
||||
position: string;
|
||||
duty: string;
|
||||
email: string;
|
||||
telephone: string;
|
||||
role: string;
|
||||
phone: string;
|
||||
}
|
||||
interface responseType {
|
||||
id:string
|
||||
name:string
|
||||
prefix:string
|
||||
firstName:string
|
||||
lastName:string
|
||||
position:string
|
||||
email:string
|
||||
phone:string
|
||||
}
|
||||
|
||||
export type {
|
||||
|
|
@ -45,5 +56,6 @@ export type {
|
|||
InvestigatefactsDataRowType,
|
||||
investigateDisDataRowType,
|
||||
directorType,
|
||||
DataNumberOption
|
||||
DataNumberOption,
|
||||
responseType
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,35 +1,53 @@
|
|||
interface FormData {
|
||||
id:string
|
||||
idComplaint:string
|
||||
investigationDetail: string;
|
||||
complaint: string;
|
||||
complaintdetail: string;
|
||||
detail: string;
|
||||
investigationDescription: string;
|
||||
fault: string;
|
||||
other: string;
|
||||
evidenceFiles: File | null;
|
||||
investigationDetailOther: string;
|
||||
evidenceFiles: any | null;
|
||||
fileComplaint: File | null;
|
||||
clickTime: boolean;
|
||||
date: Date | null;
|
||||
dateEnd: Date;
|
||||
investigationDateStart: Date | null;
|
||||
investigationDateEnd: Date|null;
|
||||
daysExtend: number | null;
|
||||
investigation: string;
|
||||
statusResult: string;
|
||||
causeText: string;
|
||||
investigationStatusResult: string;
|
||||
investigationCauseText: string;
|
||||
complaintStatus:string
|
||||
reason: string
|
||||
result: string
|
||||
directors:object|null
|
||||
status:string
|
||||
disciplineInvestigateDocs:object|null
|
||||
disciplineInvestigateRelevantDocs:object|null
|
||||
documentFile:any|null
|
||||
respondentType:string
|
||||
organizationId:string
|
||||
persons:object|null
|
||||
}
|
||||
interface ArrayPerson{
|
||||
id:string
|
||||
name:string
|
||||
position:string
|
||||
email:string
|
||||
phone:string
|
||||
}
|
||||
interface MyObjectInvestigateRef {
|
||||
complaint: object | null;
|
||||
complaintdetail: object | null;
|
||||
detail: object | null;
|
||||
investigationDescription: object | null;
|
||||
fault: object | null;
|
||||
evidenceFiles: object | null;
|
||||
fileComplaint: object | null;
|
||||
date: object | null;
|
||||
dateEnd: object | null;
|
||||
investigation: object | null;
|
||||
investigationDetail: object | null;
|
||||
daysExtend: object | null;
|
||||
statusResult: object | null;
|
||||
causeText: object | null;
|
||||
reason: object | null;
|
||||
investigationStatusResult: object | null;
|
||||
investigationCauseText: object | null;
|
||||
result: object | null;
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
|
||||
export type { FormData, MyObjectInvestigateRef };
|
||||
|
|
|
|||
|
|
@ -1,13 +1,31 @@
|
|||
interface ListData {
|
||||
id: string;
|
||||
subject: string;
|
||||
interrogated: string;
|
||||
complaintOffenseDetails: string;
|
||||
title: string;
|
||||
respondentType: string;
|
||||
offenseDetails: string;
|
||||
investigationDetail: string;
|
||||
startDate: Date | null;
|
||||
endDate: Date | null;
|
||||
statusResult: string;
|
||||
investigationDateStart: Date | null;
|
||||
investigationDateEnd: Date | null;
|
||||
investigationStatusResult: string;
|
||||
status: string;
|
||||
createdAt: Date|null;
|
||||
}
|
||||
|
||||
export type { ListData };
|
||||
interface ArrayPerson {
|
||||
personId:string
|
||||
idcard:string
|
||||
name:string
|
||||
prefix:string
|
||||
firstName:string
|
||||
lastName:string
|
||||
posNo:string
|
||||
position:string
|
||||
positionLevel:string
|
||||
salary:number|null
|
||||
organization:string
|
||||
}
|
||||
interface ocListType{
|
||||
organizationId:string
|
||||
organizationName:string
|
||||
}
|
||||
export type { ListData,ArrayPerson,ocListType };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue