|
@@ -126,7 +126,9 @@ export default {
|
|
this.$set(this, `studentList`, arr);
|
|
this.$set(this, `studentList`, arr);
|
|
},
|
|
},
|
|
async toExport(data) {
|
|
async toExport(data) {
|
|
|
|
+ let msg = this.$message('正在导出,请稍后....');
|
|
const res = await this.export(data);
|
|
const res = await this.export(data);
|
|
|
|
+ msg.close();
|
|
if (this.$checkRes(res, '导出成功', res.errmsg || '导出失败')) {
|
|
if (this.$checkRes(res, '导出成功', res.errmsg || '导出失败')) {
|
|
window.open(res.data);
|
|
window.open(res.data);
|
|
}
|
|
}
|