add Notify
This commit is contained in:
+3
-1
@@ -11,6 +11,7 @@ import pointRoutes from "@/router/routes/pointRoutes";
|
||||
import registrationRoutes from "@/router/routes/registrationRoutes";
|
||||
import tabRoutes from "@/router/routes/tabRoutes";
|
||||
import userRoutes from "@/router/routes/userRoutes";
|
||||
import notifyRoutes from "@/router/routes/notifyRoutes";
|
||||
import { useCurrentStoreStore } from "@/store/currentStoreStore";
|
||||
import { useGlobalUIStore } from "@/store/globalUI";
|
||||
import { gaoRoleCodes } from "@/utils/permission";
|
||||
@@ -25,7 +26,8 @@ const detailRoutes = [
|
||||
...permissionRoutes,
|
||||
...pointRoutes,
|
||||
...chartRoutes,
|
||||
...managementAccountRoutes
|
||||
...managementAccountRoutes,
|
||||
...notifyRoutes
|
||||
];
|
||||
|
||||
const router = createRouter({
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
import type { RouteRecordRaw } from "vue-router";
|
||||
import NotifyDetail from "@/pages/notify/NotifyDetail.vue";
|
||||
import NotifyList from "@/pages/notify/NotifyList.vue";
|
||||
|
||||
const notifyRoutes: RouteRecordRaw[] = [
|
||||
{
|
||||
path: "/notify",
|
||||
name: "NotifyList",
|
||||
component: NotifyList,
|
||||
meta: {
|
||||
depth: 3,
|
||||
navBarVisible: true,
|
||||
navBarCanBack: true,
|
||||
navBarTitle: "站内通知",
|
||||
tabBarVisible: false,
|
||||
bodyBackground: "#F5F5F8",
|
||||
darkBodyBackground: "#10161f"
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/notify/:id",
|
||||
name: "NotifyDetail",
|
||||
component: NotifyDetail,
|
||||
meta: {
|
||||
depth: 4,
|
||||
navBarVisible: true,
|
||||
navBarCanBack: true,
|
||||
navBarTitle: "通知详情",
|
||||
tabBarVisible: false,
|
||||
bodyBackground: "#F5F5F8",
|
||||
darkBodyBackground: "#10161f"
|
||||
}
|
||||
}
|
||||
];
|
||||
|
||||
export default notifyRoutes;
|
||||
Reference in New Issue
Block a user