From e4fcc797ad8980ce57540ca7c8bcd2498271691f Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Mon, 20 Jan 2025 11:07:53 +0700 Subject: [PATCH] =?UTF-8?q?SIT=20=E0=B8=A3=E0=B8=B0=E0=B8=9A=E0=B8=9A?= =?UTF-8?q?=E0=B8=9E=E0=B8=B1=E0=B8=92=E0=B8=99=E0=B8=B2=E0=B8=9A=E0=B8=B8?= =?UTF-8?q?=E0=B8=84=E0=B8=A5=E0=B8=B2=E0=B8=81=E0=B8=A3>>=E0=B8=97?= =?UTF-8?q?=E0=B8=B8=E0=B8=99=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B8=A8=E0=B8=B6?= =?UTF-8?q?=E0=B8=81=E0=B8=A9=E0=B8=B2/=E0=B8=9D=E0=B8=B6=E0=B8=81?= =?UTF-8?q?=E0=B8=AD=E0=B8=9A=E0=B8=A3=E0=B8=A1=20(=E0=B8=9F=E0=B8=AD?= =?UTF-8?q?=E0=B8=A3=E0=B9=8C=E0=B8=A1=E0=B8=A3=E0=B8=B2=E0=B8=A2=E0=B8=87?= =?UTF-8?q?=E0=B8=B2=E0=B8=99=E0=B8=95=E0=B8=B1=E0=B8=A7=E0=B8=81=E0=B8=A5?= =?UTF-8?q?=E0=B8=B1=E0=B8=9A=E0=B9=80=E0=B8=82=E0=B9=89=E0=B8=B2=E0=B8=A3?= =?UTF-8?q?=E0=B8=B1=E0=B8=9A=E0=B8=A3=E0=B8=B2=E0=B8=8A=E0=B8=81=E0=B8=B2?= =?UTF-8?q?=E0=B8=A3=20=E0=B8=A3=E0=B8=B9=E0=B8=9B=E0=B9=81=E0=B8=9A?= =?UTF-8?q?=E0=B8=9A=E0=B9=84=E0=B8=9F=E0=B8=A5=E0=B9=8C=20pdf=20=E0=B8=AB?= =?UTF-8?q?=E0=B8=A3=E0=B8=B7=E0=B8=AD=20xlsx)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/09_scholarship/views/detail.vue | 26 +++++++++++++++++---- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/src/modules/09_scholarship/views/detail.vue b/src/modules/09_scholarship/views/detail.vue index a682cf5..012df96 100644 --- a/src/modules/09_scholarship/views/detail.vue +++ b/src/modules/09_scholarship/views/detail.vue @@ -271,13 +271,13 @@ function onOpenReturn() { dialogReturn.value = true; } -function onDownload() { +function onDownload(type: string) { showLoader(); http .get(config.API.developmentScholarshipReport + `/${id.value}`) .then((res) => { const dataList = res.data.result; - genReport(dataList, "ฟอร์มรายงานตัวกลับเข้ารับราชการ(ต้นแบบ)"); + genReport(dataList, "ฟอร์มรายงานตัวกลับเข้ารับราชการ(ต้นแบบ)", type); }) .catch((e) => { messageError($q, e); @@ -543,11 +543,27 @@ onMounted(async () => { - + - - ดาวน์โหลดฟอร์มต้นแบบ + + ดาวน์โหลดฟอร์มต้นแบบ .docx + + + + + + + + ดาวน์โหลดฟอร์มต้นแบบ .pdf