ทะเบียนประวัติ: เครื่องราชฯ (แก้ไข)

This commit is contained in:
puriphatt 2024-03-19 12:02:09 +07:00
parent 81763a632b
commit 21fd984366
4 changed files with 248 additions and 383 deletions

View file

@ -1,40 +1,38 @@
interface DataProps {
row: RequestItemsObject;
rowIndex: number;
interface RequestItemsObject {
profileId: string;
isActive: boolean;
year: number;
no: string;
volume: string;
section: string;
page: string;
receiveDate: Date | null;
insigniaId: string;
dateAnnounce: Date | null;
issue: string;
volumeNo: string;
refCommandDate: Date | null;
refCommandNo: string;
note: string;
}
//ข้อมูล
interface RequestItemsObject {
interface FormData {
id: string;
insigniaType: string;
insignia: string;
insigniaId: string;
isActive: boolean;
year: number;
receiveDate: Date | null;
insigniaId: string;
insigniaType: string;
no: string;
issue: string;
volumeNo: string;
volume: string;
section: string;
page: string;
receiveDate: Date;
dateAnnounce: Date|string|null;
dateAnnounce: Date | null;
refCommandNo: string;
refCommandDate: Date | null|string;
createdFullName: string;
createdAt: Date;
refCommandDate: Date | null;
note: string;
}
//columns
interface Columns {
[index: number]: {
name: String;
align: String;
label: String;
sortable: Boolean;
field: String;
headerStyle: String;
style: String;
};
}
export type { RequestItemsObject, Columns, DataProps };
export type { RequestItemsObject, FormData };