管道基础大数据平台系统开发-【前端】-新系統界面
TreeWish
2023-03-03 b6c8e7c61f0270598ba7fdbc44f79512e010d0fe
src/views/datamanage/versionManage.vue
@@ -195,6 +195,7 @@
    <el-dialog
      :title="$t('dataManage.vmobj.editVersion')"
      :visible.sync="dialogFormVisible"
      :before-close="handleClose"
    >
      <div style="height: 500px; overflow: auto">
        <el-form
@@ -279,6 +280,7 @@
    <el-dialog
      :title="$t('dataManage.vmobj.addVersion')"
      :visible.sync="InsertFormdialog"
      :before-close="handleCloseadd"
    >
      <div style="height: 500px; overflow: auto">
        <el-form
@@ -681,8 +683,15 @@
      }
    },
    editFromDataClose() {
      this.dialogFormVisible = false;
      this.upform = {};
      this.$confirm("关闭后无法保存,是否关闭?")
        .then((_) => {
          this.dialogFormVisible = false
          this.upform = {};
          this.getRoleTabelData();
        })
        .catch((_) => { });
      // this.dialogFormVisible = false;
      // this.upform = {};
    },
    async editFromData() {
      if (this.upform.depName == null) {
@@ -709,8 +718,15 @@
      }
    },
    insertFromDataClose() {
      this.InsertFormdialog = false;
      this.insertform = {};
      this.$confirm("关闭后无法保存,是否关闭?")
        .then((_) => {
          this.InsertFormdialog = false
          this.insertform = {};
          this.getRoleTabelData();
        })
        .catch((_) => { });
      // this.InsertFormdialog = false;
      // this.insertform = {};
    },
    async insertFromData() {
@@ -778,6 +794,22 @@
      this.dialogFormVisible = true;
      this.upform = row;
    },
    handleClose() {
      this.$confirm("关闭后无法保存,是否关闭?")
        .then((_) => {
          this.dialogFormVisible = false
          this.getRoleTabelData();
        })
        .catch((_) => { });
    },
    handleCloseadd() {
      this.$confirm("关闭后无法保存,是否关闭?")
        .then((_) => {
          this.InsertFormdialog = false
          this.getRoleTabelData();
        })
        .catch((_) => { });
    },
  },
  watch: {
    pathId: {