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" />