แก้ไขฟอร์มสืบสวน และผู้ถูกร้องเรียนของวินัย

This commit is contained in:
Warunee Tamkoo 2023-12-01 16:15:33 +07:00
parent ab15f989cc
commit 7af8370b08
8 changed files with 153 additions and 200 deletions

View file

@ -10,6 +10,7 @@ interface Persons {
salary: number; //เงินเดือน
organization: string; //สังกัด
name: string;
report?: boolean;
}
interface PersonsArray {
id: string; //id อ้างอิง profile
@ -23,6 +24,7 @@ interface PersonsArray {
salary: number; //เงินเดือน
organization: string; //สังกัด
name: string;
report?: boolean;
}
interface Director {
directorId?: string;
@ -128,4 +130,4 @@ interface DisciplinaryRef {
[key: string]: any;
}
export type { FormData, DisciplinaryRef, Persons, Director,PersonsArray };
export type { FormData, DisciplinaryRef, Persons, Director, PersonsArray };

View file

@ -8,39 +8,40 @@ interface ListData {
investigationDateEnd: Date | null;
investigationStatusResult: string;
status: string;
createdAt: Date|null;
createdAt: Date | null;
}
interface ArrayPerson {
id:string
idcard:string
name:string
prefix:string
firstName:string
lastName:string
posNo:string
position:string
positionLevel:string
salary:number|null
organization:string
personId: string;
idcard: string;
name: string;
prefix: string;
firstName: string;
lastName: string;
posNo: string;
position: string;
positionLevel: string;
salary: number | null;
organization: string;
}
interface ArrayPersonAdd {
personId:string
idcard:string
name:string
prefix:string
firstName:string
lastName:string
posNo:string
position:string
positionLevel:string
salary:number|null
organization:string
personId: string; //id อ้างอิง profile
idcard: string; //รหัสบัตรประชาชน
prefix: string; //คำนำหน้า
firstName: string; //ชื่อ
lastName: string; //นามสกุล
posNo: string; //เลขที่ตำแหน่ง
position: string; //ตำแหน่ง
positionLevel: string; //ระดับ
salary: number; //เงินเดือน
organization: string; //สังกัด
name: string;
report?: boolean;
}
interface ocListType{
organizationId:string
organizationName:string
interface ocListType {
organizationId: string;
organizationName: string;
}
export type { ListData,ArrayPerson,ocListType,ArrayPersonAdd };
export type { ListData, ArrayPerson, ocListType, ArrayPersonAdd };