From 52fd1e55b71fa38ffe89db738acc4e6c7e4da0df Mon Sep 17 00:00:00 2001 From: ludc Date: 星期五, 02 二月 2024 16:47:35 +0800 Subject: [PATCH] 分类授权,数据授权界面请求参数修改 --- Source/UBCS-WEB/src/components/Theme/DataAuthDialog.vue | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Source/UBCS-WEB/src/components/Theme/DataAuthDialog.vue b/Source/UBCS-WEB/src/components/Theme/DataAuthDialog.vue index 937cd36..5e9e512 100644 --- a/Source/UBCS-WEB/src/components/Theme/DataAuthDialog.vue +++ b/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; }); }, }, -- Gitblit v1.9.3