From e61eb15d662fda154bbf0847e7cd2d33af0b9d59 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Sat, 29 Mar 2025 00:14:54 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=A5=E0=B8=B7=E0=B8=AD=E0=B8=81?= =?UTF-8?q?=E0=B8=95=E0=B8=B3=E0=B9=81=E0=B8=AB=E0=B8=99=E0=B9=88=E0=B8=A3?= =?UTF-8?q?=E0=B8=B2=E0=B8=A2=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B8=AD=E0=B8=B7?= =?UTF-8?q?=E0=B9=88=E0=B8=99=E0=B9=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/05_placement/api.placement.ts | 2 ++ src/components/Dialogs/DialogOrgSelect.vue | 2 ++ src/modules/05_placement/views/08_otherMain.vue | 6 +++--- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/api/05_placement/api.placement.ts b/src/api/05_placement/api.placement.ts index e4f8372b7..2a83e2200 100644 --- a/src/api/05_placement/api.placement.ts +++ b/src/api/05_placement/api.placement.ts @@ -163,6 +163,8 @@ export default { otherPosition: (id: string) => `${placemenOther}/position/${id}`, otherReport: (id: string) => `${placemenOther}/report/${id}`, otherByid: (id: string) => `${placemenOther}/${id}`, + otherPositionUse: () => `${placemenOther}/use`, + userPlacement: (id: string) => `${placement}/user/${id}`, diff --git a/src/components/Dialogs/DialogOrgSelect.vue b/src/components/Dialogs/DialogOrgSelect.vue index 69c2ebad9..36df4b511 100644 --- a/src/components/Dialogs/DialogOrgSelect.vue +++ b/src/components/Dialogs/DialogOrgSelect.vue @@ -444,6 +444,8 @@ function fetchPositionUes() { ? config.API.apppointmentPosition() : route.name === "receive" ? config.API.receiveDataPosition() + : route.name === "other" + ? config.API.otherPositionUse() : null; if (URL) { http diff --git a/src/modules/05_placement/views/08_otherMain.vue b/src/modules/05_placement/views/08_otherMain.vue index d4b89a424..a5da05bf0 100644 --- a/src/modules/05_placement/views/08_otherMain.vue +++ b/src/modules/05_placement/views/08_otherMain.vue @@ -510,9 +510,9 @@ onMounted(() => { :title="`เลือกหน่วยงานที่บรรจุกลับ`" v-model:modal="modalSelectOrg" v-model:type="type" - :pos-type="posType" - :pos-level="posLevel" - :position="position" + :pos-type="''" + :pos-level="''" + :position="''" :data-rows="dataRows" :onSubmit="onSaveSelectOrg" />