2023-10-19 15:39:18 +07:00
|
|
|
interface FormData {
|
2023-11-16 16:02:18 +07:00
|
|
|
respondentType: string
|
2023-10-19 15:39:18 +07:00
|
|
|
office: string
|
2023-11-16 16:02:18 +07:00
|
|
|
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
|
|
|
|
|
persons: ArrayPerson[]
|
2023-11-22 12:03:33 +07:00
|
|
|
personId: any
|
2023-11-16 16:02:18 +07:00
|
|
|
organizationId:string|null
|
2023-11-22 12:03:33 +07:00
|
|
|
respondentId:any
|
2023-11-22 14:13:04 +07:00
|
|
|
fileList:ArrayFileList[]
|
2023-10-19 15:39:18 +07:00
|
|
|
}
|
|
|
|
|
|
2023-11-16 16:02:18 +07:00
|
|
|
interface ArrayPerson {
|
|
|
|
|
idcard: string,
|
|
|
|
|
name: string,
|
|
|
|
|
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-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-10-19 15:39:18 +07:00
|
|
|
office: 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
|
|
|
|
|
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
|
|
|
}
|