add NotifyManagement
This commit is contained in:
@@ -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>
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user