updated format code
This commit is contained in:
parent
b75d69ea08
commit
b14bad2249
241 changed files with 14012 additions and 13811 deletions
|
|
@ -1,10 +1,7 @@
|
|||
interface DataNumObject {
|
||||
id: number;
|
||||
count: number;
|
||||
name: string;
|
||||
color: string;
|
||||
}
|
||||
export type {
|
||||
DataNumObject,
|
||||
|
||||
};
|
||||
id: number;
|
||||
count: number;
|
||||
name: string;
|
||||
color: string;
|
||||
}
|
||||
export type { DataNumObject };
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ interface FormPlacementMainData {
|
|||
examOrder: number;
|
||||
fiscalYear: number;
|
||||
numberOfCandidates: number;
|
||||
examTypeValue:string;
|
||||
examTypeValue: string;
|
||||
examTypeName: string;
|
||||
accountStartDate: string;
|
||||
accountExpirationDate: string;
|
||||
|
|
@ -24,17 +24,17 @@ interface FormOrderPlacementMainData {
|
|||
}
|
||||
|
||||
interface FormMainProbation {
|
||||
personal_id: number,
|
||||
ordering: number,
|
||||
name: string,
|
||||
position_line: string,
|
||||
position_line_id: string,
|
||||
position_level: string,
|
||||
position_level_id: string,
|
||||
organization: string,
|
||||
probation_no: number,
|
||||
order_number: string,
|
||||
probation_status: string
|
||||
personal_id: number;
|
||||
ordering: number;
|
||||
name: string;
|
||||
position_line: string;
|
||||
position_line_id: string;
|
||||
position_level: string;
|
||||
position_level_id: string;
|
||||
organization: string;
|
||||
probation_no: number;
|
||||
order_number: string;
|
||||
probation_status: string;
|
||||
}
|
||||
interface FormMainProbation2 {
|
||||
no: string;
|
||||
|
|
@ -44,45 +44,45 @@ interface FormMainProbation2 {
|
|||
institution: string;
|
||||
}
|
||||
interface FormProbationDetail {
|
||||
no: string,
|
||||
id: string,
|
||||
round_no: number,
|
||||
date_start: string,
|
||||
date_finish: string,
|
||||
mentors: string,
|
||||
commander: string,
|
||||
chairman: null
|
||||
no: string;
|
||||
id: string;
|
||||
round_no: number;
|
||||
date_start: string;
|
||||
date_finish: string;
|
||||
mentors: string;
|
||||
commander: string;
|
||||
chairman: null;
|
||||
}
|
||||
interface FormProbationPersonal {
|
||||
personal_id: string,
|
||||
name: string,
|
||||
position_line: string,
|
||||
position_line_id: string,
|
||||
position_level: string,
|
||||
position_level_id: string,
|
||||
organization: string,
|
||||
probation_no: number,
|
||||
order_number: string,
|
||||
probation_status: string
|
||||
personal_id: string;
|
||||
name: string;
|
||||
position_line: string;
|
||||
position_line_id: string;
|
||||
position_level: string;
|
||||
position_level_id: string;
|
||||
organization: string;
|
||||
probation_no: number;
|
||||
order_number: string;
|
||||
probation_status: string;
|
||||
}
|
||||
interface mapData {
|
||||
id:string
|
||||
fullname:string
|
||||
position:string
|
||||
positionEmployeeLevel:string
|
||||
oc:string
|
||||
probation:string
|
||||
id: string;
|
||||
fullname: string;
|
||||
position: string;
|
||||
positionEmployeeLevel: string;
|
||||
oc: string;
|
||||
probation: string;
|
||||
}
|
||||
interface OpfillterType {
|
||||
id:number
|
||||
value:string
|
||||
id: number;
|
||||
value: string;
|
||||
}
|
||||
interface CriteriaType {
|
||||
criteriaType: string;
|
||||
criteriaValue: string;
|
||||
}
|
||||
export type {
|
||||
FormPlacementMainData,
|
||||
export type {
|
||||
FormPlacementMainData,
|
||||
FormOrderPlacementMainData,
|
||||
FormMainProbation,
|
||||
FormMainProbation2,
|
||||
|
|
@ -90,5 +90,5 @@ export type {
|
|||
FormProbationPersonal,
|
||||
mapData,
|
||||
OpfillterType,
|
||||
CriteriaType
|
||||
CriteriaType,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ interface TableName {
|
|||
ExamOrder: number;
|
||||
unitId: string;
|
||||
UnitGroup: string;
|
||||
positionNumber:string;
|
||||
positionPath:string;
|
||||
positionNumber: string;
|
||||
positionPath: string;
|
||||
Unit: string;
|
||||
reportingDate: string; //วันที่รายงานตัว
|
||||
bmaOfficer: string;
|
||||
|
|
@ -18,9 +18,9 @@ interface TableName {
|
|||
university: string;
|
||||
degree: string;
|
||||
disclaim: string;
|
||||
profilePhoto:string;
|
||||
organizationName:string;
|
||||
organizationShortName:string;
|
||||
profilePhoto: string;
|
||||
organizationName: string;
|
||||
organizationShortName: string;
|
||||
major: string;
|
||||
remark: string;
|
||||
number: number;
|
||||
|
|
@ -36,7 +36,7 @@ interface TableName {
|
|||
scoreSum: number;
|
||||
examResult: string;
|
||||
};
|
||||
}
|
||||
}
|
||||
interface PartialTableName {
|
||||
personalId: string;
|
||||
fullName: string;
|
||||
|
|
@ -53,4 +53,4 @@ interface PartialTableName {
|
|||
statusId: string;
|
||||
deferment: string;
|
||||
}
|
||||
export type { TableName ,PartialTableName};
|
||||
export type { TableName, PartialTableName };
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
interface OpType {
|
||||
commandCode: string
|
||||
id: string
|
||||
commandCode: string;
|
||||
id: string;
|
||||
}
|
||||
export type {
|
||||
OpType
|
||||
};
|
||||
export type { OpType };
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ interface listMain {
|
|||
createdAt: Date;
|
||||
amountOld: number;
|
||||
positionDate: Date;
|
||||
leaveDate: Date
|
||||
leaveDate: Date;
|
||||
}
|
||||
//ข้อมูลจาก api
|
||||
interface listMainAPI {
|
||||
|
|
@ -48,8 +48,8 @@ interface listMainAPI {
|
|||
statustext: string;
|
||||
createdAt: Date;
|
||||
amountOld: number;
|
||||
positionDate: Date
|
||||
leaveDate: Date
|
||||
positionDate: Date;
|
||||
leaveDate: Date;
|
||||
}
|
||||
|
||||
interface OtherdataInterface {
|
||||
|
|
@ -98,8 +98,8 @@ interface resApiData {
|
|||
positionDate: Date;
|
||||
avatar: string;
|
||||
commandType: string;
|
||||
militaryDate: Date
|
||||
leaveDate: Date
|
||||
militaryDate: Date;
|
||||
leaveDate: Date;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,10 +5,10 @@ interface ResponseData {
|
|||
personalId: string;
|
||||
selectStatus: boolean;
|
||||
sequence: number;
|
||||
refRecordId: string
|
||||
salaryAmount:number|null
|
||||
positionSalaryAmount:number|null
|
||||
monthSalaryAmount:number|null
|
||||
refRecordId: string;
|
||||
salaryAmount: number | null;
|
||||
positionSalaryAmount: number | null;
|
||||
monthSalaryAmount: number | null;
|
||||
}
|
||||
|
||||
interface ResponseOrganiz {
|
||||
|
|
|
|||
|
|
@ -1,38 +1,38 @@
|
|||
interface relocationType {
|
||||
no:number,
|
||||
id: string,
|
||||
citizenId: "0000000000005",
|
||||
prefix: string,
|
||||
firstname: string,
|
||||
lastname: string,
|
||||
dateOfBirth: Date,
|
||||
gender: string,
|
||||
status: string,
|
||||
recruitDate: Date,
|
||||
positionNumber: number,
|
||||
positionPath: string,
|
||||
positionPathSide: string,
|
||||
positionType: string,
|
||||
positionLine: string,
|
||||
positionLevel: string,
|
||||
posNoId: string,
|
||||
positionId: string,
|
||||
positionPathSideId: string,
|
||||
positionTypeId: string,
|
||||
positionLineId: string,
|
||||
positionLevelId: string,
|
||||
organizationPositionId: string,
|
||||
organizationName: string,
|
||||
organizationShortName: string,
|
||||
isActive: boolean,
|
||||
reason: string,
|
||||
educationOld: string,
|
||||
salary: number,
|
||||
positionTypeOld: string,
|
||||
positionLevelOld: string,
|
||||
positionNumberOld: string,
|
||||
organizationPositionOld: string,
|
||||
createdAt: Date
|
||||
no: number;
|
||||
id: string;
|
||||
citizenId: "0000000000005";
|
||||
prefix: string;
|
||||
firstname: string;
|
||||
lastname: string;
|
||||
dateOfBirth: Date;
|
||||
gender: string;
|
||||
status: string;
|
||||
recruitDate: Date;
|
||||
positionNumber: number;
|
||||
positionPath: string;
|
||||
positionPathSide: string;
|
||||
positionType: string;
|
||||
positionLine: string;
|
||||
positionLevel: string;
|
||||
posNoId: string;
|
||||
positionId: string;
|
||||
positionPathSideId: string;
|
||||
positionTypeId: string;
|
||||
positionLineId: string;
|
||||
positionLevelId: string;
|
||||
organizationPositionId: string;
|
||||
organizationName: string;
|
||||
organizationShortName: string;
|
||||
isActive: boolean;
|
||||
reason: string;
|
||||
educationOld: string;
|
||||
salary: number;
|
||||
positionTypeOld: string;
|
||||
positionLevelOld: string;
|
||||
positionNumberOld: string;
|
||||
organizationPositionOld: string;
|
||||
createdAt: Date;
|
||||
}
|
||||
|
||||
export type { relocationType};
|
||||
export type { relocationType };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue