Browse Source

数据导出

qymljy 2 năm trước cách đây
mục cha
commit
1aac9beecb
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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.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) {