From c752fba862d10e728c166df40960d0fee431c398 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Tue, 12 Nov 2024 14:01:11 +0700 Subject: [PATCH] fix import --- src/modules/07_insignia/router.ts | 2 +- src/modules/08_registryEmployee/router.ts | 11 ++++------- .../09_leave/components/4_ChangeRound/DialogForm.vue | 4 ++-- .../components/2_InvestigateFacts/EditPage.vue | 2 +- .../components/2_InvestigateFacts/Form.vue | 2 +- .../components/3_InvestigateDisciplinary/EditPage.vue | 2 +- src/modules/14_KPI/components/Tab/01_Assessment.vue | 2 +- .../components/Tab/Dialog/03_FormIndicatorSpecial.vue | 2 +- .../components/Tab/Dialog/04_FormCompetency.vue | 2 +- .../components/Tab/Dialog/DialogCommentProblem.vue | 2 +- .../components/Tab/Dialog/DialogCommentProgress.vue | 2 +- .../14_KPI/components/Tab/Dialog/DialogEvalute.vue | 4 ++-- .../components/Tab/DialogEvaluate/02_Competenct.vue | 2 +- .../14_KPI/components/Tab/Topic/02_Competency.vue | 2 +- .../14_KPI/components/results/tableIndividual.vue | 2 +- src/modules/14_KPI/store.ts | 2 +- src/modules/14_KPI/views/detail.vue | 2 +- 17 files changed, 22 insertions(+), 25 deletions(-) diff --git a/src/modules/07_insignia/router.ts b/src/modules/07_insignia/router.ts index a66fe2713..09bcc61c2 100644 --- a/src/modules/07_insignia/router.ts +++ b/src/modules/07_insignia/router.ts @@ -25,7 +25,7 @@ const insigniaBorrow = () => const ReportView = () => import("./views/06_ReportMain.vue"); const report_02 = () => - import("./components/report/ReportDetail.vue"); + import("@/modules/07_insignia/components/report/ReportDetail.vue"); export default [ { diff --git a/src/modules/08_registryEmployee/router.ts b/src/modules/08_registryEmployee/router.ts index 1c13046e9..bb30feae0 100644 --- a/src/modules/08_registryEmployee/router.ts +++ b/src/modules/08_registryEmployee/router.ts @@ -1,12 +1,9 @@ /*** Router ระบบทะเบียนประวัติลูกจ้าง (registryEmployee) */ -import { defineAsyncComponent } from "vue"; -const Main = defineAsyncComponent( - () => import("@/modules/08_registryEmployee/views/Main.vue") -); -const DetailView = defineAsyncComponent( - () => import("@/modules/08_registryEmployee/views/DetailView.vue") -); +const Main = () => import("@/modules/08_registryEmployee/views/Main.vue"); + +const DetailView = () => + import("@/modules/08_registryEmployee/views/DetailView.vue"); // const CreateEmployee = defineAsyncComponent( // () => import("@/modules/08_registryEmployee/views/Add.vue") diff --git a/src/modules/09_leave/components/4_ChangeRound/DialogForm.vue b/src/modules/09_leave/components/4_ChangeRound/DialogForm.vue index 675e003be..0a8290190 100644 --- a/src/modules/09_leave/components/4_ChangeRound/DialogForm.vue +++ b/src/modules/09_leave/components/4_ChangeRound/DialogForm.vue @@ -245,7 +245,7 @@ watch( dense ref="roundRef" :rules="[ - (val) => !!val || 'กรุณาเลือกรอบที่ต้องการเปลี่ยน', + (val:string) => !!val || 'กรุณาเลือกรอบที่ต้องการเปลี่ยน', ]" emit-value map-options @@ -295,7 +295,7 @@ watch( " label="วันที่ให้มีผล" :rules="[ - (val) => !!val || `${'กรุณาเลือกวันที่ให้มีผล'}`, + (val:string) => !!val || `${'กรุณาเลือกวันที่ให้มีผล'}`, ]" >