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