add NotifyManagement

This commit is contained in:
Timi
2026-08-22 01:57:56 +08:00
parent 92c9ef80d0
commit b35e3a0fd4
3 changed files with 43 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
<template>
<div class="notify-management">
<t-empty description="该功能暂不可用" />
</div>
</template>
<script setup lang="ts">
defineOptions({
name: "NotifyManagement"
});
</script>
<style scoped lang="less">
.notify-management {
gap: .75rem;
padding: calc(var(--app-nav-height) + 1rem) 1rem 1rem 1rem;
display: flex;
min-height: 100%;
align-items: center;
justify-content: center;
}
</style>
+6
View File
@@ -200,6 +200,12 @@ const menuGroupList = computed<MenuGroup[]>(() => [
title: "用户管理",
visible: canManageUser.value && userStore.hasPermissions(permissionCodes.user.read)
},
{
icon: "notification",
path: "/management/notifications",
title: "通知管理",
visible: true
},
{
icon: "qrcode",
path: "/management/qr-code",
+15
View File
@@ -1,5 +1,6 @@
import type { RouteRecordRaw } from "vue-router";
import AppSettings from "@/pages/setting/AppSettings.vue";
import NotifyManagement from "@/pages/notify/NotifyManagement.vue";
import UserProfile from "@/pages/user/UserProfile.vue";
import UserPassword from "@/pages/user/UserPassword.vue";
import CustomerQrCode from "@/pages/customer/CustomerQrCode.vue";
@@ -97,6 +98,20 @@ export const managementSettingRoutes: RouteRecordRaw[] = [
darkBodyBackground: "#10161f"
}
},
{
path: "/management/notifications",
name: "NotifyManagement",
component: NotifyManagement,
meta: {
depth: 3,
navBarVisible: true,
navBarCanBack: true,
navBarTitle: "通知管理",
tabBarVisible: false,
bodyBackground: "#F5F5F8",
darkBodyBackground: "#10161f"
}
},
{
path: "/management/tags",
name: "TagList",