ludc
2024-03-18 32ebe84d704f32842fdc8b5b23038dccb67234ff
Source/UBCS-WEB/src/components/Theme/ThemeClassifyTrees.vue
@@ -4,7 +4,7 @@
    <!--    左侧菜单-->
    <el-aside>
      <basic-container>
        <div style="height: calc(100vh - 144px);!important;">
        <div style="height: calc(100vh - 144px);!important;" @click="clearNode">
          <div class="headerCon" style="display: flex; flex-wrap: wrap;margin-bottom: 5px">
            <el-button v-if="permissionList.TreeAddStatus" plain size="small" type="primary" @click="TreeAdd">添加
            </el-button>
@@ -62,6 +62,7 @@
                </el-tooltip>
              </template>
            </avue-tree>
            <div style="height: 25px"></div>
          </div>
        </div>
@@ -796,6 +797,12 @@
  created() {
  },
  methods: {
    clearNode(){
      this.$refs.tree.setCurrentKey(null);
      this.nodeClickList = {};
      this.TreeFlagCode = true;
      this.allButtons = false;
    },
    // 分类授权对话框打开
    classifyAuthHandler() {
      if (this.nodeClickList.oid === '' || this.nodeClickList.oid === undefined) {