updated format code

This commit is contained in:
Warunee Tamkoo 2024-09-03 11:28:01 +07:00
parent b75d69ea08
commit b14bad2249
241 changed files with 14012 additions and 13811 deletions

View file

@ -23,4 +23,9 @@ interface ExtendHistoryObject {
dateEnd: Date;
}
export type { DataOptionRes, CaledarInvestigatefacts, CaledarDisciplinary, ExtendHistoryObject };
export type {
DataOptionRes,
CaledarInvestigatefacts,
CaledarDisciplinary,
ExtendHistoryObject,
};

View file

@ -1,83 +1,91 @@
interface MainList {
id: string
title: string
description: string
status: string
type: string
year: number
caseType: string
caseNumber: string
fullname: string
citizenId: string
profileId: string
lastUpdatedAt: Date
id: string;
title: string;
description: string;
status: string;
type: string;
year: number;
caseType: string;
caseNumber: string;
fullname: string;
citizenId: string;
profileId: string;
lastUpdatedAt: Date;
}
interface RowList {
id: string
title: string
description: string
status: string
type: string
year: number
caseType: string
caseNumber: string
fullname: string
citizenId: string
profileId: string
lastUpdatedAt: string | null
id: string;
title: string;
description: string;
status: string;
type: string;
year: number;
caseType: string;
caseNumber: string;
fullname: string;
citizenId: string;
profileId: string;
lastUpdatedAt: string | null;
}
interface RowAddList {
profileId:string
fullname:string
citizenId:string
oc:string
position:string
profileId: string;
fullname: string;
citizenId: string;
oc: string;
position: string;
}
interface EditDataList {
id: string
title: string
description: string
status: string
type: string
year: number
caseType: string
caseNumber: string
fullname: string
citizenId: string
profileId: string
oc: string
position: string
lastUpdatedAt: string
historyStatus: object | null
disciplineComplaint_Appeal_Docs: object | null
id: string;
title: string;
description: string;
status: string;
type: string;
year: number;
caseType: string;
caseNumber: string;
fullname: string;
citizenId: string;
profileId: string;
oc: string;
position: string;
lastUpdatedAt: string;
historyStatus: object | null;
disciplineComplaint_Appeal_Docs: object | null;
}
interface HistoryStatusType {
status: string
createdFullName: string
createdAt: Date
status: string;
createdFullName: string;
createdAt: Date;
}
interface FileObType {
id:string
pathName:string
fileName:string
id: string;
pathName: string;
fileName: string;
}
interface MyObjectAppealRef {
type: object | null;
title: object | null;
description: object | null;
caseTypeRef: object | null;
caseNumberRef: object | null;
[key: string]: any;
type: object | null;
title: object | null;
description: object | null;
caseTypeRef: object | null;
caseNumberRef: object | null;
[key: string]: any;
}
interface EditStatusRef {
reason: object | null;
status: object | null;
[key: string]: any;
reason: object | null;
status: object | null;
[key: string]: any;
}
export type { MainList, RowList, MyObjectAppealRef, EditStatusRef,EditDataList,FileObType,RowAddList,HistoryStatusType };
export type {
MainList,
RowList,
MyObjectAppealRef,
EditStatusRef,
EditDataList,
FileObType,
RowAddList,
HistoryStatusType,
};

View file

@ -3,7 +3,7 @@ interface ChannelRows {
}
interface typeItem {
id:string
name:string
id: string;
name: string;
}
export type { ChannelRows,typeItem };
export type { ChannelRows, typeItem };

View file

@ -2,12 +2,12 @@ interface DataListRow {
id: string;
personId: string;
title: string;
dateReceived: string|null;
dateReceived: string | null;
respondentType: string;
offenseDetails: string;
createdAt: string;
levelConsideration: string;
dateConsideration: string |null;
dateConsideration: string | null;
status: string;
}
interface DataAdd {

View file

@ -1,25 +1,22 @@
interface DirectorRows {
id: string
prefix: string
firstName: string
lastName: string
position: string;
email: string;
phone: string;
totalInvestigate: number
totalDisciplinary: number
id: string;
prefix: string;
firstName: string;
lastName: string;
position: string;
email: string;
phone: string;
totalInvestigate: number;
totalDisciplinary: number;
}
interface DirectorRowsResponse {
id: string
fullName: string
position: string
email: string
phone: string
totalInvestigate: number
totalDisciplinary: number
id: string;
fullName: string;
position: string;
email: string;
phone: string;
totalInvestigate: number;
totalDisciplinary: number;
}
export type {
DirectorRows,
DirectorRowsResponse
};
export type { DirectorRows, DirectorRowsResponse };

View file

@ -32,10 +32,10 @@ interface ArrayPersonAdd {
prefix: string; //คำนำหน้า
firstName: string; //ชื่อ
lastName: string; //นามสกุล
posNo: string|null; //ตำแหน่งเลขที่
posNo: string | null; //ตำแหน่งเลขที่
position: string; //ตำแหน่ง
positionLevel: string; //ระดับ
salary: number|null; //เงินเดือน
salary: number | null; //เงินเดือน
organization: string; //สังกัด
name: string;
report?: boolean;