This commit is contained in:
parent
65a85b3d63
commit
c06cd6dc0f
|
|
@ -444,11 +444,19 @@ export default {
|
||||||
const seconds = String(date.getSeconds()).padStart(2, '0');
|
const seconds = String(date.getSeconds()).padStart(2, '0');
|
||||||
return `${year}${month}${day}_${hours}${minutes}${seconds}`;
|
return `${year}${month}${day}_${hours}${minutes}${seconds}`;
|
||||||
};
|
};
|
||||||
|
const params = {
|
||||||
|
keyWord: this.queryParams.keyWord,
|
||||||
|
status: this.queryParams.taskStatus,
|
||||||
|
startTime: this.queryParams.startTime,
|
||||||
|
endTime: this.queryParams.endTime,
|
||||||
|
pageSize: this.queryParams.pageSize,
|
||||||
|
pageNum: this.queryParams.pageNum,
|
||||||
|
};
|
||||||
|
|
||||||
const currentTime = formatTime(new Date());
|
const currentTime = formatTime(new Date());
|
||||||
this.download(
|
this.download(
|
||||||
"/material/leaseTask/exportPublish",
|
"/material/leaseTask/exportPublish",
|
||||||
{ ...this.queryParams },
|
params,
|
||||||
`领料申请发布_${currentTime}.xlsx`
|
`领料申请发布_${currentTime}.xlsx`
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue