From ec8dc2240638dc80624edb7aecb7b9f347bf20bf Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Thu, 12 Jun 2025 10:10:01 +0700 Subject: [PATCH] =?UTF-8?q?fix=20bug=20=E0=B8=84=E0=B8=B3=E0=B8=A3?= =?UTF-8?q?=E0=B9=89=E0=B8=AD=E0=B8=87=E0=B8=82=E0=B8=AD=E0=B9=81=E0=B8=81?= =?UTF-8?q?=E0=B9=89=E0=B9=84=E0=B8=82=E0=B8=97=E0=B8=B0=E0=B9=80=E0=B8=9A?= =?UTF-8?q?=E0=B8=B5=E0=B8=A2=E0=B8=99=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=A7?= =?UTF-8?q?=E0=B8=B1=E0=B8=95=E0=B8=B4=20tab=20IDP=20=E0=B8=94=E0=B8=B2?= =?UTF-8?q?=E0=B8=A7=E0=B9=82=E0=B8=AB=E0=B8=A5=E0=B8=94=E0=B9=80=E0=B8=AD?= =?UTF-8?q?=E0=B8=81=E0=B8=AA=E0=B8=B2=E0=B8=A3=E0=B8=AB=E0=B8=A5=E0=B8=B1?= =?UTF-8?q?=E0=B8=81=E0=B8=90=E0=B8=B2=E0=B8=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/requestEdit/02_TabIDP.vue | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/src/modules/04_registryPerson/components/requestEdit/02_TabIDP.vue b/src/modules/04_registryPerson/components/requestEdit/02_TabIDP.vue index e29279039..5dde4ff45 100644 --- a/src/modules/04_registryPerson/components/requestEdit/02_TabIDP.vue +++ b/src/modules/04_registryPerson/components/requestEdit/02_TabIDP.vue @@ -226,13 +226,7 @@ function onclickEdit(id: string) { function onDownloadFile(id: string) { showLoader(); http - .get( - config.API.file( - "ระบบทะเบียนประวัติ", - "เอกสารหลักฐานคำร้องขอแก้ไขข้อมูล", - id - ) - ) + .get(config.API.file("IDP", "ยื่นคำร้องขอเพิ่มข้อมูลการพัฒนารายบุคคล", id)) .then(async (res) => { if (res.data.length !== 0) { await downloadUrl(id, res.data[0].fileName); @@ -255,8 +249,8 @@ async function downloadUrl(id: string, fileName: string) { await http .get( config.API.fileByFile( - "ระบบทะเบียนประวัติ", - "เอกสารหลักฐานคำร้องขอแก้ไขข้อมูล", + "IDP", + "ยื่นคำร้องขอเพิ่มข้อมูลการพัฒนารายบุคคล", id, fileName )