|
@@ -493,7 +493,6 @@ export default {
|
|
|
|
|
|
async downInfo() {
|
|
|
try {
|
|
|
- this.exportLoading = true;
|
|
|
// 拼接日期,格式为 年/月
|
|
|
const dateStr = dayjs().format('YYYY-MM');
|
|
|
const fileName = `监督任务数据${dateStr}.xlsx`;
|
|
@@ -507,8 +506,6 @@ export default {
|
|
|
document.body.appendChild(link);
|
|
|
link.click();
|
|
|
document.body.removeChild(link);
|
|
|
-
|
|
|
- this.exportLoading = false;
|
|
|
} catch (err) {
|
|
|
console.error('下载出错:', err);
|
|
|
this.exportLoading = false;
|