Commit dd826306 authored by rencs's avatar rencs

10.12 banner

parent c1bee389
import Vue from 'vue'; import Vue from "vue";
import Router from 'vue-router'; import Router from "vue-router";
const _import = require('./_import_' + process.env.NODE_ENV); const _import = require("./_import_" + process.env.NODE_ENV);
// in development env not use Lazy Loading,because Lazy Loading large page will cause webpack hot update too slow.so only in production use Lazy Loading // in development env not use Lazy Loading,because Lazy Loading large page will cause webpack hot update too slow.so only in production use Lazy Loading
Vue.use(Router); Vue.use(Router);
/* layout */ /* layout */
import Layout from '../views/layout/Layout'; import Layout from "../views/layout/Layout";
/** /**
* icon : the icon show in the sidebar * icon : the icon show in the sidebar
...@@ -16,73 +16,74 @@ import Layout from '../views/layout/Layout'; ...@@ -16,73 +16,74 @@ import Layout from '../views/layout/Layout';
* noDropdown : if `noDropdown:true` will has no submenu * noDropdown : if `noDropdown:true` will has no submenu
* meta : { role: ['admin'] } will control the page role * meta : { role: ['admin'] } will control the page role
**/ **/
export const constantRouterMap = [{ export const constantRouterMap = [
path: '/login', {
component: _import('login/index'), path: "/login",
hidden: true component: _import("login/index"),
hidden: true,
}, },
{ {
path: '/authredirect', path: "/authredirect",
component: _import('login/authredirect'), component: _import("login/authredirect"),
hidden: true hidden: true,
}, },
{ {
path: '/map', path: "/map",
component: _import('map'), component: _import("map"),
name: '地图', name: "地图",
hidden: true hidden: true,
}, },
{ {
path: '/stockCrowd', path: "/stockCrowd",
component: _import('baseInfo/stockCrowd/stockCrowd'), component: _import("baseInfo/stockCrowd/stockCrowd"),
name: '分公司入股', name: "分公司入股",
hidden: true hidden: true,
// authority: 'stockCrowd' // authority: 'stockCrowd'
}, },
{ {
path: '/stockCrowdDetail', path: "/stockCrowdDetail",
component: _import('baseInfo/stockCrowdDetail/index'), component: _import("baseInfo/stockCrowdDetail/index"),
name: '入股申请', name: "入股申请",
hidden: true hidden: true,
// authority: 'stockCrowd' // authority: 'stockCrowd'
}, },
{ {
path: '/campsite', path: "/campsite",
component: _import('baseInfo/campsite/campsite'), component: _import("baseInfo/campsite/campsite"),
name: '营地', name: "营地",
hidden: true hidden: true,
// authority: 'stockCrowd' // authority: 'stockCrowd'
}, },
{ {
path: '/companyInfo', path: "/companyInfo",
component: _import('baseInfo/companyInfo/index'), component: _import("baseInfo/companyInfo/index"),
name: '公司信息', name: "公司信息",
hidden: true hidden: true,
// authority: 'companyInfo' // authority: 'companyInfo'
}, },
{ {
path: '/companyDetail', path: "/companyDetail",
component: _import('baseInfo/companyInfo/companyDetail'), component: _import("baseInfo/companyInfo/companyDetail"),
name: '公司详情', name: "公司详情",
hidden: true hidden: true,
// authority: 'companyInfo' // authority: 'companyInfo'
}, },
{ {
path: '/provinceMap', path: "/provinceMap",
component: _import('baseInfo/companyInfo/provinceMap'), component: _import("baseInfo/companyInfo/provinceMap"),
name: '省市分布', name: "省市分布",
hidden: true hidden: true,
// authority: 'stockCrowd' // authority: 'stockCrowd'
}, },
{ {
path: '/404', path: "/404",
component: _import('error/404'), component: _import("error/404"),
hidden: true hidden: true,
}, },
{ {
path: '/401', path: "/401",
component: _import('error/401'), component: _import("error/401"),
hidden: true hidden: true,
}, },
// { // {
// path: '/', // path: '/',
...@@ -97,365 +98,387 @@ export const constantRouterMap = [{ ...@@ -97,365 +98,387 @@ export const constantRouterMap = [{
// }, // },
{ {
path: '/', path: "/",
component: Layout, component: Layout,
redirect: '/index', redirect: "/index",
name: '首页', name: "首页",
hidden: true, hidden: true,
children: [{ children: [
path: 'index', {
component: _import('index/index') path: "index",
}] component: _import("index/index"),
},
],
}, },
{ {
path: '/introduction', path: "/introduction",
component: Layout, component: Layout,
redirect: '/introduction/index', redirect: "/introduction/index",
icon: 'form', icon: "form",
noDropdown: true, noDropdown: true,
children: [{ children: [
path: 'index', {
component: _import('introduction/index'), path: "index",
name: '简述' component: _import("introduction/index"),
}] name: "简述",
} },
] ],
},
];
export default new Router({ export default new Router({
// mode: 'history', //后端支持可开 // mode: 'history', //后端支持可开
scrollBehavior: () => ({ scrollBehavior: () => ({
y: 0 y: 0,
}), }),
routes: constantRouterMap routes: constantRouterMap,
}); });
export const asyncRouterMap = [{ export const asyncRouterMap = [
path: '/baseManager', {
component: Layout, path: "/baseManager",
name: '基础配置管理',
icon: 'setting',
authority: 'baseManager',
children: [{
path: 'userManager',
icon: 'fa-user',
component: _import('admin/user/index'),
name: '后台用户管理',
authority: 'userManager'
}, {
path: 'appUserManager',
icon: 'fa-user',
component: _import('admin/appUser/index'),
name: 'App用户管理',
authority: 'appUserManager'
}, {
path: 'menuManager',
icon: 'category',
component: _import('admin/menu/index'),
name: '菜单管理',
authority: 'menuManager'
}, {
path: 'groupManager',
icon: 'group_fill',
component: _import('admin/group/index'),
name: '角色权限管理',
authority: 'groupManager'
}, {
path: 'groupTypeManager',
icon: 'fa-users',
component: _import('admin/groupType/index'),
name: '角色类型管理',
authority: 'groupTypeManager'
}, {
path: 'gateLogManager',
icon: 'viewlist',
component: _import('admin/gateLog/index'),
name: '操作日志管理',
authority: 'gateLogManager'
}]
},
{
path: '/authManager',
component: Layout, component: Layout,
name: '基础配置管理', name: "基础配置管理",
icon: 'setting', icon: "setting",
authority: 'authManager', authority: "baseManager",
children: [{ children: [
path: 'serviceManager', {
component: _import('auth/service/index'), path: "userManager",
name: '用户管理', icon: "fa-user",
authority: 'serviceManager' component: _import("admin/user/index"),
}] name: "后台用户管理",
}, authority: "userManager",
{ },
path: '/memberManager', {
path: "appUserManager",
icon: "fa-user",
component: _import("admin/appUser/index"),
name: "App用户管理",
authority: "appUserManager",
},
{
path: "menuManager",
icon: "category",
component: _import("admin/menu/index"),
name: "菜单管理",
authority: "menuManager",
},
{
path: "groupManager",
icon: "group_fill",
component: _import("admin/group/index"),
name: "角色权限管理",
authority: "groupManager",
},
{
path: "groupTypeManager",
icon: "fa-users",
component: _import("admin/groupType/index"),
name: "角色类型管理",
authority: "groupTypeManager",
},
{
path: "gateLogManager",
icon: "viewlist",
component: _import("admin/gateLog/index"),
name: "操作日志管理",
authority: "gateLogManager",
},
],
},
{
path: "/authManager",
component: Layout, component: Layout,
name: '会员管理', name: "基础配置管理",
icon: 'fn-user', icon: "setting",
authority: 'memberManager', authority: "authManager",
children: [{ children: [
path: 'memberInfo', {
component: _import('member/info/index'), path: "serviceManager",
authority: 'memberInfo' component: _import("auth/service/index"),
}] name: "用户管理",
authority: "serviceManager",
},
],
}, },
{ {
path: '/monitorManager', path: "/memberManager",
component: Layout, component: Layout,
name: '监控模块管理', name: "会员管理",
icon: 'setting', icon: "fn-user",
authority: 'monitorManager', authority: "memberManager",
children: [{ children: [
path: 'serviceEurekaManager', {
component: _import('monitor/eureka/index'), path: "memberInfo",
name: 'Eureka注册中心', component: _import("member/info/index"),
authority: 'serviceEurekaManager' authority: "memberInfo",
}, { },
path: 'serviceMonitorManager', ],
component: _import('monitor/service/index'), },
name: '服务状态监控', {
authority: 'serviceMonitorManager' path: "/monitorManager",
}, {
path: 'serviceZipkinManager',
component: _import('monitor/zipkin/index'),
name: '服务状态监控',
authority: 'serviceZipkinManager'
}]
}, {
path: '/baseInfo',
component: Layout, component: Layout,
name: '基础信息', name: "监控模块管理",
icon: 'fa-user', icon: "setting",
authority: 'baseInfo', authority: "monitorManager",
children: [{ children: [
path: 'branchCompany', {
component: _import('baseInfo/branchCompany/index'), path: "serviceEurekaManager",
name: '分公司管理', component: _import("monitor/eureka/index"),
authority: 'branchCompany' name: "Eureka注册中心",
authority: "serviceEurekaManager",
}, },
{ {
path: 'campsite', path: "serviceMonitorManager",
component: _import('baseInfo/campsite/index'), component: _import("monitor/service/index"),
name: '营地管理', name: "服务状态监控",
authority: 'campsite' authority: "serviceMonitorManager",
}, },
{ {
path: '/baseInfo/accompanyingItem', path: "serviceZipkinManager",
component: _import('vehicle/accompanyingItem/index'), component: _import("monitor/zipkin/index"),
name: '随行物品管理', name: "服务状态监控",
authority: 'accompanyingItem' authority: "serviceZipkinManager",
}, },
],
},
{
path: "/baseInfo",
component: Layout,
name: "基础信息",
icon: "fa-user",
authority: "baseInfo",
children: [
{ {
path: 'branchCompany/stock', path: "branchCompany",
component: _import('branchCompany/stock/index'), component: _import("baseInfo/branchCompany/index"),
name: '分公司股权信息管理', name: "分公司管理",
authority: 'branchCompany/stock' authority: "branchCompany",
}, },
{ {
path: 'branchCompany/stockApply', path: "campsite",
component: _import('branchCompany/stockApply/index'), component: _import("baseInfo/campsite/index"),
name: '分公司股权信息管理', name: "营地管理",
authority: 'branchCompany/stockApply' authority: "campsite",
}, },
{ {
path: 'vehicleUpkeepItem', path: "/baseInfo/accompanyingItem",
component: _import('vehicle/vehicleUpkeepItem/index'), component: _import("vehicle/accompanyingItem/index"),
name: '车辆保养项目管理', name: "随行物品管理",
authority: 'vehicleUpkeepItem' authority: "accompanyingItem",
}, },
{ {
path: 'generalSetting', path: "branchCompany/stock",
component: _import('baseInfo/generalSetting'), component: _import("branchCompany/stock/index"),
name: '通用设置', name: "分公司股权信息管理",
authority: 'generalSetting' authority: "branchCompany/stock",
}, },
{ {
path: 'bannerSetting', path: "branchCompany/stockApply",
component: _import('baseInfo/bannerSetting'), component: _import("branchCompany/stockApply/index"),
name: 'banner设置', name: "分公司股权信息管理",
authority: 'bannerSetting' authority: "branchCompany/stockApply",
} },
] {
path: "vehicleUpkeepItem",
component: _import("vehicle/vehicleUpkeepItem/index"),
name: "车辆保养项目管理",
authority: "vehicleUpkeepItem",
},
{
path: "generalSetting",
component: _import("baseInfo/generalSetting"),
name: "通用设置",
authority: "generalSetting",
},
],
}, },
{ {
path: '/vehicleType', path: "/vehicleType",
component: Layout, component: Layout,
name: '车型管理', name: "车型管理",
icon: 'setting', icon: "setting",
authority: 'vehicleType', authority: "vehicleType",
children: [{ children: [
path: 'vehicleTypeList', {
component: _import('vehicleType/index'), path: "vehicleTypeList",
name: '车型列表', component: _import("vehicleType/index"),
authority: 'vehicleTypeList' name: "车型列表",
authority: "vehicleTypeList",
}, },
{ {
path: 'vehicleTypeLabel', path: "vehicleTypeLabel",
component: _import('vehicleType/vehicleTypeLabel'), component: _import("vehicleType/vehicleTypeLabel"),
name: '车型标签设置', name: "车型标签设置",
authority: 'vehicleTypeLabel' authority: "vehicleTypeLabel",
}, },
{ {
path: 'priceList', path: "priceList",
component: _import('vehicleType/priceList'), component: _import("vehicleType/priceList"),
name: '租车价格表', name: "租车价格表",
authority: 'priceList' authority: "priceList",
}, },
{ {
path: 'mockSun', path: "mockSun",
component: _import('vehicleType/mockSun'), component: _import("vehicleType/mockSun"),
name: '节日价格', name: "节日价格",
authority: 'mockSun' authority: "mockSun",
} },
] ],
}, },
{ {
path: '/discoveryModule', path: "/discoveryModule",
component: Layout, component: Layout,
name: '发现模块', name: "发现模块",
icon: 'setting', icon: "setting",
authority: 'discoveryModule', authority: "discoveryModule",
children: [{ children: [
path: 'clapIndex', {
component: _import('discoveryModule/clapIndex'), path: "clapIndex",
name: '拍拍', component: _import("discoveryModule/clapIndex"),
authority: 'clapIndex' name: "拍拍",
authority: "clapIndex",
}, },
{ {
path: 'shortVideo', path: "shortVideo",
component: _import('discoveryModule/shortVideo'), component: _import("discoveryModule/shortVideo"),
name: '短视频', name: "短视频",
authority: 'shortVideo' authority: "shortVideo",
}, },
{ {
path: 'questionsAndAnswers', path: "questionsAndAnswers",
component: _import('discoveryModule/questionsAndAnswers'), component: _import("discoveryModule/questionsAndAnswers"),
name: '问答', name: "问答",
authority: 'questionsAndAnswers' authority: "questionsAndAnswers",
} },
] ],
}, },
{ {
path: '/campsiteManage', path: "/campsiteManage",
component: Layout, component: Layout,
name: '营地管理', name: "营地管理",
icon: 'setting', icon: "setting",
authority: 'campsiteManage', authority: "campsiteManage",
children: [{ children: [
path: 'campsiteList', {
component: _import('campsiteManage/index'), path: "campsiteList",
name: '营地列表', component: _import("campsiteManage/index"),
authority: 'campsiteList' name: "营地列表",
authority: "campsiteList",
}, },
{ {
path: 'campsiteLabel', path: "campsiteLabel",
component: _import('campsiteManage/campsiteLabel'), component: _import("campsiteManage/campsiteLabel"),
name: '营地标签设置', name: "营地标签设置",
authority: 'campsiteLabel' authority: "campsiteLabel",
} },
] ],
}, },
{ {
path: '/revenue', path: "/revenue",
component: Layout, component: Layout,
name: '营地管理', name: "营地管理",
icon: 'setting', icon: "setting",
authority: 'revenue', authority: "revenue",
children: [{ children: [
path: 'revenue_sum', {
component: _import('revenue/revenue_sum'), path: "revenue_sum",
name: '营收概况', component: _import("revenue/revenue_sum"),
authority: 'revenue_sum' name: "营收概况",
authority: "revenue_sum",
}, },
{ {
path: 'revenue_withdraw', path: "revenue_withdraw",
component: _import('revenue/revenue_withdraw'), component: _import("revenue/revenue_withdraw"),
name: '提现列表', name: "提现列表",
authority: 'revenue_withdraw' authority: "revenue_withdraw",
} },
] ],
}, },
{ {
path: '/vehicle', path: "/vehicle",
component: Layout, component: Layout,
name: '车辆管理', name: "车辆管理",
icon: 'setting', icon: "setting",
authority: 'vehicle', authority: "vehicle",
children: [{ children: [
path: 'vehicleInfo', {
component: _import('vehicle/vehicleInfo/index'), path: "vehicleInfo",
name: '车辆信息管理', component: _import("vehicle/vehicleInfo/index"),
authority: 'vehicleInfo' name: "车辆信息管理",
authority: "vehicleInfo",
}, },
{ {
path: 'vehiclePrice', path: "vehiclePrice",
component: _import('vehicle/vehiclePrice'), component: _import("vehicle/vehiclePrice"),
name: '车辆价格管理', name: "车辆价格管理",
authority: 'vehiclePrice' authority: "vehiclePrice",
}, },
{ {
path: 'bookRecord', path: "bookRecord",
component: _import('vehicle/bookRecord/index'), component: _import("vehicle/bookRecord/index"),
name: '车辆排班管理', name: "车辆排班管理",
authority: 'bookRecord' authority: "bookRecord",
}, },
{ {
path: 'bookingManagement', path: "bookingManagement",
component: _import('vehicle/smallProgram/bookingManagement'), component: _import("vehicle/smallProgram/bookingManagement"),
name: '小程序车辆申请管理', name: "小程序车辆申请管理",
authority: 'bookingManagement' authority: "bookingManagement",
}, },
{ {
path: 'vehicleWarningMsg', path: "vehicleWarningMsg",
component: _import('vehicle/vehicleWarningMsg/index'), component: _import("vehicle/vehicleWarningMsg/index"),
name: '车辆预警消息', name: "车辆预警消息",
authority: 'vehicleWarningMsg' authority: "vehicleWarningMsg",
}, },
{ {
path: 'vehicleDepartureLog', path: "vehicleDepartureLog",
component: _import('vehicle/vehicleDepartureLog/index'), component: _import("vehicle/vehicleDepartureLog/index"),
name: '车辆出车记录', name: "车辆出车记录",
authority: 'vehicleDepartureLog' authority: "vehicleDepartureLog",
}, },
{ {
path: 'vehicleUpkeepLog', path: "vehicleUpkeepLog",
component: _import('vehicle/vehicleUpkeepLog/index'), component: _import("vehicle/vehicleUpkeepLog/index"),
name: '车辆保养记录', name: "车辆保养记录",
authority: 'vehicleUpkeepLog' authority: "vehicleUpkeepLog",
}, },
{ {
path: 'vehicleSchedulManage', path: "vehicleSchedulManage",
component: _import('vehicle/vehicleSchedulManage/index'), component: _import("vehicle/vehicleSchedulManage/index"),
name: '车辆排班表', name: "车辆排班表",
authority: 'vehicleSchedulManage' authority: "vehicleSchedulManage",
}, },
{ {
path: 'vehicleRecords', path: "vehicleRecords",
component: _import('vehicle/vehicleSchedulManage/vehicleRecords'), component: _import("vehicle/vehicleSchedulManage/vehicleRecords"),
name: '车辆排班记录', name: "车辆排班记录",
authority: 'vehicleRecords' authority: "vehicleRecords",
}, },
{ {
path: 'vehicleCount', path: "vehicleCount",
component: _import('vehicle/vehicleCount/index'), component: _import("vehicle/vehicleCount/index"),
name: '车辆出行统计', name: "车辆出行统计",
authority: 'vehicleCount' authority: "vehicleCount",
}, {
path: 'vehicleTypeList',
component: _import('vehicleType/index'),
name: '车型列表',
authority: 'vehicleTypeList'
}, },
{ {
path: 'vehicleTypeLabel', path: "vehicleTypeList",
component: _import('vehicleType/vehicleTypeLabel'), component: _import("vehicleType/index"),
name: '车型标签设置', name: "车型列表",
authority: 'vehicleTypeLabel' authority: "vehicleTypeList",
}, },
{ {
path: 'accompanyingItem', path: "vehicleTypeLabel",
component: _import('vehicle/accompanyingItem/index'), component: _import("vehicleType/vehicleTypeLabel"),
name: '随行物品管理', name: "车型标签设置",
authority: 'accompanyingItem' authority: "vehicleTypeLabel",
},
{
path: "accompanyingItem",
component: _import("vehicle/accompanyingItem/index"),
name: "随行物品管理",
authority: "accompanyingItem",
}, },
// { // {
// path: 'dispatchApply', // path: 'dispatchApply',
...@@ -463,406 +486,440 @@ export const asyncRouterMap = [{ ...@@ -463,406 +486,440 @@ export const asyncRouterMap = [{
// name: '调度申请管理', // name: '调度申请管理',
// authority: 'dispatchApply' // authority: 'dispatchApply'
// } // }
] ],
}, },
{ {
path: '/tourManage', path: "/tourManage",
component: Layout, component: Layout,
name: '旅行管理', name: "旅行管理",
icon: 'setting', icon: "setting",
authority: 'tourManage', authority: "tourManage",
children: [{ children: [
path: 'tourList', {
component: _import('tourManage/index'), path: "tourList",
name: '旅行列表', component: _import("tourManage/index"),
authority: 'tourList' name: "旅行列表",
authority: "tourList",
}, },
{ {
path: 'tourLabel', path: "tourLabel",
component: _import('tourManage/tourLabel'), component: _import("tourManage/tourLabel"),
name: '旅行标签设置', name: "旅行标签设置",
authority: 'tourLabel' authority: "tourLabel",
} },
] ],
}, },
{ {
path: '/order', path: "/order",
component: Layout, component: Layout,
name: '订单管理', name: "订单管理",
icon: 'setting', icon: "setting",
authority: 'order', authority: "order",
children: [{ children: [
path: 'rentVehicleInfo', {
component: _import('order/rentVehicleInfo/index'), path: "rentVehicleInfo",
name: '租车订单管理', component: _import("order/rentVehicleInfo/index"),
authority: 'rentVehicleInfo' name: "租车订单管理",
authority: "rentVehicleInfo",
}, },
{ {
path: 'tourOrderInfo', path: "tourOrderInfo",
component: _import('order/tourOrderInfo/index'), component: _import("order/tourOrderInfo/index"),
name: '旅游订单管理', name: "旅游订单管理",
authority: 'tourOrderInfo' authority: "tourOrderInfo",
}, },
{ {
path: 'memberOrderInfo', path: "memberOrderInfo",
component: _import('order/memberOrderInfo/index'), component: _import("order/memberOrderInfo/index"),
name: '会员订单管理', name: "会员订单管理",
authority: 'memberOrderInfo' authority: "memberOrderInfo",
}, },
{ {
path: 'orderStatistics', path: "orderStatistics",
component: _import('order/orderStatistics/index'), component: _import("order/orderStatistics/index"),
name: '会员订单统计', name: "会员订单统计",
authority: 'orderStatistics' authority: "orderStatistics",
}, },
{ {
path: 'createOrder', path: "createOrder",
component: _import('order/createOrder/index'), component: _import("order/createOrder/index"),
name: '创建租车订单', name: "创建租车订单",
authority: 'createOrder' authority: "createOrder",
}, },
{ {
path: 'orderActiveInfo', path: "orderActiveInfo",
component: _import('order/orderActiveInfo/index'), component: _import("order/orderActiveInfo/index"),
name: '活动订单管理', name: "活动订单管理",
authority: 'orderActiveInfo' authority: "orderActiveInfo",
}, },
] ],
}, },
{ {
path: '/purseManage', path: "/purseManage",
component: Layout, component: Layout,
name: '钱包管理', name: "钱包管理",
icon: 'setting', icon: "setting",
authority: 'purseManage', authority: "purseManage",
children: [{ children: [
path: 'incomeOverview', {
component: _import('purseManage/incomeOverview'), path: "incomeOverview",
name: '收益总览', component: _import("purseManage/incomeOverview"),
authority: 'incomeOverview' name: "收益总览",
authority: "incomeOverview",
}, },
{ {
path: 'gainRecord', path: "gainRecord",
component: _import('purseManage/gainRecord'), component: _import("purseManage/gainRecord"),
name: '收益记录', name: "收益记录",
authority: 'gainRecord' authority: "gainRecord",
}, },
{ {
path: 'commissionSettings', path: "commissionSettings",
component: _import('purseManage/commissionSettings'), component: _import("purseManage/commissionSettings"),
name: '佣金设置比例', name: "佣金设置比例",
authority: 'commissionSettings' authority: "commissionSettings",
}, },
{ {
path: 'discountRecord', path: "discountRecord",
component: _import('purseManage/discountRecord'), component: _import("purseManage/discountRecord"),
name: '提现记录', name: "提现记录",
authority: 'discountRecord' authority: "discountRecord",
}, },
{ {
path: 'commissionRecord', path: "commissionRecord",
component: _import('purseManage/commissionRecord'), component: _import("purseManage/commissionRecord"),
name: '佣金记录', name: "佣金记录",
authority: 'commissionRecord' authority: "commissionRecord",
} },
] ],
}, },
{ {
path: '/userManagement', path: "/userManagement",
component: Layout, component: Layout,
name: '用户管理', name: "用户管理",
icon: 'setting', icon: "setting",
authority: 'userManagement', authority: "userManagement",
children: [{ children: [
path: 'userList', {
component: _import('userManagement/userList/index'), path: "userList",
name: '用户列表', component: _import("userManagement/userList/index"),
authority: 'userList' name: "用户列表",
authority: "userList",
}, },
{ {
path: 'memberManagement', path: "memberManagement",
component: _import('userManagement/memberManagement/index'), component: _import("userManagement/memberManagement/index"),
name: '会员管理1', name: "会员管理1",
authority: 'memberManagement' authority: "memberManagement",
}, },
{ {
path: 'memberEnter', path: "memberEnter",
component: _import('userManagement/memberEnter'), component: _import("userManagement/memberEnter"),
name: '会员录入', name: "会员录入",
authority: 'memberEnter' authority: "memberEnter",
}, },
{ {
path: 'imCustomerServiceManger', path: "imCustomerServiceManger",
component: _import('userManagement/imCustomerServiceManger/cusomterServiceList'), component: _import(
name: '客服列表', "userManagement/imCustomerServiceManger/cusomterServiceList"
authority: 'imCustomerServiceManger' ),
} name: "客服列表",
] authority: "imCustomerServiceManger",
},
],
}, },
{ {
path: '/appManagement', path: "/appManagement",
component: Layout, component: Layout,
name: 'app管理', name: "app管理",
icon: 'setting', icon: "setting",
authority: 'appManagement', authority: "appManagement",
children: [{ children: [
path: 'appVersion', {
component: _import('appManagement/appVersion/index'), path: "bannerSetting",
name: 'app版本管理', component: _import("baseInfo/bannerSetting"),
authority: 'appVersion' name: "banner设置",
authority: "bannerSetting",
},
{
path: "appVersion",
component: _import("appManagement/appVersion/index"),
name: "app版本管理",
authority: "appVersion",
}, },
{ {
path: 'appVersionMark', path: "appVersionMark",
component: _import('appManagement/appVersionMark'), component: _import("appManagement/appVersionMark"),
name: '标识管理', name: "标识管理",
authority: 'appVersionMark' authority: "appVersionMark",
}, },
{ {
path: 'modalManagement', path: "modalManagement",
component: _import('appManagement/modalManagement/index'), component: _import("appManagement/modalManagement/index"),
name: '首页弹窗管理', name: "首页弹窗管理",
authority: 'modalManagement' authority: "modalManagement",
}, },
{ {
path: 'selectedActivities', path: "selectedActivities",
component: _import('appManagement/selectedActivities/index'), component: _import("appManagement/selectedActivities/index"),
name: '首页精选活动', name: "首页精选活动",
authority: 'selectedActivities' authority: "selectedActivities",
}, },
{ {
path: 'pushManagement', path: "pushManagement",
component: _import('appManagement/pushManagement/index'), component: _import("appManagement/pushManagement/index"),
name: '消息推送', name: "消息推送",
authority: 'pushManagement' authority: "pushManagement",
} },
] ],
}, },
{ {
path: '/summit', path: "/summit",
component: Layout, component: Layout,
name: '峰会管理', name: "峰会管理",
icon: 'setting', icon: "setting",
authority: 'summit', authority: "summit",
children: [{ children: [
path: 'index', {
component: _import('summit/index'), path: "index",
name: '峰会列表', component: _import("summit/index"),
authority: 'index' name: "峰会列表",
}] authority: "index",
}, },
{ ],
path: '/cunponManagements', },
{
path: "/cunponManagements",
component: Layout, component: Layout,
name: '优惠券管理', name: "优惠券管理",
icon: 'setting', icon: "setting",
authority: 'cunponManagements', authority: "cunponManagements",
children: [{ children: [
path: 'cunponManagement', {
component: _import('cunponManagements/cunponManagement'), path: "cunponManagement",
name: '优惠券管理', component: _import("cunponManagements/cunponManagement"),
authority: 'cunponManagement' name: "优惠券管理",
authority: "cunponManagement",
}, },
{ {
path: 'conponList', path: "conponList",
component: _import('cunponManagements/conponList'), component: _import("cunponManagements/conponList"),
name: '优惠券列表', name: "优惠券列表",
authority: 'conponList' authority: "conponList",
} },
] ],
}, },
{ {
path: '/activityManagement', path: "/activityManagement",
component: Layout, component: Layout,
name: '活动管理', name: "活动管理",
icon: 'setting', icon: "setting",
authority: 'activityManagement', authority: "activityManagement",
children: [{ children: [
path: 'activityList', {
component: _import('activityManagement/activityList'), path: "activityList",
name: '活动列表', component: _import("activityManagement/activityList"),
authority: 'activityList' name: "活动列表",
}] authority: "activityList",
}, },
{ ],
path: '/company', },
{
path: "/company",
component: Layout, component: Layout,
name: '公司/门店', name: "公司/门店",
icon: 'setting', icon: "setting",
authority: 'company', authority: "company",
children: [{ children: [
path: 'companyManage', {
component: _import('company/companyManage'), path: "companyManage",
name: '公司管理', component: _import("company/companyManage"),
authority: 'companyManage' name: "公司管理",
}, { authority: "companyManage",
path: 'storeManage', },
component: _import('company/storeManage'), {
name: '门店管理', path: "storeManage",
authority: 'storeManage' component: _import("company/storeManage"),
}] name: "门店管理",
}, authority: "storeManage",
{ },
path: '/casual', ],
},
{
path: "/casual",
component: Layout, component: Layout,
name: '发布会现金活动', name: "发布会现金活动",
icon: 'setting', icon: "setting",
authority: 'casual', authority: "casual",
children: [{ children: [
path: 'index', {
component: _import('conference/activeData/index'), path: "index",
name: '活动数据', component: _import("conference/activeData/index"),
authority: 'index' name: "活动数据",
authority: "index",
}, },
{ {
path: 'prizeLists', path: "prizeLists",
component: _import('conference/prizeList/prizeLists'), component: _import("conference/prizeList/prizeLists"),
name: '中奖列表', name: "中奖列表",
authority: 'prizeLists' authority: "prizeLists",
}, },
{ {
path: 'applyList', path: "applyList",
component: _import('conference/apply/applyList'), component: _import("conference/apply/applyList"),
name: '报名列表', name: "报名列表",
authority: 'applyList' authority: "applyList",
}, },
{ {
path: 'awardSet', path: "awardSet",
component: _import('conference/award/awardSet'), component: _import("conference/award/awardSet"),
name: '奖品设置', name: "奖品设置",
authority: 'awardSet' authority: "awardSet",
} },
] ],
}, },
{ {
path: '/applyManagements', path: "/applyManagements",
component: Layout, component: Layout,
name: '申请管理', name: "申请管理",
icon: 'setting', icon: "setting",
authority: 'applyManagements', authority: "applyManagements",
children: [{ children: [
path: 'carApplyList', {
component: _import('applyManagements/carApplyList'), path: "carApplyList",
name: '购房车申请列表', component: _import("applyManagements/carApplyList"),
authority: 'carApplyList' name: "购房车申请列表",
authority: "carApplyList",
}, },
{ {
path: 'Settlement', path: "Settlement",
component: _import('applyManagements/Settlement'), component: _import("applyManagements/Settlement"),
name: '入驻申请', name: "入驻申请",
authority: 'Settlement' authority: "Settlement",
} },
] ],
}, },
{ {
path: '/xxOfficialWebsite', path: "/xxOfficialWebsite",
component: Layout, component: Layout,
name: '欣新房车官网管理', name: "欣新房车官网管理",
icon: 'setting', icon: "setting",
authority: 'xxOfficialWebsite', authority: "xxOfficialWebsite",
children: [{ children: [
path: 'activityList', {
component: _import('xxOfficialWebsite/activityList'), path: "activityList",
name: '活动管理', component: _import("xxOfficialWebsite/activityList"),
authority: 'activityList' name: "活动管理",
authority: "activityList",
}, },
{ {
path: 'newsList', path: "newsList",
component: _import('xxOfficialWebsite/newsList'), component: _import("xxOfficialWebsite/newsList"),
name: '新闻管理', name: "新闻管理",
authority: 'newsList' authority: "newsList",
}, },
{ {
path: 'bannerList', path: "bannerList",
component: _import('xxOfficialWebsite/bannerList'), component: _import("xxOfficialWebsite/bannerList"),
name: 'banner管理', name: "banner管理",
authority: 'bannerList' authority: "bannerList",
}, },
{ {
path: 'seoList', path: "seoList",
component: _import('xxOfficialWebsite/seoList'), component: _import("xxOfficialWebsite/seoList"),
name: 'SEO管理', name: "SEO管理",
authority: 'seoList' authority: "seoList",
}, },
{ {
path: 'friendLinkList', path: "friendLinkList",
component: _import('xxOfficialWebsite/friendLinkList'), component: _import("xxOfficialWebsite/friendLinkList"),
name: '友情连接', name: "友情连接",
authority: 'friendLinkList' authority: "friendLinkList",
} },
] ],
}, },
{ {
path: '/summit', path: "/summit",
component: Layout, component: Layout,
name: '峰会管理', name: "峰会管理",
icon: 'setting', icon: "setting",
authority: 'summit', authority: "summit",
children: [{ children: [
path: 'summitList', {
component: _import('summit/index'), path: "summitList",
name: '峰会列表', component: _import("summit/index"),
authority: 'summitList' name: "峰会列表",
}] authority: "summitList",
}, },
{ ],
path: '/statistics', },
{
path: "/statistics",
component: Layout, component: Layout,
name: '数据统计', name: "数据统计",
icon: 'setting', icon: "setting",
authority: 'statistics', authority: "statistics",
children: [{ children: [
path: 'orderStatistics', {
component: _import('statistics/orderStatistics'), path: "orderStatistics",
name: '订单统计', component: _import("statistics/orderStatistics"),
authority: 'orderStatistics' name: "订单统计",
}] authority: "orderStatistics",
}, },
{ ],
path: '/financial', },
{
path: "/financial",
component: Layout, component: Layout,
name: '财务报表', name: "财务报表",
icon: 'setting', icon: "setting",
authority: 'financial', authority: "financial",
children: [{ children: [
path: 'staffPerformance', {
component: _import('financial/staffPerformance'), path: "staffPerformance",
name: '员工业绩报表', component: _import("financial/staffPerformance"),
authority: 'staffPerformance' name: "员工业绩报表",
}, { authority: "staffPerformance",
path: 'memberPerformance', },
component: _import('financial/memberPerformance'), {
name: '总公司报表', path: "memberPerformance",
authority: 'memberPerformance' component: _import("financial/memberPerformance"),
}, { name: "总公司报表",
path: 'branchCompany', authority: "memberPerformance",
component: _import('financial/branchCompany'), },
name: '总公司报表', {
authority: 'branchCompany' path: "branchCompany",
}, { component: _import("financial/branchCompany"),
path: 'vehicleStatistics', name: "总公司报表",
component: _import('financial/vehicleStatistics'), authority: "branchCompany",
name: '车辆统计', },
authority: 'vehicleStatistics' {
}] path: "vehicleStatistics",
}, component: _import("financial/vehicleStatistics"),
{ name: "车辆统计",
path: '/interior', authority: "vehicleStatistics",
},
],
},
{
path: "/interior",
component: Layout, component: Layout,
name: '内部人员管理', name: "内部人员管理",
icon: 'setting', icon: "setting",
authority: 'interior', authority: "interior",
children: [{ children: [
path: 'employeesInput', {
component: _import('interior/employeesInput'), path: "employeesInput",
name: '员工录入', component: _import("interior/employeesInput"),
authority: 'employeesInput' name: "员工录入",
}, authority: "employeesInput",
{ },
path: 'shareholder', {
component: _import('interior/shareholder'), path: "shareholder",
name: '股东列表', component: _import("interior/shareholder"),
authority: 'shareholder' name: "股东列表",
} authority: "shareholder",
] },
} ],
},
]; ];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment