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 || `${'กรุณาเลือกวันที่ให้มีผล'}`, ]" >