|
|
@@ -24,11 +24,11 @@ export default {
|
|
|
}
|
|
|
this.param.content.dataid = this.dataid
|
|
|
this.param.content.exportFields = rs
|
|
|
- this.param.content.isExport = true
|
|
|
+ this.param.content.isExport = 1
|
|
|
/*导出数据*/
|
|
|
const res = await this.$api.requested(this.param)
|
|
|
this.downFile(res.data[0].url,this.fileName)
|
|
|
- this.param.content.isExport = false
|
|
|
+ this.param.content.isExport = 0
|
|
|
this.param.content.exportFields = []
|
|
|
},
|
|
|
downFile(url, fileName) {
|