From ab39c2d2f2e4906219b6c15cce43514e07c09a75 Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Tue, 12 Mar 2024 10:51:08 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=97=E0=B8=B0=E0=B9=80=E0=B8=9A=E0=B8=B5?= =?UTF-8?q?=E0=B8=A2=E0=B8=99=E0=B9=83=E0=B8=AB=E0=B8=A1=E0=B9=88(?= =?UTF-8?q?=E0=B8=A7=E0=B8=B4=E0=B8=99=E0=B8=B1=E0=B8=A2//=E0=B8=9B?= =?UTF-8?q?=E0=B8=A3=E0=B8=B1=E0=B8=9A=E0=B8=AB=E0=B8=99=E0=B9=89=E0=B8=B2?= =?UTF-8?q?=E0=B8=A3=E0=B8=B2=E0=B8=8A=E0=B8=81=E0=B8=B2=E0=B8=A3)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../detail/GovernmentInformation/01_Info.vue | 331 ++++--- .../GovernmentInformation/02_Discipline.vue | 850 +++++++++++++++++- .../02_DisciplineHistory.vue | 313 +++++++ .../interface/index/discipline.ts | 41 + 4 files changed, 1414 insertions(+), 121 deletions(-) create mode 100644 src/modules/04_registryNew/components/detail/GovernmentInformation/02_DisciplineHistory.vue create mode 100644 src/modules/04_registryNew/interface/index/discipline.ts diff --git a/src/modules/04_registryNew/components/detail/GovernmentInformation/01_Info.vue b/src/modules/04_registryNew/components/detail/GovernmentInformation/01_Info.vue index a5e544100..7d5f38aa3 100644 --- a/src/modules/04_registryNew/components/detail/GovernmentInformation/01_Info.vue +++ b/src/modules/04_registryNew/components/detail/GovernmentInformation/01_Info.vue @@ -52,7 +52,7 @@ const modalEdit = ref(false); const modalHistory = ref(false); const rowsHistory = ref([]); -const filterKeyword = ref(''); +const filterKeyword = ref(""); const containDate = ref(null); const workDate = ref(null); @@ -379,12 +379,15 @@ function getDataHistory() { // }); } -watch(() => modalHistory.value, (isOpen) => { - if(isOpen === true) { - getDataHistory() +watch( + () => modalHistory.value, + (isOpen) => { + if (isOpen === true) { + filterKeyword.value = '' + getDataHistory(); + } } -}); - +);