diff --git a/src/api/KPI/api.kpis.ts b/src/api/KPI/api.kpis.ts index 7dcac38..2ec25e7 100644 --- a/src/api/KPI/api.kpis.ts +++ b/src/api/KPI/api.kpis.ts @@ -36,4 +36,5 @@ export default { kpiEvaluationCheck: `${kpiEvaluation}/check`, /**ประเมิน*/ + kpiAchievementDevelop:`${kpiAchievement}/development` }; diff --git a/src/modules/08_KPI/components/Tab/01_Assessment.vue b/src/modules/08_KPI/components/Tab/01_Assessment.vue index 77115fb..7c5fadb 100644 --- a/src/modules/08_KPI/components/Tab/01_Assessment.vue +++ b/src/modules/08_KPI/components/Tab/01_Assessment.vue @@ -1,11 +1,11 @@ @@ -79,11 +140,17 @@ function onSubmit() { v-model="formData.name" outlined dense + :rules="[(val:string) => !!val || `${'กรุณากรอกชื่อเรื่อง / เนื้อเรื่อง / หัวข้อการพัฒนา'}`,]" + lazy-rules + hide-bottom-space class="inputgreen" label="ชื่อเรื่อง / เนื้อเรื่อง / หัวข้อการพัฒนา" > + + วิธีการพัฒนา + @@ -129,6 +199,9 @@ function onSubmit() { outlined dense label="เกณฑ์การประเมิน" + :rules="[(val:string) => !!val || `${'กรุณากรอกเกณฑ์การประเมิน'}`,]" + lazy-rules + hide-bottom-space > @@ -144,6 +217,9 @@ function onSubmit() { outlined dense label="เกณฑ์การประเมิน" + :rules="[(val:string) => !!val || `${'กรุณากรอกเกณฑ์การประเมิน'}`,]" + lazy-rules + hide-bottom-space > @@ -159,6 +235,9 @@ function onSubmit() { outlined dense label="เกณฑ์การประเมิน" + :rules="[(val:string) => !!val || `${'กรุณากรอกเกณฑ์การประเมิน'}`,]" + lazy-rules + hide-bottom-space > diff --git a/src/modules/08_KPI/components/Tab/DialogEvaluate/03_DialogEvalutionDevelop.vue b/src/modules/08_KPI/components/Tab/DialogEvaluate/03_DialogEvalutionDevelop.vue new file mode 100644 index 0000000..4f2fe3c --- /dev/null +++ b/src/modules/08_KPI/components/Tab/DialogEvaluate/03_DialogEvalutionDevelop.vue @@ -0,0 +1,277 @@ + + + + + + + + + + + + + + {{ col.label }} + + + + + + + + + + + + + + + {{ props.row.summary ? props.row.summary : 0 }} + + + + + {{ + props.row.achievement0 + }} + {{ + props.row.achievement5 + }} + {{ + props.row.achievement10 + }} + + + + {{ col.value ? col.value : "-" }} + + + + + + + + + บันทึกข้อมูล + + + + + +