From 6909d1ad3107a6e030dc13e143f6b961ef163284 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期日, 04 二月 2024 12:22:00 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- Source/UBCS-WEB/src/components/Theme/ClassifyAuthDialog.vue | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Source/UBCS-WEB/src/components/Theme/ClassifyAuthDialog.vue b/Source/UBCS-WEB/src/components/Theme/ClassifyAuthDialog.vue index 9ee7e77..6f1a28d 100644 --- a/Source/UBCS-WEB/src/components/Theme/ClassifyAuthDialog.vue +++ b/Source/UBCS-WEB/src/components/Theme/ClassifyAuthDialog.vue @@ -118,7 +118,7 @@ return { // 瀵硅瘽妗嗘樉绀烘帶鍒� isShowDialog: this.visible, - isLoading: false, + isLoading: true, tableHeight: "calc(100vh - 550px)", classifyAuthData: [], //鍒楀ご @@ -171,7 +171,7 @@ //娣诲姞 鈥滄煡鐪嬪叏閮ㄧ鐢ㄦ潯浠垛�� if (item.code === "classify_view") { this.$set(this.classifyAuthData[index].authButton, "allDisabled", true); - console.log(this.classifyAuthData[index].authButton.allDisabled) + // console.log(this.classifyAuthData[index].authButton.allDisabled) } } else { @@ -288,8 +288,10 @@ classifyAuthList: [], isCLear: false, //榛樿鏄竻绌� classifyId: this.TreeNode.oid, + authType: 'classify_auth', }; let isRepeat = false; + // console.log(this.classifyAuthData); if(this.classifyAuthData.length > 0){ // 閬嶅巻鏁扮粍锛屾瘮杈冨悗闈㈢殑瀵硅薄鐨剅oleData鏄惁涓庡墠闈㈢殑瀵硅薄鐩哥瓑 for (let i = 0; i < this.classifyAuthData.length - 1; i++) { @@ -374,6 +376,7 @@ // 鍔犺浇鎺堟潈鍒楄〃 loadAuthPage() { return new Promise((resolve, reject) => { + this.isLoading = true; getButtonByParentCode({ code: "classifyTree" }) .then((res) => { // 璁板綍鎸夐挳鏁版嵁 @@ -441,6 +444,7 @@ }); } }); + this.isLoading = false; }); }, }, -- Gitblit v1.9.3