diff --git a/src/api/KPI/api.kpis.ts b/src/api/KPI/api.kpis.ts index 7786e09..f6245f7 100644 --- a/src/api/KPI/api.kpis.ts +++ b/src/api/KPI/api.kpis.ts @@ -7,8 +7,8 @@ const kpiPlan = `${env.API_URI}/kpi/plan`; const kpiRole = `${env.API_URI}/kpi/role`; const KpiCapacity = `${env.API_URI}/kpi/capacity`; const KpiFile = `${env.API_URI}/salary/file`; -const KpiEvaluation = `${env.API_URI}/kpi/evaluation`; -const Kpiorg = `${env.API_URI}/org/profile/commander` +const KpiEvaluationInfo = `${env.API_URI}/kpi/evaluation`; +const Kpiorg = `${env.API_URI}/org/profile/commander`; const KpiUser = `${env.API_URI}/kpi/user`; const kpiAchievement = `${env.API_URI}/kpi/user/achievement`; @@ -24,12 +24,14 @@ export default { kpiAchievementPoint: (type: string) => `${kpiAchievement}/${type}/point`, /** ผลสัมฤทธิ์ของงาน*/ - fileByFile: (name: string, group: string, id: string, fileName: string) => `${url}/file/${name}/${group}/${id}/${fileName}`, - kpiUserCapacity: `${KpiUser}/capacity`, - KpiEvaluation, + KpiEvaluationInfo, Kpiorg, - kpiEvaluationCheck:`${kpiEvaluation}/check`, + kpiEvaluationCheck: `${kpiEvaluation}/check`, + + /**ประเมิน*/ + + }; diff --git a/src/modules/08_KPI/components/Tab/01_Assessment.vue b/src/modules/08_KPI/components/Tab/01_Assessment.vue index cd82371..cb05dd0 100644 --- a/src/modules/08_KPI/components/Tab/01_Assessment.vue +++ b/src/modules/08_KPI/components/Tab/01_Assessment.vue @@ -146,7 +146,7 @@ const resultWork = computed(() => { function getCriteria() { http - .get(config.API.KpiEvaluation) + .get(config.API.KpiEvaluationInfo) .then((res) => { const data = res.data.result.data; dataListCriteria.value = data; diff --git a/src/modules/08_KPI/components/Tab/02_Evaluator.vue b/src/modules/08_KPI/components/Tab/02_Evaluator.vue index 6bee11c..f2968e9 100644 --- a/src/modules/08_KPI/components/Tab/02_Evaluator.vue +++ b/src/modules/08_KPI/components/Tab/02_Evaluator.vue @@ -1,3 +1,159 @@ + - ผู้ประเมิน + + + + เสนอความคิดเห็น + + + + + + + + + + + + + + + + + {{ col.label }} + + + + + + + + {{ col.value ? col.value : "-" }} + + + + + + + + + diff --git a/src/modules/08_KPI/components/Tab/TabMain.vue b/src/modules/08_KPI/components/Tab/TabMain.vue index 4c7f5d0..7fffbd6 100644 --- a/src/modules/08_KPI/components/Tab/TabMain.vue +++ b/src/modules/08_KPI/components/Tab/TabMain.vue @@ -83,9 +83,9 @@ const splitterModel = ref(12); class="q-pa-none" > - - - + + +