管道基础大数据平台系统开发-【前端】-新系統界面
Surpriseplus
2023-01-17 93a38ac31615b1aa053a4440c59814ea72353945
src/views/Archive/index.vue
@@ -1125,7 +1125,11 @@
    },
    downFormData() {
      if (this.multipleSelection1.length == 0) {
        alert('请先选择要下载的文件');
        this.$message({
          message: '请先选择要下载的文件',
          type: 'warning'
        });
        return;
      }
      this.showCodeBox = true;
@@ -1171,7 +1175,7 @@
      this.listData.dirid = this.queryForm.dirid
      this.listData.depid = this.queryForm.depid;
      dataLib_selectByPageForMeta(this.listData).then((res) => {
        this.tableData1 = res.result;
        this.count = res.count;
      });
@@ -1344,7 +1348,11 @@
      var token = getToken();
      var fs = document.getElementById("insertFile");
      if (fs.files.length == 0) {
        alert("请选择要上传的文件!");
        this.$message({
          message: '请选择要上传的文件!',
          type: 'warning'
        });
        return;
      }
      const formData = new FormData()