知与行后台管理端

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585
  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: '首页',
  29. component: './Welcome',
  30. },
  31. {
  32. path: '/indexEcharts',
  33. name: '图表管理',
  34. component: '../layouts/BlankLayout',
  35. hideInMenu: true,
  36. routes: [
  37. {
  38. path: '/indexEcharts/userSource',
  39. name: '用户来源',
  40. component: './indexEcharts/userSource',
  41. },
  42. {
  43. path: '/indexEcharts/newUsers',
  44. name: '新增用户',
  45. component: './indexEcharts/newUsers',
  46. },
  47. {
  48. path: '/indexEcharts/userBehavior',
  49. name: '用户行为',
  50. component: './indexEcharts/userBehavior',
  51. },
  52. ],
  53. },
  54. {
  55. path: '/building',
  56. name: '项目管理',
  57. component: '../layouts/BlankLayout',
  58. routes: [
  59. {
  60. path: '/building/list',
  61. name: '项目列表',
  62. component: './building/list/index',
  63. },
  64. {
  65. path: '/building/list/add',
  66. name: '项目添加', // 项目添加
  67. hideInMenu: true,
  68. component: './building/list/add/index',
  69. },
  70. {
  71. path: '/building/type',
  72. name: '项目类型',
  73. component: './building/type/index',
  74. },
  75. {
  76. path: '/building/type/edi',
  77. name: '项目类型编辑',
  78. hideInMenu: true,
  79. component: './building/type/edi',
  80. },
  81. ],
  82. },
  83. {
  84. path: '/customer',
  85. name: '客户管理',
  86. component: '../layouts/BlankLayout',
  87. routes: [
  88. {
  89. path: '/customer/customerlist/list',
  90. name: '客户列表',
  91. component: './customer/customerlist/index',
  92. },
  93. {
  94. path: '/customer/customerlist/customerDetail',
  95. name: '私客详情',
  96. hideInMenu: true,
  97. component: './customer/customerlist/customerDetail',
  98. },
  99. {
  100. path: '/customer/drift/list',
  101. name: '游客列表',
  102. component: './customer/drift/index',
  103. },
  104. {
  105. path: '/customer/customerlist/publicCustomerDetail',
  106. name: '公客详情',
  107. hideInMenu: true,
  108. component: './customer/customerlist/publicCustomerDetail',
  109. },
  110. ],
  111. },
  112. {
  113. path: '/recommend',
  114. name: '推荐客户',
  115. component: '../layouts/BlankLayout',
  116. routes: [
  117. {
  118. path: '/recommend/recommendCustomer/list',
  119. name: '推荐记录',
  120. component: './recommend/recommendCustomer/index',
  121. },
  122. {
  123. path: '/recommend/recommendCustomer/audit',
  124. name: '客户审核',
  125. hideInMenu: true,
  126. component: './recommend/recommendCustomer/audit',
  127. },
  128. ],
  129. },
  130. {
  131. path: '/integralMall',
  132. name: '积分商城',
  133. component: '../layouts/BlankLayout',
  134. routes: [
  135. {
  136. path: '/integralMall/GoodsList',
  137. name: '商品列表',
  138. component: './integralMall/GoodsList',
  139. },
  140. {
  141. path: '/integralMall/achieve',
  142. name: '积分获取',
  143. component: './integralMall/achieve',
  144. },
  145. {
  146. path: '/integralMall/editAchieve',
  147. name: '积分编辑',
  148. hideInMenu: true,
  149. component: './integralMall/editAchieve',
  150. },
  151. {
  152. path: '/integralMall/editGoods',
  153. name: '商品编辑',
  154. hideInMenu: true,
  155. component: './integralMall/editGoods',
  156. },
  157. {
  158. path: '/integralMall/exchangeRecords',
  159. name: '兑换记录',
  160. component: './integralMall/exchangeRecords',
  161. },
  162. {
  163. path: '/integralMall/writeOff',
  164. name: '商品核销',
  165. component: './integralMall/writeOff',
  166. },
  167. {
  168. path: '/integralMall/verifyList',
  169. name: '商品核销列表',
  170. hideInMenu: true,
  171. component: './integralMall/verifyList',
  172. },
  173. ],
  174. },
  175. {
  176. path: '/channel',
  177. name: '渠道管理',
  178. component: '../layouts/BlankLayout',
  179. routes: [
  180. {
  181. path: '/channel/channelList',
  182. name: '渠道管理',
  183. component: './channel/channelList',
  184. },
  185. {
  186. path: '/channel/addChannel',
  187. name: '添加渠道',
  188. hideInMenu: true,
  189. component: './channel/addChannel',
  190. },
  191. {
  192. path: '/channel/editChannel',
  193. name: '编辑渠道',
  194. hideInMenu: true,
  195. component: './channel/editChannel',
  196. },
  197. {
  198. path: '/channel/brokerList',
  199. name: '经纪人',
  200. hideInMenu: true,
  201. component: './channel/brokerList',
  202. },
  203. {
  204. path: '/channel/recommendClients',
  205. name: '渠道推荐',
  206. hideInMenu: true,
  207. component: './channel/recommendClients',
  208. },
  209. {
  210. path: '/channel/InviteClients',
  211. name: '邀请经纪人',
  212. hideInMenu: true,
  213. component: './channel/InviteClients',
  214. },
  215. {
  216. path: '/channel/independentList',
  217. name: '专业经纪人',
  218. component: './channel/independentList/index',
  219. },
  220. ],
  221. },
  222. {
  223. path: '/news',
  224. name: '资讯管理',
  225. component: '../layouts/BlankLayout',
  226. routes: [
  227. {
  228. path: '/news/type/NewsType',
  229. name: '资讯类型',
  230. component: './news/type/NewsType',
  231. },
  232. {
  233. path: '/news/type/editNews',
  234. name: '编辑资讯类型',
  235. hideInMenu: true,
  236. component: './news/type/editNews',
  237. },
  238. {
  239. path: '/news/list/NewsList',
  240. name: '资讯列表',
  241. component: './news/list/NewsList',
  242. },
  243. {
  244. path: '/news/list/editNewsList',
  245. name: '编辑资讯',
  246. hideInMenu: true,
  247. component: './news/list/editNewsList',
  248. },
  249. ],
  250. },
  251. {
  252. path: '/activity',
  253. name: '活动管理',
  254. component: '../layouts/BlankLayout',
  255. routes: [
  256. {
  257. path: '/activity/ActivityList',
  258. name: '报名活动',
  259. component: './activity/ActivityList',
  260. },
  261. {
  262. path: '/activity/editActivity',
  263. name: '编辑活动',
  264. hideInMenu: true,
  265. component: './activity/editActivity',
  266. },
  267. {
  268. path: '/activity/detailActivity',
  269. name: '活动详情',
  270. hideInMenu: true,
  271. component: './activity/detailActivity',
  272. },
  273. {
  274. path: '/activity/SignList',
  275. name: '报名列表',
  276. hideInMenu: true,
  277. component: './activity/SignList',
  278. },
  279. {
  280. path: '/activity/helpActivity/list',
  281. name: '助力活动',
  282. component: './activity/helpActivity/list',
  283. },
  284. {
  285. path: '/activity/helpActivity/helpRecord',
  286. name: '助力记录',
  287. hideInMenu: true,
  288. component: './activity/helpActivity/helpRecord',
  289. },
  290. {
  291. path: '/activity/helpActivity/edithelpActivity',
  292. name: '编辑',
  293. hideInMenu: true,
  294. component: './activity/helpActivity/edithelpActivity',
  295. },
  296. {
  297. path: '/activity/helpActivity/signList',
  298. name: '助力记录',
  299. hideInMenu: true,
  300. component: './activity/helpActivity/signList',
  301. },
  302. {
  303. path: '/activity/groupActivity/list',
  304. name: '拼团活动',
  305. component: './activity/groupActivity/list',
  306. },
  307. {
  308. path: '/activity/groupActivity/helpRecord',
  309. name: '拼团记录',
  310. hideInMenu: true,
  311. component: './activity/groupActivity/helpRecord',
  312. },
  313. {
  314. path: '/activity/groupActivity/editgroupActivity',
  315. name: '新增',
  316. hideInMenu: true,
  317. component: './activity/groupActivity/editgroupActivity',
  318. },
  319. {
  320. path: '/activity/groupActivity/detailActivity',
  321. name: '活动详情',
  322. hideInMenu: true,
  323. component: './activity/groupActivity/detailActivity',
  324. },
  325. {
  326. path: '/activity/drainage/DrainageList',
  327. name: 'H5活动',
  328. component: './activity/drainage/DrainageList',
  329. },
  330. {
  331. path: '/activity/drainage/Detail',
  332. name: '查看详情',
  333. hideInMenu: true,
  334. component: './activity/drainage/Detail',
  335. },
  336. {
  337. path: '/activity/drainage/DetailDrainage',
  338. name: 'H5详情',
  339. hideInMenu: true,
  340. component: './activity/drainage/DetailDrainage',
  341. },
  342. {
  343. path: '/activity/helpActivity/detailActivity',
  344. name: '活动详情',
  345. hideInMenu: true,
  346. component: './activity/helpActivity/detailActivity',
  347. },
  348. ],
  349. },
  350. {
  351. path: '/staff',
  352. name: '员工管理',
  353. component: '../layouts/BlankLayout',
  354. routes: [
  355. {
  356. path: '/staff/StaffList',
  357. name: '员工列表',
  358. component: './staff/list/StaffList',
  359. },
  360. {
  361. path: '/staff/editStaff',
  362. name: '编辑员工',
  363. hideInMenu: true,
  364. component: './staff/list/editStaff',
  365. },
  366. {
  367. path: '/staff/RoleList',
  368. name: '角色管理',
  369. component: './staff/list/RoleList',
  370. },
  371. {
  372. path: '/staff/editRole',
  373. name: '编辑角色',
  374. hideInMenu: true,
  375. component: './staff/list/editRole',
  376. },
  377. {
  378. path: '/staff/list/addRole',
  379. name: '添加角色',
  380. hideInMenu: true,
  381. component: './staff/list/addRole',
  382. },
  383. {
  384. path: '/staff/list/distribution',
  385. name: '分配归属',
  386. hideInMenu: true,
  387. component: './staff/list/distribution',
  388. },
  389. ],
  390. },
  391. {
  392. path: '/carouselFigure',
  393. name: '资源位管理',
  394. component: '../layouts/BlankLayout',
  395. routes: [
  396. {
  397. path: '/carouselFigure/carouselFigureList',
  398. name: '轮播图',
  399. component: './carouselFigure/carouselFigureList',
  400. },
  401. {
  402. path: '/carouselFigure/editCarousel',
  403. name: '轮播图编辑',
  404. hideInMenu: true,
  405. component: './carouselFigure/editCarousel',
  406. },
  407. {
  408. path: '/carouselFigure/advertisingList',
  409. name: '开屏广告',
  410. component: './carouselFigure/advertisingList',
  411. },
  412. {
  413. path: '/carouselFigure/editAdvertising',
  414. name: '开屏广告编辑',
  415. hideInMenu: true,
  416. component: './carouselFigure/editAdvertising',
  417. },
  418. {
  419. path: '/carouselFigure/propagandaList',
  420. name: '宣传位',
  421. component: './carouselFigure/propagandaList',
  422. },
  423. {
  424. path: '/carouselFigure/propaganda',
  425. name: '宣传位编辑',
  426. hideInMenu: true,
  427. component: './carouselFigure/propaganda',
  428. },
  429. {
  430. path: '/carouselFigure/customImg/list',
  431. name: '其他',
  432. component: './carouselFigure/customImg/list',
  433. },
  434. {
  435. path: '/carouselFigure/customImg/edit',
  436. name: '其他编辑',
  437. hideInMenu: true,
  438. component: './carouselFigure/customImg/edit',
  439. },
  440. ],
  441. },
  442. {
  443. path: '/system',
  444. name: '系统管理',
  445. component: '../layouts/BlankLayout',
  446. routes: [
  447. {
  448. path: '/system/messageList',
  449. name: '客户留言',
  450. component: './system/messageList',
  451. },
  452. {
  453. path: '/system/report',
  454. name: '报表数据',
  455. component: './system/report',
  456. },
  457. {
  458. path: '/system/intention',
  459. name: '意向值',
  460. component: './system/intention',
  461. },
  462. {
  463. path: '/system/housingPolicy',
  464. name: '购房须知',
  465. component: './system/housingPolicy',
  466. },
  467. {
  468. path: '/system/editPolicy',
  469. name: '购房政策编辑',
  470. hideInMenu: true,
  471. component: './system/editPolicy',
  472. },
  473. {
  474. path: '/system/document/list',
  475. name: '客户资料',
  476. component: './system/document/list',
  477. },
  478. {
  479. path: '/system/document/audit',
  480. name: '客户资料审核',
  481. hideInMenu: true,
  482. component: './system/document/audit',
  483. },
  484. ],
  485. },
  486. {
  487. path: '/record',
  488. name: '数据记录',
  489. component: '../layouts/BlankLayout',
  490. routes: [
  491. {
  492. path: '/record/report/list',
  493. name: '报备记录',
  494. component: './record/report/index',
  495. },
  496. // {
  497. // path: '/record/drainage/DrainageVisitRecordList',
  498. // name: '分享记录',
  499. // component: './record/drainage/DrainageVisitRecordList',
  500. // },
  501. {
  502. path: '/record/share/countList',
  503. name: '销售分享统计',
  504. component: './record/share/countList',
  505. },
  506. {
  507. path: '/record/share/shareCountList',
  508. name: '分享次数列表',
  509. hideInMenu: true,
  510. component: './record/share/shareCountList',
  511. },
  512. {
  513. path: '/record/share/clickCountList',
  514. name: '点击次数列表',
  515. hideInMenu: true,
  516. component: './record/share/clickCountList',
  517. },
  518. ],
  519. },
  520. // {
  521. // path: '/house',
  522. // name: '在线选房',
  523. // component: '../layouts/BlankLayout',
  524. // routes: [
  525. // {
  526. // path: '/house/list',
  527. // name: '房源管理',
  528. // component: './house/list/index',
  529. // },
  530. // {
  531. // path: '/house/add',
  532. // name: '新增',
  533. // hideInMenu: true,
  534. // component: './house/add/index',
  535. // },
  536. // {
  537. // path: '/house/batch',
  538. // name: '批量上传',
  539. // hideInMenu: true,
  540. // component: './house/add/HouseBatchAdd',
  541. // },
  542. // {
  543. // path: '/house/edit',
  544. // name: '编辑',
  545. // hideInMenu: true,
  546. // component: './house/edit/index',
  547. // },
  548. // ],
  549. // },
  550. // {
  551. // path: '/miniapp',
  552. // name: '小程序管理',
  553. // component: '../layouts/BlankLayout',
  554. // routes: [
  555. // {
  556. // path: '/miniapp/menuList',
  557. // name: '首页菜单管理',
  558. // component: './miniapp/menuList',
  559. // },
  560. // {
  561. // path: '/miniapp/editIcons',
  562. // name: '首页菜单编辑',
  563. // hideInMenu: true,
  564. // component: './miniapp/editIcons',
  565. // },
  566. // ],
  567. // },
  568. {
  569. component: './404',
  570. },
  571. ],
  572. },
  573. {
  574. component: './404',
  575. },
  576. ],
  577. },
  578. {
  579. component: './404',
  580. },
  581. ];