From 8f7502179865b21b6a404fef9d01ac095a0663f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=98=E6=B0=91=E5=BA=B7?= Date: Wed, 25 Jun 2025 15:25:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=AF=E4=BF=A1=E4=BB=A3=E7=A0=81=E5=BA=93-?= =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E4=B8=AD=E5=BF=83=E6=B7=BB=E5=8A=A0=E5=89=8D?= =?UTF-8?q?=E5=BE=80=E6=B2=BB=E7=90=86=E4=B8=AD=E5=BF=83=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Jyh/PersonalCenter/index.vue | 33 +++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) diff --git a/src/views/Jyh/PersonalCenter/index.vue b/src/views/Jyh/PersonalCenter/index.vue index 09fe292..19124e8 100644 --- a/src/views/Jyh/PersonalCenter/index.vue +++ b/src/views/Jyh/PersonalCenter/index.vue @@ -21,12 +21,16 @@ - + + 前往治理中心 + + + - +
@@ -44,7 +48,7 @@ import EarlyWarning from './Detail/EarlyWarning.vue'; import SubscribeList from './Detail/SubscribeList.vue'; import PersonalSettings from './Detail/PersonalSettings.vue'; import { useAccount } from '@/utils/hooks/useAccount'; - +import { Message } from 'vue-devui/message'; const { namespace } = getOrgInfo(); const avatarUrl = '/src/assets/imgs/avatar/male.png'; @@ -63,6 +67,15 @@ const openDelete = (row: any) => { const router = useRouter(); +// 前往治理中心按钮点击事件 +const goToGovernCenter = () => { + Message.warning('请联系平台管理员,开通账号权限'); + // 可以在此添加跳转逻辑,当前无权限时不实际跳转 + // if (hasPermission) { + // router.push('/govern-center'); + // } +}; + // 分页 const changeIndex = () => { // getGroupClaListData(); @@ -284,4 +297,18 @@ const signCla = (row: any) => { width: 100%; margin-top: 12px; } + +.goToGovernCenter { + position: absolute; + right: 0; + bottom: 0; + padding: 8px 16px; + color: #0A59F7; + font-family: HarmonyOS Sans SC; + font-weight: medium; + font-size: 14px; + line-height: 22px; + letter-spacing: 0px; + text-align: left; +}