|
|
@ -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",
|
|
|
|