管道基础大数据平台系统开发-【前端】-新系統界面
src/views/datamanage/dataUpdata.vue
@@ -1607,8 +1607,7 @@
  },
  mounted() {
    //获取目录
    this.getSelectdirTab();
    //获取坐标系
    this.setCoordinateSystem();
    //获取项目名称
@@ -1619,6 +1618,8 @@
    this.getPerms();
    window.addEventListener("resize", this.onResize);
    this.calHeight();
    //获取目录
    this.getSelectdirTab();
  },
  beforeDestroy() {
    this.timer && clearTimeout(this.timer);
@@ -2843,6 +2844,7 @@
      const res = await dataUploadSelectVerByDirid({
        dirid: this.formInline.dirid,
      });
      if (res.code != 200) {
        this.$message.error("版本列表获取失败");
        return;
@@ -2857,9 +2859,11 @@
        this.$message.error("目录列表获取失败");
        return;
      }
      debugger
      this.catalogOption = this.treeData(res.result);
      this.formInline.dirName = this.catalogOption[0].name;
      this.getStartDirChecked(this.catalogOption);
      this.formInline.dirid = this.catalogOption[0].id;
      // this.getStartDirChecked(this.catalogOption);
      this.getselectVerByDirid();
    },