feat(数据集): 数据集导出Excel

This commit is contained in:
junjun 2022-11-08 15:07:32 +08:00
parent 31d304122b
commit 0947155d75

View File

@ -462,6 +462,8 @@ export default {
this.showExport = false
},
exportDatasetRequest() {
this.$refs['exportForm'].validate((valid) => {
if (valid) {
if (this.table.id) {
this.table.row = 100000
this.table.filename = this.exportForm.name
@ -477,6 +479,10 @@ export default {
document.body.removeChild(link)
})
}
} else {
return false
}
})
}
}
}