bibi 3 years ago
parent b6085145da
commit 87049e2c51

@ -17,9 +17,9 @@ Vue.use(Router);
import Layout from "@/views/Layout" import Layout from "@/views/Layout"
import basic from "./basic" // 基础功能 import basic from "./basic" // 基础功能
// import payment from "./payment" // 缴费管理 import payment from "./payment" // 缴费管理
import shop from "./shop" // 智慧商城 import shop from "./shop" // 智慧商城
// import operation from "./operation" // 运营管理 import operation from "./operation" // 运营管理
import setting from "./setting" // 设置 import setting from "./setting" // 设置
const router = [ const router = [
@ -34,17 +34,6 @@ const router = [
...basic, ...basic,
] ]
}, },
{
path: "/setting",
name: "setting",
title: "设置",
component: Layout,
redirect: '/basicSet',
meta: {title: '设置'},
children: [
...setting,
]
},
{ {
path: "/shop", path: "/shop",
name: "shop", name: "shop",
@ -56,6 +45,39 @@ const router = [
...shop, ...shop,
] ]
}, },
{
path: "/payment",
name: "payment",
title: "缴费管理",
component: Layout,
redirect: '/',
meta: {title: '缴费管理'},
children: [
...payment,
]
},
{
path: "/operation",
name: "operation",
title: "运营管理",
component: Layout,
redirect: '/',
meta: {title: '运营管理'},
children: [
...operation,
]
},
{
path: "/setting",
name: "setting",
title: "设置",
component: Layout,
redirect: '/basicSet',
meta: {title: '设置'},
children: [
...setting,
]
},
{ {
path: "/login", path: "/login",
name: "Login", name: "Login",

@ -73,22 +73,22 @@ export default {
label: "基础功能", label: "基础功能",
value: "basic" value: "basic"
}, },
// {
// label: "",
// value: "payment"
// },
{ {
label: "智慧商城", label: "智慧商城",
value: "shop" value: "shop"
}, },
// { {
// label: "", label: "缴费管理",
// value: "operation" value: "payment"
// }, },
// { {
// label: "", label: "运营管理",
// value: "setting" value: "operation"
// } },
{
label: "设置",
value: "setting"
}
], ],
}; };
}, },

Loading…
Cancel
Save