|
@@ -228,9 +228,12 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
async toExportExcel() {
|
|
async toExportExcel() {
|
|
- console.log('in function:');
|
|
|
|
let duplicate = _.cloneDeep(this.exportInfo);
|
|
let duplicate = _.cloneDeep(this.exportInfo);
|
|
const res = await this.toExport(duplicate);
|
|
const res = await this.toExport(duplicate);
|
|
|
|
+ if (this.$checkRes(res)) {
|
|
|
|
+ const { data } = res;
|
|
|
|
+ window.open(data);
|
|
|
|
+ }
|
|
},
|
|
},
|
|
getTerm(termid) {
|
|
getTerm(termid) {
|
|
console.log(termid);
|
|
console.log(termid);
|