ludc
2024-02-02 52fd1e55b71fa38ffe89db738acc4e6c7e4da0df
Source/UBCS-WEB/src/components/Theme/DataAuthDialog.vue
@@ -104,7 +104,7 @@
    return {
      // 对话框显示控制
      isShowDialog: this.visible,
      isLoading: false,
      isLoading: true,
      tableHeight: 'calc(100vh - 550px)',
      classifyAuthData: [],
      //列头
@@ -131,7 +131,7 @@
    classifyAuthData(newval){
      this.addIndex = newval.length <= 0 ? 0 :newval.length-1;
      console.log(this.addIndex)
      // console.log(this.addIndex)
    }
  },
  computed: {},
@@ -289,6 +289,7 @@
        classifyAuthList: [],
        isCLear: false, //默认是清空
        classifyId: this.TreeNode.oid,
        authType: 'data_auth',
      };
      let isRepeat = false;
      if (this.classifyAuthData.length > 0) {
@@ -369,7 +370,7 @@
    },
    loadAuthPage() {
      return new Promise((resolve, reject) => {
        // console.log(this.classifyData);
        this.isLoading = true;
        getButtonByParentCode({code: this.classifyData.attributes.id}).then(res => {
          // 记录按钮数据
          this.classifyAuthButton = res.data.data;
@@ -431,6 +432,7 @@
            })
          }
        });
        this.isLoading = false;
      });
    },
  },