แก้ไข Download รายชื่อผู้เกษียณอายุราชการ

This commit is contained in:
AnandaTon 2023-09-01 16:22:11 +07:00
parent 1a294be701
commit 0da2930a35

View file

@ -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