diff --git a/src/modules/14_KPI/components/competency/AddPage.vue b/src/modules/14_KPI/components/competency/AddPage.vue index ff9a83940..bb02d44a5 100644 --- a/src/modules/14_KPI/components/competency/AddPage.vue +++ b/src/modules/14_KPI/components/competency/AddPage.vue @@ -2,6 +2,12 @@ import { ref, reactive } from "vue"; import { useRouter } from "vue-router"; +import FormMain from "@/modules/14_KPI/components/competency/Forms/01_FormMain.vue"; +import FormGroup from "@/modules/14_KPI/components/competency/Forms/02_FormGroup.vue"; +import FormExecutive from "@/modules/14_KPI/components/competency/Forms/03_FormExecutive.vue"; +import FormExecutivePosition from "@/modules/14_KPI/components/competency/Forms/04_FormExecutivePosition.vue"; +import FormExecutiveLevel from "@/modules/14_KPI/components/competency/Forms/05_FormExecutiveLevel.vue"; + import type { DataOption } from "@/modules/14_KPI/interface/index/Main"; import type { FormCompetency } from "@/modules/14_KPI/interface/request/Main"; @@ -98,7 +104,15 @@ function onSubmit() { hide-bottom-space /> -
+ + + + + + + +
-
+ diff --git a/src/modules/15_development/interface/request/Main.ts b/src/modules/15_development/interface/request/Main.ts index fc7e6bf69..b8d3a7e23 100644 --- a/src/modules/15_development/interface/request/Main.ts +++ b/src/modules/15_development/interface/request/Main.ts @@ -25,14 +25,13 @@ interface FormGroupTarget { } interface FormGroupTargetPlannedGoal { - positions:[ + positions: [ { - position: string, - posTypePlannedId: string, - posLevelPlannedId: string, + position: string; + posTypePlannedId: string; + posLevelPlannedId: string; } - ] - ; + ]; groupTarget: string; groupTargetSub: string; position: string; @@ -203,13 +202,13 @@ interface actualGoals { interface PlannedGoals { groupTarget: string; groupTargetSub: string; - positions:[ + positions: [ { - position: string, - posTypePlannedId: string, - posLevelPlannedId: string, + position: string; + posTypePlannedId: string; + posLevelPlannedId: string; } - ] + ]; type: string | null; amount: number | null; } @@ -225,5 +224,5 @@ export type { FormAddHistory, FormAddHistoryProject, FormAddHistoryEmployee, - FormGroupTargetPlannedGoal + FormGroupTargetPlannedGoal, }; diff --git a/src/modules/15_development/interface/response/Main.ts b/src/modules/15_development/interface/response/Main.ts index 05379d249..55346e830 100644 --- a/src/modules/15_development/interface/response/Main.ts +++ b/src/modules/15_development/interface/response/Main.ts @@ -88,14 +88,15 @@ interface ResActualGoals { interface ResPlannedGoals { groupTarget: string; groupTargetSub: string; - positions:[ + position: [ { - position: string, - posTypePlannedId: string, - posLevelPlannedId: string, + position: string; + posTypePlannedId: string; + posLevelPlannedId: string; } - ] - ; + ]; + posTypePlannedId: string; + posLevelPlannedId: string; type: string | null; amount: number | null; }