แก้ไข 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;
|
const data = res.data.result;
|
||||||
console.log(data);
|
console.log(data);
|
||||||
let list: any[] = [];
|
let list: any[] = [];
|
||||||
downloadFile(res, `${id}.${type}`);
|
downloadFile(res, `${"รายชื่อผู้เกษียณอายุราชการ"}.${type}`);
|
||||||
})
|
})
|
||||||
.catch((e) => {
|
.catch((e) => {
|
||||||
messageError($q, e);
|
messageError($q, e);
|
||||||
|
|
@ -352,7 +352,6 @@ const downloadFile = (response: any, filename: string) => {
|
||||||
document.body.removeChild(link);
|
document.body.removeChild(link);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
// const fetchReportCover = async (type: string, orderId: string) => {
|
// const fetchReportCover = async (type: string, orderId: string) => {
|
||||||
// showLoader();
|
// showLoader();
|
||||||
// await http
|
// await http
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue