From 0da2930a35524f3eb77d6cfcebc61146f65b4357 Mon Sep 17 00:00:00 2001 From: AnandaTon Date: Fri, 1 Sep 2023 16:22:11 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B9=84=E0=B8=82?= =?UTF-8?q?=20Download=20=E0=B8=A3=E0=B8=B2=E0=B8=A2=E0=B8=8A=E0=B8=B7?= =?UTF-8?q?=E0=B9=88=E0=B8=AD=E0=B8=9C=E0=B8=B9=E0=B9=89=E0=B9=80=E0=B8=81?= =?UTF-8?q?=E0=B8=A9=E0=B8=B5=E0=B8=A2=E0=B8=93=E0=B8=AD=E0=B8=B2=E0=B8=A2?= =?UTF-8?q?=E0=B8=B8=E0=B8=A3=E0=B8=B2=E0=B8=8A=E0=B8=81=E0=B8=B2=E0=B8=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../06_retirement/components/ListRetirement/TableList.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/modules/06_retirement/components/ListRetirement/TableList.vue b/src/modules/06_retirement/components/ListRetirement/TableList.vue index 28b907829..36ec5d283 100644 --- a/src/modules/06_retirement/components/ListRetirement/TableList.vue +++ b/src/modules/06_retirement/components/ListRetirement/TableList.vue @@ -333,7 +333,7 @@ const downloadAttachment = async (type: string, id: string) => { const data = res.data.result; console.log(data); let list: any[] = []; - downloadFile(res, `${id}.${type}`); + downloadFile(res, `${"รายชื่อผู้เกษียณอายุราชการ"}.${type}`); }) .catch((e) => { messageError($q, e); @@ -352,7 +352,6 @@ const downloadFile = (response: any, filename: string) => { document.body.removeChild(link); }; - // const fetchReportCover = async (type: string, orderId: string) => { // showLoader(); // await http