From 388893395b39161205580564ea030c58813394f1 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Wed, 6 Sep 2023 10:50:29 +0700 Subject: [PATCH 01/17] =?UTF-8?q?=E0=B9=80=E0=B8=84=E0=B8=A3=E0=B8=B7?= =?UTF-8?q?=E0=B9=88=E0=B8=AD=E0=B8=87=E0=B8=A3=E0=B8=B2=E0=B8=8A=E0=B8=AF?= =?UTF-8?q?=20fetch=20=E0=B8=A3=E0=B8=AD=E0=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/07_insignia/components/4_Allocate/Main.vue | 4 +++- src/modules/07_insignia/components/5_Borrow/Main.vue | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/modules/07_insignia/components/4_Allocate/Main.vue b/src/modules/07_insignia/components/4_Allocate/Main.vue index 74cbea46c..46c3c7327 100644 --- a/src/modules/07_insignia/components/4_Allocate/Main.vue +++ b/src/modules/07_insignia/components/4_Allocate/Main.vue @@ -66,7 +66,9 @@ const fecthRound = async () => { })); selectRound.value = data[0].id; roundYear.value = data[0].year; - await fecthInsigniaType(); + if (roundYear.value) { + await fecthInsigniaType(); + } } }) .catch((err) => { diff --git a/src/modules/07_insignia/components/5_Borrow/Main.vue b/src/modules/07_insignia/components/5_Borrow/Main.vue index 293f6edd7..036f729b7 100644 --- a/src/modules/07_insignia/components/5_Borrow/Main.vue +++ b/src/modules/07_insignia/components/5_Borrow/Main.vue @@ -62,7 +62,7 @@ const fecthRound = async () => { selectRound.value = data[0].id; yearRound.value = data[0].year; roundYear.value = data[0].year; - if (roundYear.value !== "") { + if (roundYear.value) { await fecthInsigniaType(); } } From 981bab806194fefaf16eec9b754532a16c593a96 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Wed, 6 Sep 2023 12:02:13 +0700 Subject: [PATCH 02/17] =?UTF-8?q?=E0=B8=9B=E0=B8=A3=E0=B8=B1=E0=B8=9A=20?= =?UTF-8?q?=E0=B9=80=E0=B8=84=E0=B8=A3=E0=B8=B7=E0=B9=88=E0=B8=AD=E0=B8=87?= =?UTF-8?q?=E0=B8=A3=E0=B8=B2=E0=B8=8A=E0=B8=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/PersonalList/Table.vue | 457 +++++++++++++----- .../components/1_Proposals/listProposals.vue | 65 ++- .../components/2_Manage/listManage.vue | 25 +- .../10_order/components/PopupHistory.vue | 8 +- 4 files changed, 416 insertions(+), 139 deletions(-) diff --git a/src/modules/05_placement/components/PersonalList/Table.vue b/src/modules/05_placement/components/PersonalList/Table.vue index d6d92ee88..90c712a87 100644 --- a/src/modules/05_placement/components/PersonalList/Table.vue +++ b/src/modules/05_placement/components/PersonalList/Table.vue @@ -1,5 +1,5 @@