From fe0fefdb24d00d40c482d8701b33c2b948dd102c Mon Sep 17 00:00:00 2001 From: "STW_TTTY\\stwtt" Date: Wed, 8 May 2024 09:48:19 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=9B=E0=B8=A5=E0=B8=B5=E0=B9=88?= =?UTF-8?q?=E0=B8=A2=E0=B8=99=20year=20=E0=B9=80=E0=B8=9B=E0=B9=87?= =?UTF-8?q?=E0=B8=99=20string?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../14_KPI/components/indicatorByPlan/IndicatorByPlan.vue | 2 +- src/modules/14_KPI/components/indicatorByRole/DetailView.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/14_KPI/components/indicatorByPlan/IndicatorByPlan.vue b/src/modules/14_KPI/components/indicatorByPlan/IndicatorByPlan.vue index 11fda18d8..ba8d2222f 100644 --- a/src/modules/14_KPI/components/indicatorByPlan/IndicatorByPlan.vue +++ b/src/modules/14_KPI/components/indicatorByPlan/IndicatorByPlan.vue @@ -209,7 +209,7 @@ function onSubmit() { $q, async () => { const body = { - year: year.value == 0 ? null : year.value, + year: year.value == 0 ? null : year.value?.toString(), period: planData.period, includingName: planData.includingName, target: planData.target, diff --git a/src/modules/14_KPI/components/indicatorByRole/DetailView.vue b/src/modules/14_KPI/components/indicatorByRole/DetailView.vue index f869a39d2..fc8998cf7 100644 --- a/src/modules/14_KPI/components/indicatorByRole/DetailView.vue +++ b/src/modules/14_KPI/components/indicatorByRole/DetailView.vue @@ -125,7 +125,7 @@ function onSubmit() { : config.API.kpiRoleMainList; const body = { - year: form.year == 0 ? null:form.year, + year: form.year == 0 ? null:form.year.toString(), position: form.position, //ตำแหน่ง period: form.round, //รอบการประเมิน(เมษา->APR, ตุลา->OCT) includingName: form.includingName, //ชื่อตัวชี้วัด