|
@@ -234,8 +234,10 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
async toExportExcel() {
|
|
|
+ const msg = this.$message({ duration: 0, message: '正在导出,请稍后...' });
|
|
|
let duplicate = _.cloneDeep(this.exportInfo);
|
|
|
const res = await this.toExport(duplicate);
|
|
|
+ msg.close();
|
|
|
if (this.$checkRes(res)) {
|
|
|
const { data } = res;
|
|
|
window.open(data);
|