Ver Fonte

数据导出

qymljy há 2 anos atrás
pai
commit
1aac9beecb
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      src/components/export_file/index.vue

+ 2 - 2
src/components/export_file/index.vue

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