fixing
This commit is contained in:
parent
73d45a3d24
commit
0e87c63641
123 changed files with 310 additions and 10280 deletions
75
src/modules/01_masterdata/interface/request/Main.ts
Normal file
75
src/modules/01_masterdata/interface/request/Main.ts
Normal 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,
|
||||
};
|
||||
|
|
@ -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,
|
||||
};
|
||||
|
|
@ -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,
|
||||
};
|
||||
|
|
@ -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,
|
||||
};
|
||||
122
src/modules/01_masterdata/interface/request/position/index.ts
Normal file
122
src/modules/01_masterdata/interface/request/position/index.ts
Normal 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,
|
||||
};
|
||||
|
|
@ -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 };
|
||||
Loading…
Add table
Add a link
Reference in a new issue