add store
This commit is contained in:
@@ -3,6 +3,68 @@ import ManagementSettings from "@/pages/management/ManagementSettings.vue";
|
||||
import ManagementProfile from "@/pages/management/ManagementProfile.vue";
|
||||
import ManagementPassword from "@/pages/management/ManagementPassword.vue";
|
||||
import ManagementQrCode from "@/pages/management/ManagementQrCode.vue";
|
||||
import StoreBusinessDayList from "@/pages/management/StoreBusinessDayList.vue";
|
||||
import StoreEdit from "@/pages/management/StoreEdit.vue";
|
||||
import StoreList from "@/pages/management/StoreList.vue";
|
||||
|
||||
export const storeRoutes: RouteRecordRaw[] = [
|
||||
{
|
||||
path: "/management/stores",
|
||||
name: "StoreList",
|
||||
component: StoreList,
|
||||
meta: {
|
||||
depth: 3,
|
||||
navBarVisible: true,
|
||||
navBarCanBack: true,
|
||||
navBarTitle: "门店管理",
|
||||
tabBarVisible: false,
|
||||
bodyBackground: "#F5F5F8",
|
||||
darkBodyBackground: "#10161f"
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/management/stores/create",
|
||||
name: "StoreCreate",
|
||||
component: StoreEdit,
|
||||
meta: {
|
||||
depth: 4,
|
||||
navBarVisible: true,
|
||||
navBarCanBack: true,
|
||||
navBarTitle: "新增门店",
|
||||
tabBarVisible: false,
|
||||
bodyBackground: "#F5F5F8",
|
||||
darkBodyBackground: "#10161f"
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/management/stores/:id",
|
||||
name: "StoreEdit",
|
||||
component: StoreEdit,
|
||||
meta: {
|
||||
depth: 4,
|
||||
navBarVisible: true,
|
||||
navBarCanBack: true,
|
||||
navBarTitle: "编辑门店",
|
||||
tabBarVisible: false,
|
||||
bodyBackground: "#F5F5F8",
|
||||
darkBodyBackground: "#10161f"
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/management/stores/:id/business-days",
|
||||
name: "StoreBusinessDayList",
|
||||
component: StoreBusinessDayList,
|
||||
meta: {
|
||||
depth: 5,
|
||||
navBarVisible: true,
|
||||
navBarCanBack: true,
|
||||
navBarTitle: "营业日管理",
|
||||
tabBarVisible: false,
|
||||
bodyBackground: "#F5F5F8",
|
||||
darkBodyBackground: "#10161f"
|
||||
}
|
||||
}
|
||||
];
|
||||
|
||||
export const managementSettingRoutes: RouteRecordRaw[] = [
|
||||
{
|
||||
@@ -67,6 +129,7 @@ export const managementAccountRoutes: RouteRecordRaw[] = [
|
||||
];
|
||||
|
||||
const managementRoutes: RouteRecordRaw[] = [
|
||||
...storeRoutes,
|
||||
...managementSettingRoutes,
|
||||
...managementAccountRoutes
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user