add pos exe
This commit is contained in:
parent
00d0f1f0fb
commit
a4ebb83184
2 changed files with 10 additions and 0 deletions
|
|
@ -2188,6 +2188,7 @@ export class DevelopmentController extends Controller {
|
||||||
position: x.plannedGoalPositions.map((y) => ({
|
position: x.plannedGoalPositions.map((y) => ({
|
||||||
id: y.id,
|
id: y.id,
|
||||||
position: y.position,
|
position: y.position,
|
||||||
|
posExecutive: y.posExecutive,
|
||||||
posTypeId: y.posTypePlannedId,
|
posTypeId: y.posTypePlannedId,
|
||||||
posType: y.posTypePlanned == null ? null : y.posTypePlanned.posTypeName,
|
posType: y.posTypePlanned == null ? null : y.posTypePlanned.posTypeName,
|
||||||
posLevelId: y.posLevelPlannedId,
|
posLevelId: y.posLevelPlannedId,
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,13 @@ export class PlannedGoalPosition extends EntityBase {
|
||||||
})
|
})
|
||||||
position: string;
|
position: string;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
nullable: true,
|
||||||
|
comment: "ตำแหน่งทางการบริหาร",
|
||||||
|
default: null,
|
||||||
|
})
|
||||||
|
posExecutive: string;
|
||||||
|
|
||||||
@Column({
|
@Column({
|
||||||
nullable: true,
|
nullable: true,
|
||||||
comment: "ประเภทตำแหน่ง",
|
comment: "ประเภทตำแหน่ง",
|
||||||
|
|
@ -51,6 +58,8 @@ export class CreatePlannedGoalPosition {
|
||||||
@Column()
|
@Column()
|
||||||
position: string | null;
|
position: string | null;
|
||||||
@Column()
|
@Column()
|
||||||
|
posExecutive: string | null;
|
||||||
|
@Column()
|
||||||
posTypePlannedId: string | null;
|
posTypePlannedId: string | null;
|
||||||
@Column()
|
@Column()
|
||||||
posLevelPlannedId: string | null;
|
posLevelPlannedId: string | null;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue