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: '/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/customer/StatusChange', name: '状态变更', hideInMenu: true, component: './customer/Customer/StatusChange', }, { path: '/customer/customerlist/publicCustomerDetail', name: '公客详情', hideInMenu: true, component: './customer/Customer/PublicCustomer/publicCustomerDetail', }, { path: '/customer/recommend/channel', name: '经纪人报备', component: './recommend/channel', }, { path: '/customer/recommend/channel/audit', name: '到访确认', hideInMenu: true, component: './recommend/channel/audit', }, { path: '/customer/recommend/customer', name: '普通客户推荐', component: './recommend/customer', }, { path: '/customer/recommend/customer/audit', name: '客户审核', hideInMenu: true, component: './recommend/customer/audit', }, ], }, { path: '/Live', name: '视频直播', component: '../layouts/BlankLayout', routes: [ { path: '/Live/LiveActivity/List', name: '直播活动', component: './Live/LiveActivity/List', }, { path: '/Live/LiveActivity/Edit', name: '编辑活动', hideInMenu: true, component: './Live/LiveActivity/Edit', }, { path: '/Live/LiveActivity/add', name: '新增活动', hideInMenu: true, component: './Live/LiveActivity/add', }, { path: '/Live/video/List', name: '视频', component: './Live/video/List', }, { path: '/Live/video/Edit', name: '编辑视频', hideInMenu: true, component: './Live/video/Edit', }, ], }, { path: '/activity', name: '活动管理', component: '../layouts/BlankLayout', routes: [ { path: '/activity/groupRoomActivity', name: '团房活动', component: './activity/groupRoomActivity', }, { path: '/activity/groupRoomActivity/detail', name: '活动详情', hideInMenu: true, component: './activity/groupRoomActivity/detail', }, { path: '/activity/groupRoomActivity/edit', name: '编辑活动', hideInMenu: true, component: './activity/groupRoomActivity/edit', }, { path: '/activity/groupRoomActivity/registrationRecord', name: '报名记录', hideInMenu: true, component: './activity/groupRoomActivity/registrationRecord', }, { path: '/activity/lookHouseActivity', name: '一键带看', component: './activity/lookHouseActivity', }, { path: '/activity/lookHouseActivity/detail', name: '活动详情', hideInMenu: true, component: './activity/lookHouseActivity/detail', }, { path: '/activity/lookHouseActivity/edit', name: '编辑活动', hideInMenu: true, component: './activity/lookHouseActivity/edit', }, { path: '/activity/lookHouseActivity/registrationRecord', name: '报名记录', hideInMenu: true, component: './activity/lookHouseActivity/registrationRecord', }, { path: '/activity/SignupActivity', name: '报名活动', component: './activity/SignupActivity', }, { path: '/activity/SignupActivity/detail', name: '活动详情', hideInMenu: true, component: './activity/SignupActivity/detail', }, { path: '/activity/SignupActivity/edit', name: '编辑活动', hideInMenu: true, component: './activity/SignupActivity/edit', }, { path: '/activity/SignupActivity/registrationRecord', name: '报名记录', hideInMenu: true, component: './activity/SignupActivity/registrationRecord', }, ], }, { 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/List', name: '资讯列表', component: './news/list/List', }, { path: '/news/list/Edit', name: '编辑资讯', hideInMenu: true, component: './news/list/Edit', }, //+购房百科 { path: '/news/Sellhouse/index', name: '购房百科', component: './system/Sellhouse/index', }, { path: '/news/houseTypes/index', name: '购房百百科类型', component: './system/Sellhouse/houseTypes/index', }, { path: '/news/Sellhouse/Edit', name: '编辑购房百科', hideInMenu: true, component: './system/Sellhouse/Edit', }, { path: '/news/Sellhouse/houseTypes/Newindex', name: '编辑购房百百科类型', hideInMenu: true, component: './system/Sellhouse/houseTypes/Newindex', }, ], }, { path: '/channel', name: '渠道管理', component: '../layouts/BlankLayout', routes: [ { path: '/channel/Channel/List', name: '渠道管理', component: './channel/Channel/List', }, { path: '/channel/Channel/Edit', name: '编辑渠道', hideInMenu: true, component: './channel/Channel/Edit', }, { path: '/channel/Agent/List', name: '经纪人', hideInMenu: true, component: './channel/Agent/List', }, { path: '/channel/brokerList', name: '经纪人', hideInMenu: true, component: './channel/brokerList', }, { path: '/channel/recommendClients', name: '渠道推荐', hideInMenu: true, component: './channel/recommendClients', }, // { // path: '/channel/InviteClients', // name: '邀请经纪人', // hideInMenu: true, // component: './channel/InviteClients', // }, { path: '/channel/independentList', name: '经纪人', component: './channel/independentList/index', }, // { // path: '/channel/newCustomer', // name: '引进注册用户', // hideInMenu: true, // component: './channel/newCustomer', // }, // { // path: '/channel/newCustomer/dataRecord', // name: '注册用户', // hideInMenu: true, // component: './channel/newCustomer/dataRecord', // }, // { // path: '/channel/newCustomer/visitNum', // name: '访问次数', // hideInMenu: true, // component: './channel/newCustomer/visitNum', // }, // { // path: '/channel/newCustomer/personNum', // name: '访问人数', // hideInMenu: true, // component: './channel/newCustomer/personNum', // }, ], }, { //帮我找房页面+ path: '/findRoom', name: '需求反馈', component: '../layouts/BlankLayout', routes: [ { path: '/findRoom/buyRoom', name: '找房需求', component: './findRoom/buyRoom', }, { path: '/findRoom/buyRoom/audit', name: '回访确认', hideInMenu: true, component: './findRoom/buyRoom/audit', }, { path: '/findRoom/rent', name: '租房需求', component: './findRoom/rent', }, { path: '/findRoom/rent/audit', name: '回访确认', hideInMenu: true, component: './findRoom/rent/audit', }, { path: '/findRoom/overseas', name: '海外需求', component: './findRoom/overseas', }, { path: '/findRoom/overseas/audit', name: '回访确认', hideInMenu: true, component: './findRoom/overseas/audit', }, { path: '/findRoom/addedValueService', name: '增值服务', component: './findRoom/addedValueService', }, { path: '/findRoom/addedValueService/audit', name: '回访确认', hideInMenu: true, component: './findRoom/addedValueService/audit', }, { path: '/findRoom/setting', name: '回访设置', component: './findRoom/setting', }, { path: '/findRoom/messageList', name: '客户留言', component: './system/messageList', }, ], }, { //我的课堂+ path: '/course', name: '我的课堂', component: '../layouts/BlankLayout', routes: [ { path: '/course/List', name: '课程管理', component: './course/List', }, { path: '/course/Edit', name: '课程编辑', hideInMenu: true, component: './course/Edit', }, ], }, { 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/customImg/list', name: '其他', component: './carouselFigure/customImg/list', }, { path: '/carouselFigure/customImg/edit', name: '其他编辑', hideInMenu: true, component: './carouselFigure/customImg/edit', }, ], }, { path: '/', name: '系统管理', component: '../layouts/BlankLayout', routes: [ { path: '/system/intention', name: '意向值', component: './system/intention', }, { 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: '/statistics', name: '数据统计', component: '../layouts/BlankLayout', // hideInMenu: true, routes: [ { path: '/statistics/dataReport', name: '数据报表', component: './statistics/dataReport', }, { path: '/statistics/activity', name: '活动统计', component: './statistics/activity', }, ], }, { component: './404', }, ], }, { component: './404', }, ], }, { component: './404', }, ];