|
@@ -158,10 +158,12 @@ export default {
|
|
|
async toExport(range) {
|
|
|
let msg = this.$message('正在导出,请稍后....');
|
|
|
let data = { range };
|
|
|
+ if (this.subid) data.subid = this.subid;
|
|
|
const res = await this.export(data);
|
|
|
msg.close();
|
|
|
if (this.$checkRes(res, '导出成功', res.errmsg || '导出失败')) {
|
|
|
window.open(res.data);
|
|
|
+ this.subid = undefined;
|
|
|
}
|
|
|
},
|
|
|
},
|