From 9d590c185bdc0a81e9b73cd5c2571e13b9d67a59 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Thu, 18 Apr 2024 15:54:01 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=A3=E0=B8=B2=E0=B8=A2=E0=B8=81=E0=B8=B2?= =?UTF-8?q?=E0=B8=A3=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=A7=E0=B8=B1=E0=B8=95?= =?UTF-8?q?=E0=B8=B4=E0=B8=9D=E0=B8=B6=E0=B8=81=E0=B8=AD=E0=B8=9A=E0=B8=A3?= =?UTF-8?q?=E0=B8=A1/=E0=B8=94=E0=B8=B9=E0=B8=87=E0=B8=B2=E0=B8=99=20?= =?UTF-8?q?=E0=B8=82=E0=B8=A3=E0=B8=81.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/15_development/api.development.ts | 5 +- src/modules/15_development/views/History.vue | 118 ++++++++----------- 2 files changed, 51 insertions(+), 72 deletions(-) diff --git a/src/api/15_development/api.development.ts b/src/api/15_development/api.development.ts index 15a2d7f03..c0e3329e7 100644 --- a/src/api/15_development/api.development.ts +++ b/src/api/15_development/api.development.ts @@ -7,9 +7,12 @@ const devStrategy = `${env.API_URI}/development/strategy`; export default { development, /** history */ - developmentHistoryList: (type: string) => `${development}/history/${type}/`, + developmentHistoryList: (type: string) => + `${development}/history/${type}/filter`, developmentHistoryAdd: (type: string) => `${development}/history/${type}`, developmentProjectSearch: () => `${development}/main/search`, + developmentHistoryListOrg: (type: string, year: number) => + `${development}/history/${type}/org/${year}`, /** history employee */ developmentProjectSearchEmployee: () => `${developmentOrg}/profile-employee/`, diff --git a/src/modules/15_development/views/History.vue b/src/modules/15_development/views/History.vue index 28f4bf4ba..46d9b8064 100644 --- a/src/modules/15_development/views/History.vue +++ b/src/modules/15_development/views/History.vue @@ -1,40 +1,28 @@ @@ -226,7 +199,7 @@ onMounted(() => { autoApply year-picker :enableTimePicker="false" - @update:model-value="getData()" + @update:model-value="fetchListOrg()" >