2023-10-19 15:39:18 +07:00
|
|
|
interface FormData {
|
2023-11-16 16:02:18 +07:00
|
|
|
respondentType: string
|
|
|
|
|
consideredAgency: string
|
|
|
|
|
title: string
|
|
|
|
|
description: string
|
|
|
|
|
dateReceived: Date | null
|
|
|
|
|
dateConsideration: Date | null
|
|
|
|
|
offenseDetails: string
|
|
|
|
|
levelConsideration: string
|
|
|
|
|
dateNotification: Date | null
|
|
|
|
|
complaintFrom: string
|
|
|
|
|
appellant: string
|
|
|
|
|
documentFile: any | null
|
|
|
|
|
complaintStatus: string
|
2023-11-23 10:13:13 +07:00
|
|
|
persons: object|null
|
2023-11-16 16:02:18 +07:00
|
|
|
organizationId:string|null
|
2023-11-23 10:13:13 +07:00
|
|
|
fileList:object|null
|
2023-10-19 15:39:18 +07:00
|
|
|
}
|
|
|
|
|
|
2023-11-16 16:02:18 +07:00
|
|
|
interface ArrayPerson {
|
2023-11-23 10:13:13 +07:00
|
|
|
personId: string,//id อ้างอิง profile
|
|
|
|
|
idcard: string,//รหัสบัตรประชาชน
|
|
|
|
|
prefix: string,//คำนำหน้า
|
|
|
|
|
firstName: string,//ชื่อ
|
|
|
|
|
lastName: string,//นามสกุล
|
|
|
|
|
posNo: string,//เลขที่ตำแหน่ง
|
|
|
|
|
position: string,//ตำแหน่ง
|
|
|
|
|
positionLevel: string,//ระดับ
|
|
|
|
|
salary: number,//เงินเดือน
|
|
|
|
|
organization: string,//สังกัด
|
2023-11-16 16:02:18 +07:00
|
|
|
}
|
2023-11-22 14:13:04 +07:00
|
|
|
interface ArrayFileList {
|
|
|
|
|
id:string
|
|
|
|
|
file:string
|
|
|
|
|
fileName:string
|
|
|
|
|
fileType:string
|
|
|
|
|
}
|
2023-10-19 15:39:18 +07:00
|
|
|
interface MyObjectComplaintsRef {
|
2023-11-16 16:02:18 +07:00
|
|
|
respondentType: object | null;
|
2023-11-23 10:13:13 +07:00
|
|
|
organizationId: object | null;
|
2023-11-16 16:02:18 +07:00
|
|
|
consideredAgency: object | null;
|
|
|
|
|
title: object | null;
|
|
|
|
|
description: object | null;
|
|
|
|
|
dateReceived: object | null;
|
|
|
|
|
dateConsideration: object | null;
|
|
|
|
|
offenseDetails: object | null;
|
|
|
|
|
levelConsideration: object | null;
|
|
|
|
|
dateNotification: object | null;
|
|
|
|
|
complaintFrom: object | null;
|
|
|
|
|
appellant: object | null;
|
2023-10-19 15:39:18 +07:00
|
|
|
[key: string]: any;
|
|
|
|
|
}
|
|
|
|
|
|
2023-11-14 11:18:52 +07:00
|
|
|
interface DataAddRequest {
|
2023-11-16 16:02:18 +07:00
|
|
|
id: string
|
|
|
|
|
idcard: string
|
|
|
|
|
name: string
|
2023-11-22 14:21:05 +07:00
|
|
|
positionNo: string
|
2023-11-16 16:02:18 +07:00
|
|
|
position: string
|
|
|
|
|
positionLevel: string
|
2023-11-22 12:03:33 +07:00
|
|
|
salary: string
|
2023-11-16 16:02:18 +07:00
|
|
|
organization: string
|
2023-11-14 11:18:52 +07:00
|
|
|
}
|
2023-10-19 15:39:18 +07:00
|
|
|
export type {
|
|
|
|
|
FormData,
|
2023-11-14 11:18:52 +07:00
|
|
|
MyObjectComplaintsRef,
|
2023-11-16 16:02:18 +07:00
|
|
|
DataAddRequest,
|
2023-11-22 14:13:04 +07:00
|
|
|
ArrayPerson,
|
|
|
|
|
ArrayFileList
|
2023-10-19 15:39:18 +07:00
|
|
|
}
|