123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277 |
- export default [
- {
- path: '/user',
- component: '../layouts/UserLayout',
- routes: [
- {
- name: 'login',
- path: '/user/login',
- component: './user/login',
- },
- ],
- },
- {
- path: '/',
- component: '../layouts/SecurityLayout',
- routes: [
- {
- path: '/',
- component: '../layouts/BasicLayout',
- authority: ['admin', 'user'],
- routes: [
- {
- path: '/',
- redirect: '/welcome',
- },
- {
- path: '/welcome',
- name: 'welcome',
- icon: 'smile',
- component: './Welcome',
- },
- {
- path: '/admin',
- name: 'admin',
- icon: 'crown',
- component: './Admin',
- authority: ['admin'],
- routes: [
- {
- path: '/admin/sub-page',
- name: 'sub-page',
- icon: 'smile',
- component: './Welcome',
- authority: ['admin'],
- },
- ],
- },
- {
- path: '/building',
- name: '项目管理',
- icon: 'control',
- component: '../layouts/BlankLayout',
- routes: [
- {
- path: '/building/list',
- name: '项目列表',
- component: './building/List',
- },
- {
- path: '/building/add',
- name: '项目维护',
- component: './building/Edit',
- hideInMenu: true,
- },
- {
- path: '/building/type',
- name: '项目类型',
- component: './building/type/index',
- },
- {
- path: '/building/type/edi',
- name: '项目类型编辑',
- hideInMenu: true,
- component: './building/type/edi',
- },
- {
- path: '/building/Developers',
- name: '品牌开发商',
- component: './building/Developers',
- },
- {
- path: '/building/Developers/Edit',
- name: '品牌开发商编辑',
- hideInMenu: true,
- component: './building/Developers/Edit',
- },
- ],
- },
- {
- path: '/customer',
- name: '客户管理',
- component: '../layouts/BlankLayout',
- routes: [
- {
- path: '/customer/customer/list',
- name: '客户列表',
- component: './customer/Customer/index',
- },
- {
- path: '/customer/customerlist/privateCustomerDetail',
- name: '私客详情',
- hideInMenu: true,
- component: './customer/Customer/PrivateCustomer/CustomerDetail',
- },
-
- // {
- // path: '/customer/customerlist/list',
- // name: '客户列表old',
- // component: './customer/customerlist/index copy.jsx',
- // },
- {
- path: '/customer/customerlist/customerDetail',
- name: '私客详情',
- hideInMenu: true,
- component: './customer/customerlist/customerDetail',
- },
- {
- path: '/customer/drift/list',
- name: '游客列表',
- component: './customer/drift/index',
- },
- {
- path: '/customer/customerlist/publicCustomerDetail',
- name: '公客详情',
- hideInMenu: true,
- component: './customer/customerlist/publicCustomerDetail',
- },
- {
- path: '/customer/recommend/list',
- name: '推荐记录',
- component: './customer/Recommend',
- },
- {
- path: '/customer/recommend/audit',
- name: '客户审核',
- hideInMenu: true,
- component: './customer/Recommend/audit',
- },
- ],
- },
- {
- path: '/staff',
- name: '员工管理',
- component: '../layouts/BlankLayout',
- routes: [
- {
- path: '/staff/Staff/List',
- name: '员工列表',
- component: './staff/Staff/List',
- },
- {
- path: '/staff/Staff/Edit',
- name: '编辑员工',
- hideInMenu: true,
- component: './staff/Staff/Edit',
- },
- {
- path: '/staff/Role/List',
- name: '角色管理',
- component: './staff/Role/List',
- },
- {
- path: '/staff/Role/Edit',
- name: '编辑角色',
- hideInMenu: true,
- component: './staff/Role/Edit',
- },
- {
- path: '/staff/Organization/List',
- name: '组织架构',
- component: './staff/Organization',
- },
-
-
- // {
- // path: '/staff/list/distribution',
- // name: '分配归属',
- // hideInMenu: true,
- // component: './staff/list/distribution',
- // },
- ],
- },
- {
- path: '/news',
- name: '资讯管理',
- component: '../layouts/BlankLayout',
- routes: [
- {
- path: '/news/type/NewsType',
- name: '资讯类型',
- component: './news/type/NewsType',
- },
- {
- path: '/news/type/editNews',
- name: '编辑资讯类型',
- hideInMenu: true,
- component: './news/type/editNews',
- },
- {
- path: '/news/list/NewsList',
- name: '资讯列表',
- component: './news/list/NewsList',
- },
- {
- path: '/news/list/editNewsList',
- name: '编辑资讯',
- hideInMenu: true,
- component: './news/list/editNewsList',
- },
- ],
- },
- {
- path: '/carouselFigure',
- name: '资源位管理',
- component: '../layouts/BlankLayout',
- routes: [
- {
- path: '/carouselFigure/carouselFigureList',
- name: '轮播图',
- component: './carouselFigure/carouselFigureList',
- },
- {
- path: '/carouselFigure/editCarousel',
- name: '轮播图编辑',
- hideInMenu: true,
- component: './carouselFigure/editCarousel',
- },
- {
- path: '/carouselFigure/advertisingList',
- name: '开屏广告',
- component: './carouselFigure/advertisingList',
- },
- {
- path: '/carouselFigure/editAdvertising',
- name: '开屏广告编辑',
- hideInMenu: true,
- component: './carouselFigure/editAdvertising',
- },
- {
- path: '/carouselFigure/propagandaList',
- name: '宣传位',
- component: './carouselFigure/propagandaList',
- },
- {
- path: '/carouselFigure/propaganda',
- name: '宣传位编辑',
- hideInMenu: true,
- component: './carouselFigure/propaganda',
- },
- {
- path: '/carouselFigure/customImg/list',
- name: '其他',
- component: './carouselFigure/customImg/list',
- },
- {
- path: '/carouselFigure/customImg/edit',
- name: '其他编辑',
- hideInMenu: true,
- component: './carouselFigure/customImg/edit',
- },
- ],
- },
-
- {
- component: './404',
- },
- ],
- },
- {
- component: './404',
- },
- ],
- },
- {
- component: './404',
- },
- ]
|