知与行后台管理端

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489
  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/report/list',
  106. name: '报备客户',
  107. component: './customer/report/index',
  108. },
  109. {
  110. path: '/customer/recommendCustomer/list',
  111. name: '推荐客户',
  112. component: './customer/recommendCustomer/index',
  113. },
  114. {
  115. path: '/customer/recommendCustomer/audit',
  116. name: '客户审核',
  117. hideInMenu: true,
  118. component: './customer/recommendCustomer/audit',
  119. },
  120. {
  121. path: '/customer/independentList',
  122. name: '专业经纪人',
  123. component: './customer/independentList/index',
  124. },
  125. {
  126. path: '/customer/visiting',
  127. name: '到访记录',
  128. component: './customer/visiting/index',
  129. },
  130. {
  131. path: '/customer/customerlist/publicCustomerDetail',
  132. name: '公客详情',
  133. hideInMenu: true,
  134. component: './customer/customerlist/publicCustomerDetail',
  135. },
  136. ],
  137. },
  138. {
  139. path: '/integralMall',
  140. name: '积分商城',
  141. component: '../layouts/BlankLayout',
  142. routes: [
  143. {
  144. path: '/integralMall/GoodsList',
  145. name: '商品列表',
  146. component: './integralMall/GoodsList',
  147. },
  148. {
  149. path: '/integralMall/achieve',
  150. name: '积分获取',
  151. component: './integralMall/achieve',
  152. },
  153. {
  154. path: '/integralMall/editAchieve',
  155. name: '积分编辑',
  156. hideInMenu: true,
  157. component: './integralMall/editAchieve',
  158. },
  159. {
  160. path: '/integralMall/editGoods',
  161. name: '商品编辑',
  162. hideInMenu: true,
  163. component: './integralMall/editGoods',
  164. },
  165. {
  166. path: '/integralMall/exchangeRecords',
  167. name: '兑换记录',
  168. component: './integralMall/exchangeRecords',
  169. },
  170. {
  171. path: '/integralMall/writeOff',
  172. name: '商品核销',
  173. component: './integralMall/writeOff',
  174. },
  175. {
  176. path: '/integralMall/verifyList',
  177. name: '商品核销列表',
  178. hideInMenu: true,
  179. component: './integralMall/verifyList',
  180. },
  181. ],
  182. },
  183. {
  184. path: '/channel',
  185. name: '渠道管理',
  186. component: '../layouts/BlankLayout',
  187. routes: [
  188. {
  189. path: '/channel/channelList',
  190. name: '渠道管理',
  191. component: './channel/channelList',
  192. },
  193. {
  194. path: '/channel/addChannel',
  195. name: '添加渠道',
  196. hideInMenu: true,
  197. component: './channel/addChannel',
  198. },
  199. {
  200. path: '/channel/editChannel',
  201. name: '编辑渠道',
  202. hideInMenu: true,
  203. component: './channel/editChannel',
  204. },
  205. {
  206. path: '/channel/brokerList',
  207. name: '经纪人',
  208. hideInMenu: true,
  209. component: './channel/brokerList',
  210. },
  211. {
  212. path: '/channel/recommendClients',
  213. name: '渠道推荐',
  214. hideInMenu: true,
  215. component: './channel/recommendClients',
  216. },
  217. {
  218. path: '/channel/InviteClients',
  219. name: '邀请经纪人',
  220. hideInMenu: true,
  221. component: './channel/InviteClients',
  222. },
  223. ],
  224. },
  225. {
  226. path: '/news',
  227. name: '资讯管理',
  228. component: '../layouts/BlankLayout',
  229. routes: [
  230. {
  231. path: '/news/type/NewsType',
  232. name: '资讯类型',
  233. component: './news/type/NewsType',
  234. },
  235. {
  236. path: '/news/type/editNews',
  237. name: '编辑资讯类型',
  238. hideInMenu: true,
  239. component: './news/type/editNews',
  240. },
  241. {
  242. path: '/news/list/NewsList',
  243. name: '资讯列表',
  244. component: './news/list/NewsList',
  245. },
  246. {
  247. path: '/news/list/editNewsList',
  248. name: '编辑资讯',
  249. hideInMenu: true,
  250. component: './news/list/editNewsList',
  251. },
  252. ],
  253. },
  254. {
  255. path: '/activity',
  256. name: '活动管理',
  257. component: '../layouts/BlankLayout',
  258. routes: [
  259. {
  260. path: '/activity/ActivityList',
  261. name: '报名活动',
  262. component: './activity/ActivityList',
  263. },
  264. {
  265. path: '/activity/editActivity',
  266. name: '编辑活动',
  267. hideInMenu: true,
  268. component: './activity/editActivity',
  269. },
  270. {
  271. path: '/activity/detailActivity',
  272. name: '活动详情',
  273. hideInMenu: true,
  274. component: './activity/detailActivity',
  275. },
  276. {
  277. path: '/activity/SignList',
  278. name: '报名列表',
  279. hideInMenu: true,
  280. component: './activity/SignList',
  281. },
  282. {
  283. path: '/activity/helpActivity/list',
  284. name: '助力活动',
  285. component: './activity/helpActivity/list',
  286. },
  287. {
  288. path: '/activity/helpActivity/helpRecord',
  289. name: '助力记录',
  290. hideInMenu: true,
  291. component: './activity/helpActivity/helpRecord',
  292. },
  293. {
  294. path: '/activity/helpActivity/edithelpActivity',
  295. name: '编辑',
  296. hideInMenu: true,
  297. component: './activity/helpActivity/edithelpActivity',
  298. },
  299. {
  300. path: '/activity/helpActivity/signList',
  301. name: '报名列表',
  302. hideInMenu: true,
  303. component: './activity/helpActivity/signList',
  304. },
  305. {
  306. path: '/activity/groupActivity/list',
  307. name: '拼团活动',
  308. component: './activity/groupActivity/list',
  309. },
  310. {
  311. path: '/activity/groupActivity/helpRecord',
  312. name: '拼团记录',
  313. hideInMenu: true,
  314. component: './activity/groupActivity/helpRecord',
  315. },
  316. {
  317. path: '/activity/groupActivity/editgroupActivity',
  318. name: '新增',
  319. hideInMenu: true,
  320. component: './activity/groupActivity/editgroupActivity',
  321. },
  322. {
  323. path: '/activity/groupActivity/detailActivity',
  324. name: '活动详情',
  325. hideInMenu: true,
  326. component: './activity/groupActivity/detailActivity',
  327. },
  328. {
  329. path: '/activity/drainage/DrainageList',
  330. name: 'H5活动',
  331. component: './activity/drainage/DrainageList',
  332. },
  333. {
  334. path: '/activity/drainage/DrainageVisitRecordList',
  335. name: 'H5访问记录',
  336. component: './activity/drainage/DrainageVisitRecordList',
  337. },
  338. {
  339. path: '/activity/drainage/Detail',
  340. name: '查看详情',
  341. hideInMenu: true,
  342. component: './activity/drainage/Detail',
  343. },
  344. {
  345. path: '/activity/drainage/DetailDrainage',
  346. name: 'H5详情',
  347. hideInMenu: true,
  348. component: './activity/drainage/DetailDrainage',
  349. },
  350. {
  351. path: '/activity/helpActivity/detailActivity',
  352. name: '活动详情',
  353. hideInMenu: true,
  354. component: './activity/helpActivity/detailActivity',
  355. },
  356. ],
  357. },
  358. {
  359. path: '/staff',
  360. name: '员工管理',
  361. component: '../layouts/BlankLayout',
  362. routes: [
  363. {
  364. path: '/staff/StaffList',
  365. name: '员工列表',
  366. component: './staff/list/StaffList',
  367. },
  368. {
  369. path: '/staff/editStaff',
  370. name: '编辑员工',
  371. hideInMenu: true,
  372. component: './staff/list/editStaff',
  373. },
  374. {
  375. path: '/staff/RoleList',
  376. name: '角色管理',
  377. component: './staff/list/RoleList',
  378. },
  379. {
  380. path: '/staff/editRole',
  381. name: '编辑角色',
  382. hideInMenu: true,
  383. component: './staff/list/editRole',
  384. },
  385. {
  386. path: '/staff/list/addRole',
  387. name: '添加角色',
  388. hideInMenu: true,
  389. component: './staff/list/addRole',
  390. },
  391. {
  392. path: '/staff/list/distribution',
  393. name: '分配归属',
  394. hideInMenu: true,
  395. component: './staff/list/distribution',
  396. },
  397. ],
  398. },
  399. {
  400. path: '/carouselFigure',
  401. name: '轮播图管理',
  402. component: '../layouts/BlankLayout',
  403. routes: [
  404. {
  405. path: '/carouselFigure/carouselFigureList',
  406. name: '轮播图',
  407. component: './carouselFigure/carouselFigureList',
  408. },
  409. {
  410. path: '/carouselFigure/editCarousel',
  411. name: '轮播图编辑',
  412. hideInMenu: true,
  413. component: './carouselFigure/editCarousel',
  414. },
  415. {
  416. path: '/carouselFigure/advertisingList',
  417. name: '开屏广告',
  418. component: './carouselFigure/advertisingList',
  419. },
  420. {
  421. path: '/carouselFigure/editAdvertising',
  422. name: '开屏广告编辑',
  423. hideInMenu: true,
  424. component: './carouselFigure/editAdvertising',
  425. },
  426. ],
  427. },
  428. {
  429. path: '/system',
  430. name: '系统管理',
  431. component: '../layouts/BlankLayout',
  432. routes: [
  433. {
  434. path: '/system/messageList',
  435. name: '客户留言',
  436. component: './system/messageList',
  437. },
  438. {
  439. path: '/system/report',
  440. name: '报表数据',
  441. component: './system/report',
  442. },
  443. {
  444. path: '/system/intention',
  445. name: '意向值',
  446. component: './system/intention',
  447. },
  448. {
  449. path: '/system/housingPolicy',
  450. name: '购房政策',
  451. component: './system/housingPolicy',
  452. },
  453. {
  454. path: '/system/editPolicy',
  455. name: '购房政策编辑',
  456. hideInMenu: true,
  457. component: './system/editPolicy',
  458. },
  459. {
  460. path: '/system/document/list',
  461. name: '客户资料',
  462. component: './system/document/list',
  463. },
  464. {
  465. path: '/system/document/audit',
  466. name: '客户资料审核',
  467. hideInMenu: true,
  468. component: './system/document/audit',
  469. },
  470. ],
  471. },
  472. {
  473. component: './404',
  474. },
  475. ],
  476. },
  477. {
  478. component: './404',
  479. },
  480. ],
  481. },
  482. {
  483. component: './404',
  484. },
  485. ];