From ea0a6bab77f9d8297df964c6e05fb3d1b93b594f Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Fri, 19 Jul 2024 11:39:51 +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=B9=81=E0=B8=95=E0=B9=88=E0=B8=87=E0=B8=95=E0=B8=B1?= =?UTF-8?q?=E0=B9=89=E0=B8=87-=E0=B9=80=E0=B8=A5=E0=B8=B7=E0=B9=88?= =?UTF-8?q?=E0=B8=AD=E0=B8=99-=E0=B8=A2=E0=B9=89=E0=B8=B2=E0=B8=A2=20=3D>?= =?UTF-8?q?=20fix=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Dialogs/DialogOrgSelect.vue | 4 +- .../04_registryNew/components/TableView.vue | 25 +- .../components/requestEdit/DialogStatus.vue | 135 ++++++++ src/modules/04_registryNew/router.ts | 24 +- .../04_registryNew/stores/RequestEdit.ts | 36 ++ src/modules/04_registryNew/views/list.vue | 25 -- .../04_registryNew/views/requestEdit.vue | 315 ++++++++++++++++++ 7 files changed, 513 insertions(+), 51 deletions(-) create mode 100644 src/modules/04_registryNew/components/requestEdit/DialogStatus.vue create mode 100644 src/modules/04_registryNew/stores/RequestEdit.ts create mode 100644 src/modules/04_registryNew/views/requestEdit.vue diff --git a/src/components/Dialogs/DialogOrgSelect.vue b/src/components/Dialogs/DialogOrgSelect.vue index 3adf01616..39e88605c 100644 --- a/src/components/Dialogs/DialogOrgSelect.vue +++ b/src/components/Dialogs/DialogOrgSelect.vue @@ -251,9 +251,9 @@ async function getDataTable(id: string, level: number = 0) { node: level, nodeId: id, typeCommand: type.value, - position: posType.value ? posType.value : "", + position: position.value ? position.value : "", posLevel: posLevel.value ? posLevel.value : "", - posType: position.value ? position.value : "", + posType: posType.value ? posType.value : "", isAll: isAll.value, isBlank: isBlank.value, }; diff --git a/src/modules/04_registryNew/components/TableView.vue b/src/modules/04_registryNew/components/TableView.vue index db57ce664..049207ef2 100644 --- a/src/modules/04_registryNew/components/TableView.vue +++ b/src/modules/04_registryNew/components/TableView.vue @@ -143,8 +143,6 @@ const visibleColumns = ref([ "posType", "posLevel", "org", - // "year", - // "salary", ]); function updatePagePagination() { @@ -180,6 +178,13 @@ function onClickViewDetail(id: string) { } } +/** + * function redirect ไปหน้ารายการคำร้องขอแก้ไขข้อมูล + */ +function redirectToPagePetition() { + router.push(`/registry-new/request-edit`); +} + watch( () => formFilter.value.pageSize, () => { @@ -190,27 +195,21 @@ watch(