rename notify
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import type { RouteRecordRaw } from "vue-router";
|
||||
import AppSettings from "@/pages/setting/AppSettings.vue";
|
||||
import NotifyManagement from "@/pages/notify/NotifyManagement.vue";
|
||||
import NotifyManagementCreate from "@/pages/notify/NotifyManagementCreate.vue";
|
||||
import NotifyManagementDetail from "@/pages/notify/NotifyManagementDetail.vue";
|
||||
import NotifyList from "@/pages/notify/NotifyList.vue";
|
||||
import NotifyCreate from "@/pages/notify/NotifyCreate.vue";
|
||||
import NotifyDetail from "@/pages/notify/NotifyDetail.vue";
|
||||
import UserProfile from "@/pages/user/UserProfile.vue";
|
||||
import UserPassword from "@/pages/user/UserPassword.vue";
|
||||
import CustomerQrCode from "@/pages/customer/CustomerQrCode.vue";
|
||||
@@ -102,8 +102,8 @@ export const managementSettingRoutes: RouteRecordRaw[] = [
|
||||
},
|
||||
{
|
||||
path: "/management/notifications",
|
||||
name: "NotifyManagement",
|
||||
component: NotifyManagement,
|
||||
name: "NotifyList",
|
||||
component: NotifyList,
|
||||
meta: {
|
||||
depth: 3,
|
||||
navBarVisible: true,
|
||||
@@ -116,8 +116,8 @@ export const managementSettingRoutes: RouteRecordRaw[] = [
|
||||
},
|
||||
{
|
||||
path: "/management/notifications/create",
|
||||
name: "NotifyManagementCreate",
|
||||
component: NotifyManagementCreate,
|
||||
name: "NotifyCreate",
|
||||
component: NotifyCreate,
|
||||
meta: {
|
||||
depth: 4,
|
||||
navBarVisible: true,
|
||||
@@ -130,8 +130,8 @@ export const managementSettingRoutes: RouteRecordRaw[] = [
|
||||
},
|
||||
{
|
||||
path: "/management/notifications/:id",
|
||||
name: "NotifyManagementDetail",
|
||||
component: NotifyManagementDetail,
|
||||
name: "NotifyDetail",
|
||||
component: NotifyDetail,
|
||||
meta: {
|
||||
depth: 4,
|
||||
navBarVisible: true,
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import type { RouteRecordRaw } from "vue-router";
|
||||
import NotifyDetail from "@/pages/notify/NotifyDetail.vue";
|
||||
import NotifyList from "@/pages/notify/NotifyList.vue";
|
||||
import UserNotifyDetail from "@/pages/notify/UserNotifyDetail.vue";
|
||||
import UserNotifyList from "@/pages/notify/UserNotifyList.vue";
|
||||
|
||||
const notifyRoutes: RouteRecordRaw[] = [
|
||||
{
|
||||
path: "/notify",
|
||||
name: "NotifyList",
|
||||
component: NotifyList,
|
||||
name: "UserNotifyList",
|
||||
component: UserNotifyList,
|
||||
meta: {
|
||||
depth: 3,
|
||||
navBarVisible: true,
|
||||
@@ -19,8 +19,8 @@ const notifyRoutes: RouteRecordRaw[] = [
|
||||
},
|
||||
{
|
||||
path: "/notify/:id",
|
||||
name: "NotifyDetail",
|
||||
component: NotifyDetail,
|
||||
name: "UserNotifyDetail",
|
||||
component: UserNotifyDetail,
|
||||
meta: {
|
||||
depth: 4,
|
||||
navBarVisible: true,
|
||||
|
||||
Reference in New Issue
Block a user