123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801
  1. export default [
  2. {
  3. path: '/user',
  4. component: '../layouts/UserLayout',
  5. routes: [
  6. {
  7. name: 'login',
  8. path: '/user/login',
  9. component: './user/login',
  10. },
  11. ],
  12. },
  13. {
  14. path: '/',
  15. component: '../layouts/SecurityLayout',
  16. routes: [
  17. {
  18. path: '/',
  19. component: '../layouts/BasicLayout',
  20. authority: ['admin', 'user'],
  21. routes: [
  22. {
  23. path: '/',
  24. redirect: '/welcome',
  25. },
  26. {
  27. path: '/welcome',
  28. name: 'welcome',
  29. icon: 'smile',
  30. component: './welcome',
  31. },
  32. {
  33. path: '/building',
  34. name: '项目管理',
  35. icon: 'control',
  36. component: '../layouts/BlankLayout',
  37. routes: [
  38. {
  39. path: '/building/list',
  40. name: '项目列表',
  41. component: './building/List',
  42. },
  43. {
  44. path: '/building/add',
  45. name: '项目维护',
  46. component: './building/Edit',
  47. hideInMenu: true,
  48. },
  49. {
  50. path: '/building/type',
  51. name: '项目类型',
  52. component: './building/type/index',
  53. },
  54. {
  55. path: '/building/type/edi',
  56. name: '项目类型编辑',
  57. hideInMenu: true,
  58. component: './building/type/edi',
  59. },
  60. {
  61. path: '/building/Developers',
  62. name: '品牌开发商',
  63. component: './building/Developers',
  64. },
  65. {
  66. path: '/building/Developers/Edit',
  67. name: '品牌开发商编辑',
  68. hideInMenu: true,
  69. component: './building/Developers/Edit',
  70. },
  71. ],
  72. },
  73. {
  74. path: '/customer',
  75. name: '客户管理',
  76. component: '../layouts/BlankLayout',
  77. routes: [
  78. {
  79. path: '/customer/customer/list',
  80. name: '客户列表',
  81. component: './customer/Customer/index',
  82. },
  83. {
  84. path: '/customer/customerlist/privateCustomerDetail',
  85. name: '私客详情',
  86. hideInMenu: true,
  87. component: './customer/Customer/PrivateCustomer/CustomerDetail',
  88. },
  89. // {
  90. // path: '/customer/customerlist/list',
  91. // name: '客户列表old',
  92. // component: './customer/customerlist/index copy.jsx',
  93. // },
  94. {
  95. path: '/customer/customerlist/customerDetail',
  96. name: '私客详情',
  97. hideInMenu: true,
  98. component: './customer/customerlist/customerDetail',
  99. },
  100. {
  101. path: '/customer/drift/list',
  102. name: '游客列表',
  103. component: './customer/drift/index',
  104. },
  105. {
  106. path: '/customer/customerlist/publicCustomerDetail',
  107. name: '公客详情',
  108. hideInMenu: true,
  109. component: './customer/customerlist/publicCustomerDetail',
  110. },
  111. {
  112. path: '/customer/recommend/list',
  113. name: '推荐记录',
  114. component: './customer/Recommend',
  115. },
  116. {
  117. path: '/customer/recommend/audit',
  118. name: '客户审核',
  119. hideInMenu: true,
  120. component: './customer/Recommend/audit',
  121. },
  122. ],
  123. },
  124. {
  125. path: '/staff',
  126. name: '员工管理',
  127. component: '../layouts/BlankLayout',
  128. routes: [
  129. {
  130. path: '/staff/Staff/List',
  131. name: '员工列表',
  132. component: './staff/Staff/List',
  133. },
  134. {
  135. path: '/staff/Staff/Edit',
  136. name: '编辑员工',
  137. hideInMenu: true,
  138. component: './staff/Staff/Edit',
  139. },
  140. {
  141. path: '/staff/Role/List',
  142. name: '角色管理',
  143. component: './staff/Role/List',
  144. },
  145. {
  146. path: '/staff/Role/Edit',
  147. name: '编辑角色',
  148. hideInMenu: true,
  149. component: './staff/Role/Edit',
  150. },
  151. {
  152. path: '/staff/Organization/List',
  153. name: '组织架构',
  154. component: './staff/Organization',
  155. },
  156. // {
  157. // path: '/staff/list/distribution',
  158. // name: '分配归属',
  159. // hideInMenu: true,
  160. // component: './staff/list/distribution',
  161. // },
  162. ],
  163. },
  164. {
  165. path: '/Live',
  166. name: '视频直播',
  167. component: '../layouts/BlankLayout',
  168. routes: [
  169. {
  170. path: '/Live/LiveActivity/List',
  171. name: '直播活动',
  172. component: './Live/LiveActivity/List',
  173. },
  174. {
  175. path: '/Live/LiveActivity/Edit',
  176. name: '编辑活动',
  177. hideInMenu: true,
  178. component: './Live/LiveActivity/Edit',
  179. },
  180. {
  181. path: '/Live/LiveActivity/add',
  182. name: '新增活动',
  183. hideInMenu: true,
  184. component: './Live/LiveActivity/add',
  185. },
  186. // {
  187. // path: '/staff/Staff/Edit',
  188. // name: '编辑员工',
  189. // hideInMenu: true,
  190. // component: './staff/Staff/Edit',
  191. // },
  192. // {
  193. // path: '/staff/Role/List',
  194. // name: '角色管理',
  195. // component: './staff/Role/List',
  196. // },
  197. // {
  198. // path: '/staff/Role/Edit',
  199. // name: '编辑角色',
  200. // hideInMenu: true,
  201. // component: './staff/Role/Edit',
  202. // },
  203. // {
  204. // path: '/staff/Organization/List',
  205. // name: '组织架构',
  206. // component: './staff/Organization',
  207. // },
  208. // {
  209. // path: '/staff/list/distribution',
  210. // name: '分配归属',
  211. // hideInMenu: true,
  212. // component: './staff/list/distribution',
  213. // },
  214. ],
  215. },
  216. {
  217. path: '/activity',
  218. name: '活动管理',
  219. component: '../layouts/BlankLayout',
  220. routes: [
  221. {
  222. path: '/activity/groupRoomActivity',
  223. name: '团房活动',
  224. component: './activity/groupRoomActivity',
  225. },
  226. {
  227. path: '/activity/groupRoomActivity/detail',
  228. name: '活动详情',
  229. hideInMenu: true,
  230. component: './activity/groupRoomActivity/detail',
  231. },
  232. {
  233. path: '/activity/groupRoomActivity/edit',
  234. name: '编辑活动',
  235. hideInMenu: true,
  236. component: './activity/groupRoomActivity/edit',
  237. },
  238. {
  239. path: '/activity/groupRoomActivity/registrationRecord',
  240. name: '报名记录',
  241. hideInMenu: true,
  242. component: './activity/groupRoomActivity/registrationRecord',
  243. },
  244. {
  245. path: '/activity/lookHouseActivity',
  246. name: '看房团',
  247. component: './activity/lookHouseActivity',
  248. },
  249. {
  250. path: '/activity/lookHouseActivity/detail',
  251. name: '活动详情',
  252. hideInMenu: true,
  253. component: './activity/lookHouseActivity/detail',
  254. },
  255. {
  256. path: '/activity/lookHouseActivity/edit',
  257. name: '编辑活动',
  258. hideInMenu: true,
  259. component: './activity/lookHouseActivity/edit',
  260. },
  261. {
  262. path: '/activity/lookHouseActivity/registrationRecord',
  263. name: '报名记录',
  264. hideInMenu: true,
  265. component: './activity/lookHouseActivity/registrationRecord',
  266. },
  267. {
  268. path: '/activity/SignupActivity',
  269. name: '报名活动',
  270. component: './activity/SignupActivity',
  271. },
  272. {
  273. path: '/activity/SignupActivity/detail',
  274. name: '活动详情',
  275. hideInMenu: true,
  276. component: './activity/SignupActivity/detail',
  277. },
  278. {
  279. path: '/activity/SignupActivity/edit',
  280. name: '编辑活动',
  281. hideInMenu: true,
  282. component: './activity/SignupActivity/edit',
  283. },
  284. {
  285. path: '/activity/SignupActivity/registrationRecord',
  286. name: '报名记录',
  287. hideInMenu: true,
  288. component: './activity/SignupActivity/registrationRecord',
  289. },
  290. // {
  291. // path: '/activity/SignupActivity',
  292. // name: '报名活动',
  293. // component: './activity/SignupActivity',
  294. // },
  295. // {
  296. // path: '/activity/SignupActivity/detail',
  297. // name: '活动详情',
  298. // hideInMenu: true,
  299. // component: './activity/SignupActivity/detail',
  300. // },
  301. // {
  302. // path: '/activity/SignupActivity/edit',
  303. // name: '编辑活动',
  304. // hideInMenu: true,
  305. // component: './activity/SignupActivity/edit',
  306. // },
  307. // {
  308. // path: '/activity/SignupActivity/registrationRecord',
  309. // name: '报名记录',
  310. // hideInMenu: true,
  311. // component: './activity/SignupActivity/registrationRecord',
  312. // },
  313. ],
  314. },
  315. {
  316. path: '/news',
  317. name: '资讯管理',
  318. component: '../layouts/BlankLayout',
  319. routes: [
  320. {
  321. path: '/news/type/NewsType',
  322. name: '资讯类型',
  323. component: './news/type/NewsType',
  324. },
  325. {
  326. path: '/news/type/editNews',
  327. name: '编辑资讯类型',
  328. hideInMenu: true,
  329. component: './news/type/editNews',
  330. },
  331. {
  332. path: '/news/list/List',
  333. name: '资讯列表',
  334. component: './news/list/List',
  335. },
  336. {
  337. path: '/news/list/Edit',
  338. name: '编辑资讯',
  339. hideInMenu: true,
  340. component: './news/list/Edit',
  341. },
  342. // {
  343. // path: '/news/list/NewsList',
  344. // name: '资讯列表',
  345. // component: './news/list/NewsList',
  346. // },
  347. // {
  348. // path: '/news/list/editNewsList',
  349. // name: '编辑资讯',
  350. // hideInMenu: true,
  351. // component: './news/list/editNewsList',
  352. // },
  353. ],
  354. },
  355. {
  356. path: '/channel',
  357. name: '渠道管理',
  358. component: '../layouts/BlankLayout',
  359. routes: [
  360. {
  361. path: '/channel/Channel/List',
  362. name: '渠道管理',
  363. component: './channel/Channel/List',
  364. },
  365. {
  366. path: '/channel/Channel/Edit',
  367. name: '编辑渠道',
  368. hideInMenu: true,
  369. component: './channel/Channel/Edit',
  370. },
  371. {
  372. path: '/channel/Agent/List',
  373. name: '经纪人',
  374. hideInMenu: true,
  375. component: './channel/Agent/List',
  376. },
  377. // {
  378. // path: '/channel/channelList',
  379. // name: '渠道管理',
  380. // component: './channel/channelList',
  381. // },
  382. {
  383. path: '/channel/addChannel',
  384. name: '添加渠道',
  385. hideInMenu: true,
  386. component: './channel/addChannel',
  387. },
  388. {
  389. path: '/channel/editChannel',
  390. name: '编辑渠道',
  391. hideInMenu: true,
  392. component: './channel/editChannel',
  393. },
  394. {
  395. path: '/channel/brokerList',
  396. name: '经纪人',
  397. hideInMenu: true,
  398. component: './channel/brokerList',
  399. },
  400. {
  401. path: '/channel/recommendClients',
  402. name: '渠道推荐',
  403. hideInMenu: true,
  404. component: './channel/recommendClients',
  405. },
  406. {
  407. path: '/channel/InviteClients',
  408. name: '邀请经纪人',
  409. hideInMenu: true,
  410. component: './channel/InviteClients',
  411. },
  412. {
  413. path: '/channel/independentList',
  414. name: '专业经纪人',
  415. component: './channel/independentList/index',
  416. },
  417. {
  418. path: '/channel/newCustomer',
  419. name: '引进注册用户',
  420. hideInMenu: true,
  421. component: './channel/newCustomer',
  422. },
  423. {
  424. path: '/channel/newCustomer/dataRecord',
  425. name: '注册用户',
  426. hideInMenu: true,
  427. component: './channel/newCustomer/dataRecord',
  428. },
  429. {
  430. path: '/channel/newCustomer/visitNum',
  431. name: '访问次数',
  432. hideInMenu: true,
  433. component: './channel/newCustomer/visitNum',
  434. },
  435. {
  436. path: '/channel/newCustomer/personNum',
  437. name: '访问人数',
  438. hideInMenu: true,
  439. component: './channel/newCustomer/personNum',
  440. },
  441. ],
  442. },
  443. {
  444. //帮我找房页面+
  445. path: '/home',
  446. name: '帮我找房',
  447. component: '../layouts/BlankLayout',
  448. routes: [
  449. {
  450. path: '/home/recommend',
  451. name: '找房需求',
  452. component: './home/recommend/index',
  453. },
  454. {
  455. path: '/home/recommend/audit',
  456. name: '回访确认',
  457. hideInMenu: true,
  458. component: './home/Recommend/audit',
  459. },
  460. {
  461. path: '/home/recommend/auditcopy',
  462. name: '回访确认',
  463. hideInMenu: true,
  464. component: './home/Recommend/auditCopy',
  465. },
  466. ],
  467. },
  468. {
  469. //我的课堂+
  470. path: '/course',
  471. name: '我的课堂',
  472. component: '../layouts/BlankLayout',
  473. routes: [
  474. {
  475. path: '/course/List',
  476. name: '课程管理',
  477. component: './course/List',
  478. },
  479. {
  480. path: '/course/Edit',
  481. name: '课程编辑',
  482. hideInMenu: true,
  483. component: './course/Edit',
  484. },
  485. ],
  486. },
  487. {
  488. path: '/carouselFigure',
  489. name: '资源位管理',
  490. component: '../layouts/BlankLayout',
  491. routes: [
  492. {
  493. path: '/carouselFigure/carouselFigureList',
  494. name: '轮播图',
  495. component: './carouselFigure/carouselFigureList',
  496. },
  497. {
  498. path: '/carouselFigure/editCarousel',
  499. name: '轮播图编辑',
  500. hideInMenu: true,
  501. component: './carouselFigure/editCarousel',
  502. },
  503. {
  504. path: '/carouselFigure/advertisingList',
  505. name: '开屏广告',
  506. component: './carouselFigure/advertisingList',
  507. },
  508. {
  509. path: '/carouselFigure/editAdvertising',
  510. name: '开屏广告编辑',
  511. hideInMenu: true,
  512. component: './carouselFigure/editAdvertising',
  513. },
  514. {
  515. path: '/carouselFigure/propagandaList',
  516. name: '宣传位',
  517. component: './carouselFigure/propagandaList',
  518. },
  519. {
  520. path: '/carouselFigure/propaganda',
  521. name: '宣传位编辑',
  522. hideInMenu: true,
  523. component: './carouselFigure/propaganda',
  524. },
  525. {
  526. path: '/carouselFigure/customImg/list',
  527. name: '其他',
  528. component: './carouselFigure/customImg/list',
  529. },
  530. {
  531. path: '/carouselFigure/customImg/edit',
  532. name: '其他编辑',
  533. hideInMenu: true,
  534. component: './carouselFigure/customImg/edit',
  535. },
  536. ],
  537. },
  538. {
  539. path: '/system',
  540. name: '系统管理',
  541. component: '../layouts/BlankLayout',
  542. routes: [
  543. {
  544. path: '/system/messageList',
  545. name: '客户留言',
  546. component: './system/messageList',
  547. },
  548. {
  549. path: '/system/report',
  550. name: '报表数据',
  551. component: './system/report',
  552. },
  553. {
  554. path: '/system/intention',
  555. name: '意向值',
  556. component: './system/intention',
  557. },
  558. //+购房百科
  559. {
  560. path: '/system/Sellhouse/index',
  561. name: '购房百科',
  562. component: './system/Sellhouse/index',
  563. },
  564. {
  565. path: '/system/houseTypes/index',
  566. name: '购房百科类型',
  567. component: './system/Sellhouse/houseTypes/index',
  568. },
  569. {
  570. path: '/system/Sellhouse/Edit',
  571. name: '新增/编辑购房百科',
  572. hideInMenu: true,
  573. component: './system/Sellhouse/Edit',
  574. },
  575. {
  576. path: '/system/Sellhouse/houseTypes/Newindex',
  577. name: '新增',
  578. hideInMenu: true,
  579. component: './system/Sellhouse/houseTypes/Newindex',
  580. },
  581. {
  582. path: '/system/housingPolicy/list',
  583. name: '购房百科',
  584. component: './system/housingPolicy/List',
  585. },
  586. {
  587. path: '/system/housingPolicy/edit',
  588. name: '购房百科编辑',
  589. hideInMenu: true,
  590. component: './system/housingPolicy/Edit',
  591. },
  592. // {
  593. // path: '/system/editPolicy',
  594. // name: '购房政策编辑',
  595. // hideInMenu: true,
  596. // component: './system/editPolicy',
  597. // },
  598. // {
  599. // path: '/system/document/list',
  600. // name: '客户资料',
  601. // component: './system/document/list',
  602. // },
  603. // {
  604. // path: '/system/document/audit',
  605. // name: '客户资料审核',
  606. // hideInMenu: true,
  607. // component: './system/document/audit',
  608. // },
  609. // {
  610. // path: '/system/MiniappTheme',
  611. // name: '小程序主题',
  612. // component: './system/MiniappTheme',
  613. // },
  614. // {
  615. // path: '/system/MiniappTheme/Detail',
  616. // name: '小程序主题编辑',
  617. // component: './system/MiniappTheme/Detail',
  618. // hideInMenu: true,
  619. // },
  620. ],
  621. },
  622. {
  623. path: '/statistical',
  624. name: '数据统计',
  625. component: '../layouts/BlankLayout',
  626. routes: [
  627. {
  628. path: '/statistical',
  629. redirect: '/statistical/monitor',
  630. },
  631. // {
  632. // path: '/statistical/monitor',
  633. // name: '数据报表',
  634. // component: './Monitor',
  635. // },
  636. {
  637. path: '/statistical/activity',
  638. name: '活动统计',
  639. component: './statistical/activity',
  640. },
  641. {
  642. path: '/statistical/activity/detail',
  643. name: '查看详情',
  644. hideInMenu: true,
  645. component: './statistical/activity/detail',
  646. },
  647. {
  648. path: '/statistical/activity/sharePersonNum',
  649. name: '分享统计',
  650. hideInMenu: true,
  651. component: './statistical/activity/sharePersonNum',
  652. },
  653. {
  654. path: '/statistical/activity/shareNum',
  655. name: '分享统计',
  656. hideInMenu: true,
  657. component: './statistical/activity/shareNum',
  658. },
  659. {
  660. path: '/statistical/activity/addRegistNum',
  661. name: '分享统计',
  662. hideInMenu: true,
  663. component: './statistical/activity/addRegistNum',
  664. },
  665. {
  666. path: '/statistical/activity/visitNum',
  667. name: '访问统计',
  668. hideInMenu: true,
  669. component: './statistical/activity/visitNum',
  670. },
  671. {
  672. path: '/statistical/activity/visitPersonNum',
  673. name: '访问统计',
  674. hideInMenu: true,
  675. component: './statistical/activity/visitPersonNum',
  676. },
  677. {
  678. path: '/statistical/building',
  679. name: '项目统计',
  680. component: './statistical/building',
  681. },
  682. {
  683. path: '/statistical/consultant',
  684. name: '置业顾问KPI',
  685. component: './statistical/consultant',
  686. },
  687. {
  688. path: '/statistical/userSource',
  689. name: '用户来源',
  690. component: './indexEcharts/userSource',
  691. hideInMenu: true,
  692. },
  693. {
  694. path: '/statistical/newUsers',
  695. name: '新增用户',
  696. component: './indexEcharts/newUsers',
  697. hideInMenu: true,
  698. },
  699. {
  700. path: '/statistical/userBehavior',
  701. name: '用户行为',
  702. component: './indexEcharts/userBehavior',
  703. hideInMenu: true,
  704. },
  705. {
  706. path: '/statistical/building/detail',
  707. name: '项目统计详情',
  708. component: './statistical/building/detail',
  709. hideInMenu: true,
  710. },
  711. {
  712. path: '/statistical/consultant/table',
  713. name: '客户总计',
  714. hideInMenu: true,
  715. component: './statistical/consultant/table',
  716. },
  717. {
  718. path: '/statistical/consultant/newPersons',
  719. name: '新增客户',
  720. hideInMenu: true,
  721. component: './statistical/consultant/table',
  722. },
  723. {
  724. path: '/statistical/consultant/sharetable',
  725. name: '分享次数',
  726. hideInMenu: true,
  727. component: './statistical/consultant/sharetable',
  728. },
  729. {
  730. path: '/statistical/consultant/visitPersons',
  731. name: '分享访问人数',
  732. hideInMenu: true,
  733. component: './statistical/consultant/visitPersons',
  734. },
  735. {
  736. path: '/statistical/consultant/visitNum',
  737. name: '分享访问次数',
  738. hideInMenu: true,
  739. component: './statistical/consultant/visitNum',
  740. },
  741. {
  742. path: '/statistical/consultant/sharePersons',
  743. name: '分享拓客',
  744. hideInMenu: true,
  745. component: './statistical/consultant/table',
  746. },
  747. {
  748. path: '/statistical/consultant/homePagePersons',
  749. name: '主页访问人数',
  750. hideInMenu: true,
  751. component: './statistical/consultant/homePagePersons',
  752. },
  753. {
  754. path: '/statistical/consultant/homepageNum',
  755. name: '主页访问次数',
  756. hideInMenu: true,
  757. component: './statistical/consultant/table',
  758. },
  759. {
  760. path: '/statistical/consultant/chatPersons',
  761. name: '咨询数',
  762. hideInMenu: true,
  763. component: './statistical/consultant/table',
  764. },
  765. {
  766. path: '/statistical/consultant/favorNum',
  767. name: '点赞数',
  768. hideInMenu: true,
  769. component: './statistical/consultant/table',
  770. },
  771. ],
  772. },
  773. {
  774. component: './404',
  775. },
  776. ],
  777. },
  778. {
  779. component: './404',
  780. },
  781. ],
  782. },
  783. {
  784. component: './404',
  785. },
  786. ];