ผูก API สรุปผลการพิจารณา

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-11-29 13:48:07 +07:00
parent e0fa2d9632
commit 4dac59a781
11 changed files with 467 additions and 117 deletions

View file

@ -1,9 +1,9 @@
interface FormData {
detail: string;
resultDescription: string;
}
interface FormRef {
detail: object | null;
resultDescription: object | null;
[key: string]: any;
}

View file

@ -0,0 +1,22 @@
interface DataResult {
id: string; //id รายการ
title: string; //เรื่องที่ร้องเรียน
respondentType: string; //ผู้ถูกร้องเรียน
offenseDetails: string; //ลักษณะความผิดครั้งแรกจะเป็น
disciplinaryFaultLevel: string; //ระดับโทษความผิด
disciplinaryCaseFault: string; //กรณีความผิด
status: string; //สถานะ
createdAt: Date | null; //วันที่ส่งเรื่องสอบสวน
}
interface DataResultList {
id: string; //id รายการ
title: string; //เรื่องที่ร้องเรียน
respondentType: string | undefined; //ผู้ถูกร้องเรียน
offenseDetails: string | undefined; //ลักษณะความผิดครั้งแรกจะเป็น
disciplinaryFaultLevel: string; //ระดับโทษความผิด
disciplinaryCaseFault: string; //กรณีความผิด
status: string | undefined; //สถานะ
createdAt: string | null; //วันที่ส่งเรื่องสอบสวน
}
export type { DataResult, DataResultList };