ludc
2024-01-25 d5f65a731126e37bd3d1498b54db7d6093fec5b2
Source/UBCS-WEB/src/components/Theme/ThemeClassifyTrees.vue
@@ -123,6 +123,7 @@
        </el-dialog>
        <!-- 分类授权对话框-->
        <classify-auth-dialog
          :TreeNode="TreeEditObj"
          :classifyData="classifyData"
          :visible.sync="classifyAuthVisible"
        ></classify-auth-dialog>
@@ -779,7 +780,7 @@
        this.$message.warning('请至少选择一条数据!')
        return;
      }
      this.classifyData = this.nodeClickList;
      // this.classifyData = this.nodeClickList;
      this.classifyAuthVisible = true;
    },
    // 数据授权对话框打开
@@ -788,7 +789,7 @@
        this.$message.warning('请至少选择一条数据!')
        return;
      }
      this.classifyData = this.nodeClickList;
      // this.classifyData = this.nodeClickList;
      this.dataAuthVisible = true;
    },
    flowingDependHandler() {
@@ -1153,8 +1154,9 @@
    //树点击事件
    async nodeClick(data) {
      const response = this.findTheTopLevelNode(data,this.Treedata)
      console.log(response)
      console.log('response',response.attributes.id)
      this.classifyData = response;
      // console.log(response)
      // console.log('response',response.attributes.id)
      this.allButtons = true;
      getAuthButtonList({classifyId: data.oid, code: "classifyTree", authType: "classify_auth"}).then(res => {
        this.btnAuthList = res.data.data;