管道基础大数据平台系统开发-【前端】-新系統界面
1
Surpriseplus
2022-11-18 462782f4b2ce653e84260ca586a58c8627c4ac9c
src/views/userManage/orgManage.vue
@@ -141,17 +141,17 @@
            </el-form-item>
            <div class="btnBox" v-if="menuStatus.update">
              <el-button
                class="el-button-sure"
                type="primary"
                style="
                  background: #409eff;
                  border: 1px solid #409eff;
                  color: white;
                "
                @click="updDep('itemdetail')"
                >{{ $t('common.submit') }}</el-button
              >
              <el-button
                class="el-button-sure"
                type="primary"
                @click="reset('itemdetail')"
                >{{ $t('common.cancel') }}</el-button
              >
              <el-button @click="reset('itemdetail')">{{
                $t('common.cancel')
              }}</el-button>
            </div>
          </el-form>
        </div>
@@ -233,12 +233,11 @@
        </el-form-item>
      </el-form>
      <div slot="footer" class="dialog-footer">
        <el-button class="el-button-sure" @click="resetForm('ruleForm')">{{
        <el-button @click="resetForm('ruleForm')">{{
          $t('common.cancel')
        }}</el-button>
        <el-button
          class="el-button-remove"
          type="primary"
          style="background: #409eff; border: 1px solid #409eff; color: white"
          @click="submitForm('ruleForm')"
          v-loading.fullscreen.lock="fullscreenLoading"
          >{{ $t('common.submit') }}</el-button
@@ -326,7 +325,7 @@
    };
  },
  methods: {
    getDepTree() {
    getMenuTree() {
      //获取目录树最大ID,新建节点使用
      // queryMaxId().then((res) => {
      //   this.id = res.data;
@@ -382,11 +381,12 @@
                    message: '添加成功',
                    type: 'success',
                  });
                  this.getMenuTree();
                  this.itemdetail = {};
                  this.ruleForm = {};
                  this.dialogFormVisible = false;
                  this.$refs[formName].resetFields();
                  this.getMenuTree();
                }
              }, 500);
            })
@@ -606,7 +606,7 @@
    },
  },
  mounted() {
    this.getDepTree();
    this.getMenuTree();
  },
  created() {
    var val = this.$store.state.currentPerms;
@@ -798,23 +798,6 @@
  }
  /deep/.el-form-item__label {
    color: white;
  }
  .el-button-sure {
    width: 116px;
    height: 40px;
    background: linear-gradient(180deg, #002992, #080472);
    border: 1px solid #000000;
    box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.21);
    border-radius: 3px;
  }
  .el-button-remove {
    width: 116px;
    height: 40px;
    background: linear-gradient(180deg, #002992, #080472);
    border: 1px solid #000000;
    box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.21);
    opacity: 0.5;
    border-radius: 3px;
  }
}
</style>