updated format code
This commit is contained in:
parent
b75d69ea08
commit
b14bad2249
241 changed files with 14012 additions and 13811 deletions
|
|
@ -64,7 +64,6 @@ interface responseType {
|
|||
phone: string;
|
||||
total?: number;
|
||||
duty?: string;
|
||||
|
||||
}
|
||||
|
||||
interface FileLists {
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ interface FormData {
|
|||
investigation: string;
|
||||
statusResult: string;
|
||||
causeText: string;
|
||||
complaintStatus:string
|
||||
reason: string
|
||||
complaintStatus: string;
|
||||
reason: string;
|
||||
}
|
||||
interface MyObjectInvestigateRef {
|
||||
complaint: object | null;
|
||||
|
|
@ -70,4 +70,4 @@ interface ExtendHistoryObject {
|
|||
dateStart: Date;
|
||||
dateEnd: Date;
|
||||
}
|
||||
export type { FormData, MyObjectInvestigateRef,FormDataList };
|
||||
export type { FormData, MyObjectInvestigateRef, FormDataList };
|
||||
|
|
|
|||
|
|
@ -1,30 +1,27 @@
|
|||
interface FormData {
|
||||
orderType: string;
|
||||
orderBy: string;
|
||||
listInvestigation: string;
|
||||
authority: string;
|
||||
orderNumber: string;
|
||||
dateYear: number;
|
||||
date: Date | null;
|
||||
authorityPosition: string
|
||||
subject: string;
|
||||
mistakeDetail: string
|
||||
orderType: string;
|
||||
orderBy: string;
|
||||
listInvestigation: string;
|
||||
authority: string;
|
||||
orderNumber: string;
|
||||
dateYear: number;
|
||||
date: Date | null;
|
||||
authorityPosition: string;
|
||||
subject: string;
|
||||
mistakeDetail: string;
|
||||
}
|
||||
interface MyObjectRef {
|
||||
orderType: object | null;
|
||||
orderBy: object | null;
|
||||
listInvestigation: object | null;
|
||||
authority: object | null;
|
||||
orderNumber: object | null;
|
||||
dateYear: object | null;
|
||||
date: object | null;
|
||||
authorityPosition: object | null;
|
||||
subject: object | null;
|
||||
mistakeDetail: object | null;
|
||||
[key: string]: any;
|
||||
orderType: object | null;
|
||||
orderBy: object | null;
|
||||
listInvestigation: object | null;
|
||||
authority: object | null;
|
||||
orderNumber: object | null;
|
||||
dateYear: object | null;
|
||||
date: object | null;
|
||||
authorityPosition: object | null;
|
||||
subject: object | null;
|
||||
mistakeDetail: object | null;
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
export type {
|
||||
FormData,
|
||||
MyObjectRef
|
||||
}
|
||||
export type { FormData, MyObjectRef };
|
||||
|
|
|
|||
|
|
@ -3,15 +3,15 @@ interface FormData {
|
|||
disciplineType: string;
|
||||
titleType: string;
|
||||
oc: string;
|
||||
file: any
|
||||
disciplineDisciplinary_DocResults: any
|
||||
file: any;
|
||||
disciplineDisciplinary_DocResults: any;
|
||||
year: number | null;
|
||||
}
|
||||
|
||||
interface FileArray {
|
||||
id:string
|
||||
fileName:string
|
||||
pathName:string
|
||||
id: string;
|
||||
fileName: string;
|
||||
pathName: string;
|
||||
}
|
||||
interface FormRef {
|
||||
resultDescription: object | null;
|
||||
|
|
@ -27,27 +27,35 @@ interface DataOptionRes {
|
|||
organizationName: string;
|
||||
}
|
||||
interface DataListRow {
|
||||
id: string
|
||||
idInvestigate: string
|
||||
idComplaint: string
|
||||
respondentType: string
|
||||
persons: PersonType
|
||||
organizationId: string
|
||||
resultDescription: string
|
||||
id: string;
|
||||
idInvestigate: string;
|
||||
idComplaint: string;
|
||||
respondentType: string;
|
||||
persons: PersonType;
|
||||
organizationId: string;
|
||||
resultDescription: string;
|
||||
}
|
||||
|
||||
interface PersonType {
|
||||
id: string
|
||||
idcard: string
|
||||
name: string
|
||||
prefix: string
|
||||
firstName: string
|
||||
lastName: string
|
||||
position: string
|
||||
positionLevel: string
|
||||
salary: number
|
||||
personId: string
|
||||
posNo: string
|
||||
organization: string
|
||||
id: string;
|
||||
idcard: string;
|
||||
name: string;
|
||||
prefix: string;
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
position: string;
|
||||
positionLevel: string;
|
||||
salary: number;
|
||||
personId: string;
|
||||
posNo: string;
|
||||
organization: string;
|
||||
}
|
||||
export type { FormData, FormRef, DataOption, DataOptionRes, PersonType, DataListRow ,FileArray};
|
||||
export type {
|
||||
FormData,
|
||||
FormRef,
|
||||
DataOption,
|
||||
DataOptionRes,
|
||||
PersonType,
|
||||
DataListRow,
|
||||
FileArray,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -23,4 +23,9 @@ interface ExtendHistoryObject {
|
|||
dateEnd: Date;
|
||||
}
|
||||
|
||||
export type { DataOptionRes, CaledarInvestigatefacts, CaledarDisciplinary, ExtendHistoryObject };
|
||||
export type {
|
||||
DataOptionRes,
|
||||
CaledarInvestigatefacts,
|
||||
CaledarDisciplinary,
|
||||
ExtendHistoryObject,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ interface ChannelRows {
|
|||
}
|
||||
|
||||
interface typeItem {
|
||||
id:string
|
||||
name:string
|
||||
id: string;
|
||||
name: string;
|
||||
}
|
||||
export type { ChannelRows,typeItem };
|
||||
export type { ChannelRows, typeItem };
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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 };
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue