แก้ไข Download รายชื่อผู้เกษียณอายุราชการ
This commit is contained in:
parent
1a294be701
commit
0da2930a35
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue