From 79f7a284c33c37722dc2f8b492be42de0d1a17eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com>
Date: Tue, 22 Mar 2022 14:29:30 +0800
Subject: [PATCH] =?UTF-8?q?=E7=A6=85=E9=81=93bug=2051978?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/config/pages/roleManage/index.vue | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/pages/config/pages/roleManage/index.vue b/src/pages/config/pages/roleManage/index.vue
index c79db807e..c1f7211db 100644
--- a/src/pages/config/pages/roleManage/index.vue
+++ b/src/pages/config/pages/roleManage/index.vue
@@ -183,7 +183,7 @@
取消
-
+
确定
@@ -214,7 +214,7 @@
取消
-
+
确定
@@ -438,6 +438,7 @@ export default {
label: 'menuName'
},
nodeList2: [],
+ btnLoading: false,
nodeList4: [],
modalflag: false,
modalflag2: false,
@@ -683,6 +684,7 @@ export default {
})
},
confirmDialogData() {
+ this.btnLoading = true
this.$http.postData('sarRole/role/resource', {
resourceIds: this.$refs.tree3.getCheckedKeys().concat(this.$refs.tree3.getHalfCheckedKeys()),
roleId: this.id
@@ -691,10 +693,12 @@ export default {
this.$message.success('设置权限成功')
this.modalflag = false
}
+ this.btnLoading = false
})
},
//配置数据确定按钮
confirmDialogData2(){
+ this.btnLoading = true
let menuIds = this.$refs.tree4.getCheckedKeys().join(',')
this.$http.postData('tsRoleMeunData/ts-role-menu-data/saveBatch', {
menuIds: menuIds,
@@ -706,6 +710,7 @@ export default {
}else{
this.$message.warning(res.message)
}
+ this.btnLoading = false
})
},
closeDialogData() {