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