2023-11-27 16:30:14 +07:00
|
|
|
interface Persons {
|
|
|
|
|
personId: string; //id อ้างอิง profile
|
2024-01-24 15:22:07 +07:00
|
|
|
idcard: string; //เลขประจำตัวประชาชน
|
2023-11-27 16:30:14 +07:00
|
|
|
prefix: string; //คำนำหน้า
|
|
|
|
|
firstName: string; //ชื่อ
|
|
|
|
|
lastName: string; //นามสกุล
|
|
|
|
|
posNo: string; //เลขที่ตำแหน่ง
|
|
|
|
|
position: string; //ตำแหน่ง
|
|
|
|
|
positionLevel: string; //ระดับ
|
|
|
|
|
salary: number; //เงินเดือน
|
|
|
|
|
organization: string; //สังกัด
|
|
|
|
|
name: string;
|
2023-12-22 10:15:14 +07:00
|
|
|
report?: boolean; // ส่งไปสรุปผลแล้ว
|
|
|
|
|
isSend?: string; // ส่งไปยุติแล้ว
|
|
|
|
|
isSuspend?: string; //ส่งไปพักแล้ว
|
|
|
|
|
statusDiscard?: string; //ส่งไปงดโทษ/เพิ่มโทษแล้ว
|
2023-11-27 16:30:14 +07:00
|
|
|
}
|
2023-11-29 11:42:53 +07:00
|
|
|
interface PersonsArray {
|
|
|
|
|
id: string; //id อ้างอิง profile
|
2024-01-24 15:22:07 +07:00
|
|
|
idcard: string; //เลขประจำตัวประชาชน
|
2023-11-29 11:42:53 +07:00
|
|
|
prefix: string; //คำนำหน้า
|
|
|
|
|
firstName: string; //ชื่อ
|
|
|
|
|
lastName: string; //นามสกุล
|
|
|
|
|
posNo: string; //เลขที่ตำแหน่ง
|
|
|
|
|
position: string; //ตำแหน่ง
|
|
|
|
|
positionLevel: string; //ระดับ
|
|
|
|
|
salary: number; //เงินเดือน
|
|
|
|
|
organization: string; //สังกัด
|
|
|
|
|
name: string;
|
2023-12-01 16:15:33 +07:00
|
|
|
report?: boolean;
|
2023-11-29 11:42:53 +07:00
|
|
|
}
|
2023-11-27 16:30:14 +07:00
|
|
|
interface Director {
|
2023-11-28 15:44:25 +07:00
|
|
|
directorId?: string;
|
|
|
|
|
duty?: string;
|
2023-11-27 16:30:14 +07:00
|
|
|
email: string;
|
|
|
|
|
firstName: string;
|
|
|
|
|
id: string;
|
|
|
|
|
lastName: string;
|
|
|
|
|
phone: string;
|
|
|
|
|
position: string;
|
|
|
|
|
prefix: string;
|
2023-11-28 15:44:25 +07:00
|
|
|
total?: number;
|
2023-11-27 16:30:14 +07:00
|
|
|
}
|
|
|
|
|
// interface Persons {
|
|
|
|
|
// personId: string; //id อ้างอิง profile
|
2024-01-24 15:22:07 +07:00
|
|
|
// idcard: string; //เลขประจำตัวประชาชน
|
2023-11-27 16:30:14 +07:00
|
|
|
// prefix: string; //คำนำหน้า
|
|
|
|
|
// firstName: string; //ชื่อ
|
|
|
|
|
// lastName: string; //นามสกุล
|
|
|
|
|
// posNo: string; //เลขที่ตำแหน่ง
|
|
|
|
|
// position: string; //ตำแหน่ง
|
|
|
|
|
// positionLevel: string; //ระดับ
|
|
|
|
|
// salary: number; //เงินเดือน
|
|
|
|
|
// organization: string; //สังกัด
|
|
|
|
|
// }
|
|
|
|
|
|
2023-10-24 15:11:34 +07:00
|
|
|
interface FormData {
|
2023-11-24 14:49:51 +07:00
|
|
|
respondentType: string;
|
|
|
|
|
organizationId: string;
|
|
|
|
|
consideredAgency: string;
|
2023-11-27 16:30:14 +07:00
|
|
|
disciplinaryDateAllegation: Date | null;
|
|
|
|
|
disciplinaryDateEvident: Date | null;
|
|
|
|
|
disciplinaryCaseFault: string;
|
|
|
|
|
disciplinaryInvestigateAt: string;
|
|
|
|
|
disciplinaryFaultLevel: string;
|
|
|
|
|
disciplinaryRefLaw: string;
|
|
|
|
|
disciplinarySummaryEvidence: string;
|
|
|
|
|
disciplinaryRecordAccuser: string;
|
|
|
|
|
disciplinaryWitnesses: string;
|
|
|
|
|
result: string;
|
|
|
|
|
directors: Director[];
|
|
|
|
|
persons: Persons[];
|
2023-11-30 18:02:29 +07:00
|
|
|
extendStatus: boolean;
|
2023-12-07 17:51:49 +07:00
|
|
|
disciplinaryDateStart: Date | null|string;
|
|
|
|
|
disciplinaryDateEnd: Date | null|string;
|
2023-11-28 15:44:25 +07:00
|
|
|
daysExtend: number;
|
|
|
|
|
disciplinaryDateInvestigation: Date | null;
|
|
|
|
|
disciplinaryDateResult: Date | null;
|
|
|
|
|
disciplinaryStatusResult: string;
|
|
|
|
|
disciplinaryCauseText: string;
|
|
|
|
|
disciplinaryResult: string;
|
2023-12-07 15:14:58 +07:00
|
|
|
disciplinaryExtendHistory: ExtendHistoryObject[];
|
2023-12-26 15:53:52 +07:00
|
|
|
disciplinaryFaultLevelOther:string
|
2023-12-07 15:14:58 +07:00
|
|
|
}
|
2023-11-27 16:30:14 +07:00
|
|
|
|
2023-12-07 15:14:58 +07:00
|
|
|
interface ExtendHistoryObject {
|
|
|
|
|
name: string;
|
|
|
|
|
num: number;
|
|
|
|
|
daysExtend: number | null;
|
|
|
|
|
dateStart: Date;
|
|
|
|
|
dateEnd: Date;
|
2023-10-24 15:11:34 +07:00
|
|
|
}
|
|
|
|
|
|
2023-11-27 16:30:14 +07:00
|
|
|
interface DisciplinaryRef {
|
2023-12-26 15:53:52 +07:00
|
|
|
// respondentType: object | null;
|
|
|
|
|
// organizationId: object | null;
|
2023-11-28 15:44:25 +07:00
|
|
|
// disciplinaryDateAllegation: object | null;
|
|
|
|
|
// disciplinaryDateEvident: object | null;
|
|
|
|
|
// disciplinaryCaseFault: object | null;
|
|
|
|
|
// disciplinaryInvestigateAt: object | null;
|
2023-12-26 15:53:52 +07:00
|
|
|
// disciplinaryFaultLevel: object | null;
|
2023-11-28 15:44:25 +07:00
|
|
|
// disciplinaryRefLaw: object | null;
|
|
|
|
|
// disciplinarySummaryEvidence: object | null;
|
|
|
|
|
// disciplinaryRecordAccuser: object | null;
|
|
|
|
|
// disciplinaryWitnesses: object | null;
|
|
|
|
|
// result: object | null;
|
2023-12-26 15:53:52 +07:00
|
|
|
// date: object | null;
|
|
|
|
|
// dateEnd: object | null;
|
|
|
|
|
// daysExtend: object | null;
|
|
|
|
|
// disciplinaryDateResult: object | null;
|
2023-11-28 15:44:25 +07:00
|
|
|
|
2023-11-27 16:30:14 +07:00
|
|
|
// filesRecordAccuser: object | null;
|
|
|
|
|
// filesWitnesses: object | null;
|
|
|
|
|
// filesEtc: object | null;
|
|
|
|
|
// casefault: object | null;
|
|
|
|
|
// typefault: object | null;
|
|
|
|
|
// faultLevel: object | null;
|
|
|
|
|
// refLaw: object | null;
|
|
|
|
|
// detailComplaint: object | null;
|
|
|
|
|
// whereInvestigate: object | null;
|
|
|
|
|
// trueDetail: object | null;
|
|
|
|
|
// evidence: object | null;
|
|
|
|
|
// recordAccuser: object | null;
|
|
|
|
|
// witnesses: object | null;
|
|
|
|
|
// InvestResults: object | null;
|
2023-10-24 15:11:34 +07:00
|
|
|
[key: string]: any;
|
|
|
|
|
}
|
|
|
|
|
|
2023-12-01 16:15:33 +07:00
|
|
|
export type { FormData, DisciplinaryRef, Persons, Director, PersonsArray };
|