whychw
2020-10-17 0497a87a0fa1f435c38858e0303484fc09377f43
src/views/loadManager/autoload.vue
@@ -514,13 +514,12 @@
    }
    ,exportCsv () {
      let param = {
        dev_name: this.export_name,
        dev_name: this.export_name.replace(/#/g, '号'),
        dev_id: this.export_id,
        export_num: 1,
        table_name: this.export_date.replace(/-/g, '_'),
        record_time: this.export_date + " 00:00:00"
      };
      console.log(param, 'param');
      // 显示进度条
      this.progress.show = true;
      // 请求后台
@@ -540,11 +539,11 @@
            document.body.appendChild(link);
            link.click();
            document.body.removeChild(link);
          setTimeout(()=>{
            // 关闭进度条
            this.progress.show = false;
            this.progress.value = 0;
          }, 1000);
            setTimeout(()=>{
              // 关闭进度条
              this.progress.show = false;
              this.progress.value = 0;
            }, 1000);
          }else {
            // 关闭进度条
            this.progress.show = false;