From 43d0caca674e72d04f24e50c3e553da01ea5cb49 Mon Sep 17 00:00:00 2001 From: puriphatt Date: Tue, 11 Jun 2024 02:18:00 +0000 Subject: [PATCH] fix: employee type --- src/pages/03_customer-management/MainPage.vue | 4 +- src/stores/employee/types.ts | 59 ++++++++++++------- 2 files changed, 40 insertions(+), 23 deletions(-) diff --git a/src/pages/03_customer-management/MainPage.vue b/src/pages/03_customer-management/MainPage.vue index 488e5429..a0420999 100644 --- a/src/pages/03_customer-management/MainPage.vue +++ b/src/pages/03_customer-management/MainPage.vue @@ -34,7 +34,7 @@ import { CustomerBranch, CustomerBranchCreate, } from 'stores/customer/types'; -import { EmployeeCreate } from 'stores/employee/types'; +import { EmployeeCreate, Employee } from 'stores/employee/types'; import { onMounted } from 'vue'; import FormPerson from 'src/components/02_personnel-management/FormPerson.vue'; @@ -825,7 +825,7 @@ watch(locale, () => {