From 8aba3faf9b928f3b05dbed92aeba994965d7053b Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Mon, 3 Feb 2025 17:52:06 +0700 Subject: [PATCH] fix --- .../components/Indicators/indicatorByPlan/IndicatorByPlan.vue | 2 +- .../components/probation/FormEvaluation/Template1Commader.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/01_masterdata/components/Indicators/indicatorByPlan/IndicatorByPlan.vue b/src/modules/01_masterdata/components/Indicators/indicatorByPlan/IndicatorByPlan.vue index 35c2f9394..e33d0c816 100644 --- a/src/modules/01_masterdata/components/Indicators/indicatorByPlan/IndicatorByPlan.vue +++ b/src/modules/01_masterdata/components/Indicators/indicatorByPlan/IndicatorByPlan.vue @@ -188,7 +188,7 @@ function onSubmit() { async () => { const body = { year: year.value == 0 ? null : year.value?.toString(), - period: planData.period, + period: planData.period ? planData.period : null, includingName: planData.includingName, target: planData.target, unit: planData.unit, diff --git a/src/modules/05_placement/components/probation/FormEvaluation/Template1Commader.vue b/src/modules/05_placement/components/probation/FormEvaluation/Template1Commader.vue index 77e43d5fc..e0f0f4ec7 100644 --- a/src/modules/05_placement/components/probation/FormEvaluation/Template1Commader.vue +++ b/src/modules/05_placement/components/probation/FormEvaluation/Template1Commader.vue @@ -53,7 +53,7 @@ async function fecthAssign(id: string) { // messageError($q, e); }) .finally(() => { - probationStore.checkLoad && hideLoader(); + hideLoader(); }); }