ludc
2024-01-25 686e93016c6a8d0353a63ac0bbdeaf8aba4bc053
Source/UBCS-WEB/src/components/Theme/ClassifyAuthDialog.vue
@@ -99,6 +99,7 @@
export default {
  name: "classifyAuthDialog.vue",
  props: {
    // 当前点击节点的顶层节点
    classifyData: {
      type: "Object",
      default: "",
@@ -108,6 +109,10 @@
      type: "Boolean",
      default: false,
    },
    // 当前点击的节点
    TreeNode:{
      type:Object
    }
  },
  data() {
    return {
@@ -278,7 +283,7 @@
      let form = {
        classifyAuthList: [],
        isCLear: false, //默认是清空
        classifyId: this.classifyData.oid,
        classifyId: this.TreeNode.oid,
      };
      let isRepeat = false;
      if(this.classifyAuthData.length > 0){
@@ -319,7 +324,7 @@
          let data = {
            oid: item.oid,
            roleId: item.roleData,
            classifyId: this.classifyData.oid,
            classifyId: this.TreeNode.oid,
            buttonIds: itemButtonList.join(","),
            authType: "classify_auth",
          };
@@ -407,7 +412,7 @@
        });
        // 获取该分类下已授权的分类授权信息
        getClassifyAuthList({
          classifyId: this.classifyData.oid,
          classifyId: this.TreeNode.oid,
          authType: "classify_auth",
        }).then((res) => {
          //console.log(res.data.data);