whychw
2020-10-17 0497a87a0fa1f435c38858e0303484fc09377f43
U 负载下载文件名 # 问题
4个文件已修改
35 ■■■■■ 已修改文件
src/views/loadManager/autoload.vue 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/loadManager/burstload.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/loadManager/mainload.vue 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/loadManager/manualload.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
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;
src/views/loadManager/burstload.vue
@@ -435,7 +435,6 @@
    }
    // 数据导出
    ,exportData (obj) {
      console.log('数据导出');
      this.export_id = obj.dev_id;
      this.export_name = obj.dev_name;
      this.exportDialogVisible = true;
@@ -462,13 +461,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;
      // 请求后台
src/views/loadManager/mainload.vue
@@ -225,7 +225,6 @@
    }
    // 数据导出
    ,exportData (obj) {
      console.log('数据导出');
      this.export_id = obj.dev_id;
      this.export_name = obj.dev_name;
      this.exportDialogVisible = true;
@@ -252,13 +251,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;
      // 请求后台
@@ -278,11 +276,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;
src/views/loadManager/manualload.vue
@@ -417,7 +417,6 @@
    }
    // 数据导出
    ,exportData (obj) {
      console.log('数据导出');
      this.export_id = obj.dev_id;
      this.export_name = obj.dev_name;
      this.exportDialogVisible = true;
@@ -444,13 +443,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;
      // 请求后台