From c1a49104e6be51715336bf864845d8e1ff6b630d Mon Sep 17 00:00:00 2001 From: lihui Date: Thu, 21 Aug 2025 13:25:01 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=98=BE=E7=A4=BA=E9=87=91=E8=B1=86?= =?UTF-8?q?=E7=9A=84=E6=9D=83=E9=99=90=20fix:=E6=B1=87=E7=8E=87=E5=85=B3?= =?UTF-8?q?=E9=97=AD=E6=93=8D=E4=BD=9C=20fix:=E4=BD=99=E9=A2=9D=E7=9A=84?= =?UTF-8?q?=E5=8E=86=E5=8F=B2=E4=B8=A4=E5=88=97=E5=8E=BB=E6=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/managerecharge/rate.vue | 9 +++++---- src/views/permissions/rolePermission.vue | 7 ++++--- src/views/usergold/gold/clientCountBalance.vue | 20 ++++++++++---------- 3 files changed, 19 insertions(+), 17 deletions(-) diff --git a/src/views/managerecharge/rate.vue b/src/views/managerecharge/rate.vue index 4cf0469..c1ad9ec 100644 --- a/src/views/managerecharge/rate.vue +++ b/src/views/managerecharge/rate.vue @@ -122,6 +122,8 @@ const getEditData = async function (row) { console.log('请求失败', error) } } +const editRole = ref( true) +editRole.value = findMenuById(menuTree.value, permissionMapping.Exchange_Rate_Modification) // 编辑汇率 const editRate = async function () { if (findMenuById(menuTree.value, permissionMapping.Exchange_Rate_Modification)) { @@ -267,13 +269,12 @@ onMounted(async function () { {{ formatDate(scope.row.updateTime) }} - + diff --git a/src/views/permissions/rolePermission.vue b/src/views/permissions/rolePermission.vue index 1b31718..c5798cd 100644 --- a/src/views/permissions/rolePermission.vue +++ b/src/views/permissions/rolePermission.vue @@ -245,11 +245,12 @@ const getLists = async function () { data: { id: roleId } }) data.value = res.data - let originalData = res.data.filter(item => item.id !== 9); // 排除权限管理 + // let originalData = res.data.filter(item => item.id !== 9); // 排除金豆菜单 - data.value = filterGoldenBeanMenus(originalData); - + // data.value = filterGoldenBeanMenus(originalData); // data.value = data.value.filter(item => item.id !== 9); + + data.value = data.value.filter(item => item.id !== 9); console.log('看看data', data.value) console.log('parentID:', addRole.value.parentId, 'roleId:', roleId) diff --git a/src/views/usergold/gold/clientCountBalance.vue b/src/views/usergold/gold/clientCountBalance.vue index 1287483..ca34f80 100644 --- a/src/views/usergold/gold/clientCountBalance.vue +++ b/src/views/usergold/gold/clientCountBalance.vue @@ -442,10 +442,10 @@ const format3 = (num) => { }} - - - - + + + + - + - + - + - + - +