Refactoring code module 11_discipline

This commit is contained in:
STW_TTTY\stwtt 2024-09-19 16:37:16 +07:00
parent 202fbf27b6
commit 9653ae78cb
58 changed files with 1021 additions and 1305 deletions

View file

@ -72,6 +72,12 @@ interface FileLists {
pathName: string; //link file
}
interface HistoryResultCommand {
commandSubject: string;
createdAt: Date|null;
lastUpdatedAt: Date|null;
}
export type {
DataOption,
InvestigatefactsDataRowType,
@ -82,4 +88,5 @@ export type {
FileLists,
DataOptioGroup,
DataOptionYear,
HistoryResultCommand
};

View file

@ -23,8 +23,6 @@ interface FormRef {
firstname: object | null;
lastname: object | null;
position: object | null;
// phone: object | null;
// email: object | null;
[key: string]: any;
}
interface typeOp {

View file

@ -41,18 +41,6 @@ interface Director {
prefix: string;
total?: number;
}
// interface Persons {
// personId: string; //id อ้างอิง profile
// idcard: string; //เลขประจำตัวประชาชน
// prefix: string; //คำนำหน้า
// firstName: string; //ชื่อ
// lastName: string; //นามสกุล
// posNo: string; //ตำแหน่งเลขที่
// position: string; //ตำแหน่ง
// positionLevel: string; //ระดับ
// salary: number; //เงินเดือน
// organization: string; //สังกัด
// }
interface FormData {
respondentType: string;
@ -93,37 +81,6 @@ interface ExtendHistoryObject {
}
interface DisciplinaryRef {
// respondentType: object | null;
// organizationId: object | null;
// disciplinaryDateAllegation: object | null;
// disciplinaryDateEvident: object | null;
// disciplinaryCaseFault: object | null;
// disciplinaryInvestigateAt: object | null;
// disciplinaryFaultLevel: object | null;
// disciplinaryRefLaw: object | null;
// disciplinarySummaryEvidence: object | null;
// disciplinaryRecordAccuser: object | null;
// disciplinaryWitnesses: object | null;
// result: object | null;
// date: object | null;
// dateEnd: object | null;
// daysExtend: object | null;
// disciplinaryDateResult: object | null;
// 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;
[key: string]: any;
}

View file

@ -47,18 +47,6 @@ interface ArrayPerson {
phone: string;
}
interface MyObjectInvestigateRef {
// complaint: object | null;
// complaintdetail: object | null;
// investigationDescription: object | null;
// fault: object | null;
// fileComplaint: object | null;
// date: object | null;
// dateEnd: object | null;
// investigationDetail: object | null;
// daysExtend: object | null;
// investigationStatusResult: object | null;
// investigationCauseText: object | null;
// result: object | null;
[key: string]: any;
}