This commit is contained in:
Warunee Tamkoo 2024-07-31 09:48:33 +07:00
parent 73d45a3d24
commit 0e87c63641
123 changed files with 310 additions and 10280 deletions

View file

@ -0,0 +1,75 @@
interface DataSumCalendarObject {
id: number;
monthFull: String;
count: number;
color: String;
}
interface DataListsObject {
id: number;
count: number;
name: string;
}
interface FormListMainByRole {
page: number;
pageSize: number;
position: string;
round: string;
keyword: string;
year: number | null;
}
interface FormDataRole {
position: string;
year: number | null | string;
round: string;
org: string;
including: string;
includingName: string;
target: string;
unit: string;
weight: string | null;
meaning: string;
formula: string;
documentInfoEvidence: string;
node: number | null;
nodeId: string | null;
orgRevisionId: string | null;
date?: [null, null];
}
interface FormCompetency {
competencyType: string;
competencyName: string;
definition: string;
level_1: any;
level_2: string;
level_3: string;
level_4: string;
level_5: string;
evaluation: string;
}
interface FormQueryCapacity {
page: number;
pageSize: number;
keyword: string;
}
interface FormFilterAssignment {
keyword: string;
period: string;
year: number | string | null;
pageSize: number;
page: number;
}
export type {
DataSumCalendarObject,
DataListsObject,
FormListMainByRole,
FormDataRole,
FormCompetency,
FormQueryCapacity,
FormFilterAssignment,
};

View file

@ -0,0 +1,39 @@
//ข้อมูลประวัติแก้ไข
interface RequestItemsPublishHistoryObject {
id: string;
items: RequestItemsHistoryObject[];
publishedDate: string;
}
//ข้อมูล
interface RequestItemsHistoryObject {
createdAt?: Date;
createdFullName: String;
createdUserId: String;
id: String;
isActive: Boolean;
lastUpdateFullName: String;
lastUpdateUserId: String;
lastUpdatedAt?: Date;
name: string;
shortName: String;
}
//columns
interface Columns {
[index: number]: {
name: String;
align: String;
label: String;
sortable: Boolean;
field: String;
headerStyle: String;
style: String;
};
}
export type {
RequestItemsHistoryObject,
RequestItemsPublishHistoryObject,
Columns,
};

View file

@ -0,0 +1,42 @@
//ข้อมูลประวัติแก้ไข
interface RequestItemsPublishHistoryObject {
id: string;
items: RequestItemsHistoryObject[];
publishedDate: string;
}
//ข้อมูล
interface RequestItemsHistoryObject {
createdAt?: Date;
createdFullName: String;
createdUserId: String;
id: String;
isActive: Boolean;
lastUpdateFullName: String;
lastUpdateUserId: String;
lastUpdatedAt?: Date;
level: number;
name: string;
shortName: String;
insigniaType?: any;
note: string;
}
//columns
interface Columns {
[index: number]: {
name: String;
align: String;
label: String;
sortable: Boolean;
field: String;
headerStyle: String;
style: String;
};
}
export type {
RequestItemsHistoryObject,
RequestItemsPublishHistoryObject,
Columns,
};

View file

@ -0,0 +1,38 @@
//ข้อมูลประวัติแก้ไข
interface RequestItemsPublishHistoryObject {
id: string;
items: RequestItemsHistoryObject[];
publishedDate: string;
}
//ข้อมูล
interface RequestItemsHistoryObject {
createdAt?: Date;
createdFullName: String;
createdUserId: String;
id: String;
isActive: Boolean;
lastUpdateFullName: String;
lastUpdateUserId: String;
lastUpdatedAt?: Date;
name: string;
}
//columns
interface Columns {
[index: number]: {
name: String;
align: String;
label: String;
sortable: Boolean;
field: String;
headerStyle: String;
style: String;
};
}
export type {
RequestItemsHistoryObject,
RequestItemsPublishHistoryObject,
Columns,
};

View file

@ -0,0 +1,122 @@
interface Pagination {
rowsPerPage: number;
}
interface DataOption {
id: string;
name: string;
}
interface FormPositionSelectDialog {
positionId: string;
positionName: string;
positionField: string;
positionType: string;
positionLevel: string;
positionExecutive: string | null;
positionExecutiveField: string;
positionArea: string;
}
interface FormPositionEmployeeSelectDialog {
positionId: string;
positionName: string;
positionType: string;
positionLevel: string;
}
interface FormPositionSelectRef {
positionName: object | null;
positionField: object | null;
positionType: object | null;
positionLevel: object | null;
positionExecutive: object | null;
positionExecutiveField: object | null;
positionArea: object | null;
[key: string]: any;
}
interface FormPositionEmployeeSelectRef {
positionName: object | null;
positionType: object | null;
positionLevel: object | null;
[key: string]: any;
}
interface FormExecutiveRef {
posExecutiveName: object | null;
posExecutivePriority: object | null;
[key: string]: any;
}
interface OptionType {
id: string;
posTypeName: string;
}
interface OptionLevel {
id: string;
posLevelName: string;
}
interface OptionExecutive {
id: string;
posExecutiveName: string;
}
interface FormPositionSelect {
positionId: string;
posTypeId: string;
positionName: string;
positionField: string;
positionType: string;
positionLevel: string;
positionExecutive: string;
positionExecutiveField: string;
positionArea: string;
isSpecial: boolean;
}
interface ListMenu {
label: string;
icon: string;
type: string;
color: string;
}
interface RowDetailPositions {
id: string;
positionId: string;
positionName: string;
positionField: string;
positionType: string;
positionLevel: string;
positionExecutive: string;
positionExecutiveField: string;
positionArea: string;
posTypeId: string;
posLevelId: string;
posExecutiveId: string;
isSpecial: boolean;
}
interface RowListForm {
id: string;
posExecutiveName: string;
posExecutivePriority: number | null;
}
export type {
Pagination,
DataOption,
FormPositionSelect,
FormPositionSelectRef,
OptionType,
OptionLevel,
OptionExecutive,
ListMenu,
RowDetailPositions,
RowListForm,
FormPositionSelectDialog,
FormExecutiveRef,
FormPositionEmployeeSelectDialog,
FormPositionEmployeeSelectRef,
};

View file

@ -0,0 +1,13 @@
interface FrmDataGroup {
posTypeName: string;
posTypeShortName: string;
posTypeRank: number | null;
}
interface FormDataLevel {
posLevelName: number | null;
posTypeName: string | null;
posLevelAuthority: string;
}
export type { FrmDataGroup, FormDataLevel };