routes.js 42KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240
  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. routes: [
  21. {
  22. path: '/',
  23. redirect: '/index',
  24. },
  25. {
  26. path: '/index',
  27. name: '首页',
  28. component: './dashboard',
  29. },
  30. // {
  31. // path: '/',
  32. // redirect: '/welcome',
  33. // },
  34. // {
  35. // path: '/welcome',
  36. // name: '首页',
  37. // component: './Welcome',
  38. // },
  39. // {
  40. // path: '/building',
  41. // name: '项目管理',
  42. // component: '../layouts/BlankLayout',
  43. // routes: [
  44. // {
  45. // path: '/building/list',
  46. // name: '项目列表',
  47. // component: './building/list/index',
  48. // },
  49. // {
  50. // path: '/building/list/add',
  51. // name: '项目添加', // 项目添加
  52. // hideInMenu: true,
  53. // component: './building/list/add/index',
  54. // },
  55. // {
  56. // path: '/building/type',
  57. // name: '项目类型',
  58. // component: './building/type/index',
  59. // },
  60. // {
  61. // path: '/building/type/edi',
  62. // name: '项目类型编辑',
  63. // hideInMenu: true,
  64. // component: './building/type/edi',
  65. // },
  66. // ],
  67. // },
  68. {
  69. path: '/property',
  70. name: '物业管理',
  71. component: '../layouts/BlankLayout',
  72. routes: [
  73. {
  74. path: 'community',
  75. name: '社区管理',
  76. component: './property/community'
  77. },
  78. {
  79. path: 'buildingInfo',
  80. name: '楼栋管理',
  81. component: './property/building/list'
  82. },
  83. {
  84. path: 'buildingInfo/importExcel',
  85. name: '楼栋导入',
  86. component: './property/building/BatchImport',
  87. hideInMenu: true,
  88. },
  89. {
  90. path: 'proprietor',
  91. name: '业主管理',
  92. component: './property/proprietor'
  93. },
  94. {
  95. path: 'proprietor/add',
  96. name: '增加业主',
  97. component: './property/proprietor/Add',
  98. hideInMenu: true,
  99. },
  100. {
  101. path: 'proprietor/detail',
  102. name: '业主详情',
  103. component: './property/proprietor/Detail',
  104. hideInMenu: true,
  105. },
  106. {
  107. path: 'proprietor/audit',
  108. name: '资料审核',
  109. component: './property/proprietor/Audit',
  110. },
  111. {
  112. path: 'proprietor/batch',
  113. name: '业主导入',
  114. component: './property/proprietor/BatchImport',
  115. hideInMenu: true,
  116. },
  117. {
  118. path: 'notice',
  119. name: '公告管理',
  120. component: './property/notice'
  121. },
  122. {
  123. path: 'notice/edit',
  124. name: '公告管理详情',
  125. component: './property/notice/Edit',
  126. hideInMenu: true,
  127. },
  128. {
  129. path: 'news-type',
  130. name: '服务分类',
  131. component: './property/news/type/NewsType'
  132. },
  133. {
  134. path: 'news-type/edit',
  135. name: '服务内容详情',
  136. component: './property/news/type/editNews',
  137. hideInMenu: true,
  138. },
  139. {
  140. path: 'news',
  141. name: '服务内容',
  142. component: './property/news'
  143. },
  144. {
  145. path: 'news/edit',
  146. name: '服务内容详情',
  147. component: './property/news/Edit',
  148. hideInMenu: true,
  149. },
  150. {
  151. path: 'public-service',
  152. name: '公共服务',
  153. component: './property/contact/PublicServ'
  154. },
  155. {
  156. path: 'bill/management',
  157. name: '收费管理',
  158. component: './property/bill/list',
  159. },
  160. {
  161. path: 'bill/management/add',
  162. name: '新增收费项目',
  163. component: './property/bill/edit',
  164. hideInMenu: true,
  165. },
  166. {
  167. path: 'bill/management/info',
  168. name: '收费详情',
  169. component: './property/bill/info',
  170. hideInMenu: true,
  171. },
  172. {
  173. path: 'bill/management/info/add',
  174. name: '新增收费',
  175. component: './property/bill/info/Add',
  176. hideInMenu: true,
  177. },
  178. {
  179. path: 'bill/order',
  180. name: '订单管理',
  181. component: './property/bill/order',
  182. },
  183. {
  184. path: 'bill/order/info',
  185. name: '订单信息',
  186. component: './property/bill/order/Info',
  187. hideInMenu: true,
  188. },
  189. {
  190. path: 'repair-type',
  191. name: '工单分类',
  192. component: './property/ticket/type',
  193. },
  194. {
  195. path: 'repair-type/edit',
  196. name: '分类详情',
  197. component: './property/ticket/type/Editor',
  198. hideInMenu: true,
  199. },
  200. {
  201. path: 'ticket',
  202. name: '工单管理',
  203. component: './property/ticket',
  204. },
  205. {
  206. path: 'ticket/detail',
  207. name: '工单详情',
  208. component: './property/ticket/Detail',
  209. hideInMenu: true,
  210. },
  211. {
  212. path: 'contact',
  213. name: '联系物业',
  214. component: './property/contact'
  215. },
  216. {
  217. path: 'life-consultant',
  218. name: '管家评分',
  219. component: './property/lifeConsultant'
  220. },
  221. {
  222. path: 'life-consultant/score',
  223. name: '打分详情',
  224. component: './property/lifeConsultant/Score',
  225. hideInMenu: true,
  226. },
  227. {
  228. path: 'message-event',
  229. name: '消息推送',
  230. component: './property/message/event'
  231. },
  232. ]
  233. },
  234. {
  235. path: '/customer',
  236. name: '会员管理',
  237. component: '../layouts/BlankLayout',
  238. routes: [
  239. {
  240. path: '/customer/personlist',
  241. name: '会员列表',
  242. component: './customer/personlist/index',
  243. },
  244. {
  245. path: '/customer/customerlist/customerDetail',
  246. name: '私客详情',
  247. hideInMenu: true,
  248. component: './customer/customerlist/customerDetail',
  249. },
  250. // {
  251. // path: '/customer/drift/list',
  252. // name: '游客列表',
  253. // component: './customer/drift/index',
  254. // },
  255. {
  256. path: '/customer/customerlist/publicCustomerDetail',
  257. name: '公客详情',
  258. hideInMenu: true,
  259. component: './customer/customerlist/publicCustomerDetail',
  260. },
  261. ],
  262. },
  263. // {
  264. // path: '/recommend',
  265. // name: '推荐客户',
  266. // component: '../layouts/BlankLayout',
  267. // routes: [
  268. // {
  269. // path: '/recommend/recommendCustomer/list',
  270. // name: '推荐记录',
  271. // component: './recommend/recommendCustomer/index',
  272. // },
  273. // {
  274. // path: '/recommend/recommendCustomer/audit',
  275. // name: '客户审核',
  276. // hideInMenu: true,
  277. // component: './recommend/recommendCustomer/audit',
  278. // },
  279. // ],
  280. // },
  281. {
  282. path: '/integralMall',
  283. name: '积分商城',
  284. component: '../layouts/BlankLayout',
  285. routes: [
  286. {
  287. path: '/integralMall/GoodsList',
  288. name: '商品列表',
  289. component: './integralMall/GoodsList',
  290. },
  291. {
  292. path: '/integralMall/achieve',
  293. name: '积分获取',
  294. component: './integralMall/achieve',
  295. },
  296. {
  297. path: '/integralMall/editAchieve',
  298. name: '积分编辑',
  299. hideInMenu: true,
  300. component: './integralMall/editAchieve',
  301. },
  302. {
  303. path: '/integralMall/editGoods',
  304. name: '商品编辑',
  305. hideInMenu: true,
  306. component: './integralMall/editGoods',
  307. },
  308. {
  309. path: '/integralMall/exchangeRecords',
  310. name: '兑换记录',
  311. component: './integralMall/exchangeRecords',
  312. },
  313. {
  314. path: '/integralMall/writeOff',
  315. name: '商品核销',
  316. component: './integralMall/writeOff',
  317. },
  318. {
  319. path: '/integralMall/verifyList',
  320. name: '商品核销列表',
  321. hideInMenu: true,
  322. component: './integralMall/verifyList',
  323. },
  324. ],
  325. },
  326. // {
  327. // path: '/shop',
  328. // name: '商户管理',
  329. // component: '../layouts/BlankLayout',
  330. // routes: [
  331. // {
  332. // path: '/shop/banner',
  333. // name: '联盟商城banner',
  334. // component: './shop/banner',
  335. // },
  336. // {
  337. // path: '/shop/type',
  338. // name: '分类列表',
  339. // component: './shop/type/index',
  340. // },
  341. // {
  342. // path: '/shop/type/detail',
  343. // name: '分类详情',
  344. // hideInMenu: true,
  345. // component: './shop/type/detail',
  346. // },
  347. // {
  348. // path: '/shop/list',
  349. // name: '商户列表',
  350. // component: './shop/index',
  351. // },
  352. // {
  353. // path: '/shop/detail',
  354. // name: '商户详情',
  355. // hideInMenu: true,
  356. // component: './shop/detail',
  357. // },
  358. // ]
  359. // },
  360. {
  361. path: '/channel',
  362. name: '渠道管理',
  363. component: '../layouts/BlankLayout',
  364. routes: [
  365. {
  366. path: '/channel/channelList',
  367. name: '渠道管理',
  368. component: './channel/channelList',
  369. },
  370. {
  371. path: '/channel/addChannel',
  372. name: '添加渠道',
  373. hideInMenu: true,
  374. component: './channel/addChannel',
  375. },
  376. {
  377. path: '/channel/editChannel',
  378. name: '编辑渠道',
  379. hideInMenu: true,
  380. component: './channel/editChannel',
  381. },
  382. {
  383. path: '/channel/brokerList',
  384. name: '经纪人',
  385. hideInMenu: true,
  386. component: './channel/brokerList',
  387. },
  388. {
  389. path: '/channel/recommendClients',
  390. name: '渠道推荐',
  391. hideInMenu: true,
  392. component: './channel/recommendClients',
  393. },
  394. {
  395. path: '/channel/InviteClients',
  396. name: '邀请经纪人',
  397. hideInMenu: true,
  398. component: './channel/InviteClients',
  399. },
  400. {
  401. path: '/channel/independentList',
  402. name: '专业经纪人',
  403. component: './channel/independentList/index',
  404. },
  405. {
  406. path: '/channel/newCustomer',
  407. name: '引进注册用户',
  408. hideInMenu: true,
  409. component: './channel/newCustomer',
  410. },
  411. {
  412. path: '/channel/newCustomer/dataRecord',
  413. name: '注册用户',
  414. hideInMenu: true,
  415. component: './channel/newCustomer/dataRecord',
  416. },
  417. {
  418. path: '/channel/newCustomer/visitNum',
  419. name: '访问次数',
  420. hideInMenu: true,
  421. component: './channel/newCustomer/visitNum',
  422. },
  423. {
  424. path: '/channel/newCustomer/personNum',
  425. name: '访问人数',
  426. hideInMenu: true,
  427. component: './channel/newCustomer/personNum',
  428. },
  429. ],
  430. },
  431. {
  432. path: '/news',
  433. name: '资讯管理',
  434. component: '../layouts/BlankLayout',
  435. routes: [
  436. {
  437. path: '/news/type/NewsType',
  438. name: '资讯类型',
  439. component: './news/type/NewsType',
  440. },
  441. {
  442. path: '/news/type/editNews',
  443. name: '编辑资讯类型',
  444. hideInMenu: true,
  445. component: './news/type/editNews',
  446. },
  447. {
  448. path: '/news/list/NewsList',
  449. name: '资讯列表',
  450. component: './news/list/NewsList',
  451. },
  452. {
  453. path: '/news/list/editNewsList',
  454. name: '编辑资讯',
  455. hideInMenu: true,
  456. component: './news/list/editNewsList',
  457. },
  458. ],
  459. },
  460. {
  461. path: '/activity',
  462. name: '活动管理',
  463. component: '../layouts/BlankLayout',
  464. routes: [
  465. {
  466. path: '/activity/ActivityList',
  467. name: '报名活动',
  468. component: './activity/ActivityList',
  469. },
  470. {
  471. path: '/activity/ActivityTypeList',
  472. name: '活动类型',
  473. component: './activity/type/ActivityTypeList',
  474. },
  475. {
  476. path: '/activity/editActivityType',
  477. name: '编辑活动',
  478. hideInMenu: true,
  479. component: './activity/type/editActivityType',
  480. },
  481. {
  482. path: '/activity/editActivity',
  483. name: '编辑活动',
  484. hideInMenu: true,
  485. component: './activity/editActivity',
  486. },
  487. {
  488. path: '/activity/detailActivity',
  489. name: '活动详情',
  490. hideInMenu: true,
  491. component: './activity/detailActivity',
  492. },
  493. {
  494. path: '/activity/SignList',
  495. name: '报名列表',
  496. hideInMenu: true,
  497. component: './activity/SignList',
  498. },
  499. {
  500. path: '/activity/activityRecord',
  501. name: '数据记录',
  502. hideInMenu: true,
  503. component: './activity/activityRecord',
  504. },
  505. // {
  506. // path: '/activity/helpActivity/list',
  507. // name: '助力活动',
  508. // component: './activity/helpActivity/list',
  509. // },
  510. {
  511. path: '/activity/helpActivity/helpRecord',
  512. name: '助力记录',
  513. hideInMenu: true,
  514. component: './activity/helpActivity/helpRecord',
  515. },
  516. {
  517. path: '/activity/helpActivity/edithelpActivity',
  518. name: '编辑',
  519. hideInMenu: true,
  520. component: './activity/helpActivity/edithelpActivity',
  521. },
  522. {
  523. path: '/activity/helpActivity/signList',
  524. name: '助力记录',
  525. hideInMenu: true,
  526. component: './activity/helpActivity/signList',
  527. },
  528. {
  529. path: '/activity/helpActivity/helpActivityRecord',
  530. name: '数据记录',
  531. hideInMenu: true,
  532. component: './activity/helpActivity/helpActivityRecord',
  533. },
  534. // {
  535. // path: '/activity/groupActivity/list',
  536. // name: '拼团活动',
  537. // component: './activity/groupActivity/list',
  538. // },
  539. {
  540. path: '/activity/groupActivity/helpRecord',
  541. name: '拼团记录',
  542. hideInMenu: true,
  543. component: './activity/groupActivity/helpRecord',
  544. },
  545. {
  546. path: '/activity/groupActivity/editgroupActivity',
  547. name: '新增',
  548. hideInMenu: true,
  549. component: './activity/groupActivity/editgroupActivity',
  550. },
  551. {
  552. path: '/activity/groupActivity/detailActivity',
  553. name: '活动详情',
  554. hideInMenu: true,
  555. component: './activity/groupActivity/detailActivity',
  556. },
  557. {
  558. path: '/activity/groupActivity/groupActivityRecord',
  559. name: '数据记录',
  560. hideInMenu: true,
  561. component: './activity/groupActivity/groupActivityRecord',
  562. },
  563. // {
  564. // path: '/activity/drainage/DrainageList',
  565. // name: 'H5活动',
  566. // component: './activity/drainage/DrainageList',
  567. // },
  568. {
  569. path: '/activity/drainage/Detail',
  570. name: '查看详情',
  571. hideInMenu: true,
  572. component: './activity/drainage/Detail',
  573. },
  574. {
  575. path: '/activity/drainage/DetailDrainage',
  576. name: 'H5详情',
  577. hideInMenu: true,
  578. component: './activity/drainage/DetailDrainage',
  579. },
  580. {
  581. path: '/activity/drainage/h5edit',
  582. name: 'H5详情',
  583. hideInMenu: true,
  584. component: './activity/drainage/h5edit',
  585. },
  586. {
  587. path: '/activity/helpActivity/detailActivity',
  588. name: '活动详情',
  589. hideInMenu: true,
  590. component: './activity/helpActivity/detailActivity',
  591. },
  592. {
  593. path: '/activity/drainage/drainageRecord',
  594. name: '数据记录',
  595. hideInMenu: true,
  596. component: './activity/drainage/drainageRecord',
  597. },
  598. {
  599. path: '/activity/liveActivity/list/index',
  600. name: '直播活动',
  601. component: './activity/liveActivity/list/index',
  602. },
  603. {
  604. path: '/activity/liveActivity/add',
  605. name: '新增',
  606. hideInMenu: true,
  607. component: './activity/liveActivity/add',
  608. },
  609. {
  610. path: '/activity/liveActivity/edit',
  611. name: '编辑',
  612. hideInMenu: true,
  613. component: './activity/liveActivity/edit',
  614. },
  615. {
  616. path: '/activity/liveActivity/liveActivityRecord',
  617. name: '数据记录',
  618. hideInMenu: true,
  619. component: './activity/liveActivity/list/liveActivityRecord',
  620. },
  621. ],
  622. },
  623. {
  624. path: '/staff',
  625. name: '员工管理',
  626. component: '../layouts/BlankLayout',
  627. routes: [
  628. {
  629. path: '/staff/StaffList',
  630. name: '员工列表',
  631. component: './staff/list/StaffList',
  632. },
  633. {
  634. path: '/staff/editStaff',
  635. name: '编辑员工',
  636. hideInMenu: true,
  637. component: './staff/list/editStaff',
  638. },
  639. {
  640. path: '/staff/RoleList',
  641. name: '角色管理',
  642. component: './staff/list/RoleList',
  643. },
  644. {
  645. path: '/staff/editRole',
  646. name: '编辑角色',
  647. hideInMenu: true,
  648. component: './staff/list/editRole',
  649. },
  650. {
  651. path: '/staff/list/addRole',
  652. name: '添加角色',
  653. hideInMenu: true,
  654. component: './staff/list/addRole',
  655. },
  656. {
  657. path: '/staff/list/distribution',
  658. name: '分配归属',
  659. hideInMenu: true,
  660. component: './staff/list/distribution',
  661. },
  662. ],
  663. },
  664. {
  665. path: '/carouselFigure',
  666. name: '资源位管理',
  667. component: '../layouts/BlankLayout',
  668. routes: [
  669. {
  670. path: '/carouselFigure/carouselFigureList',
  671. name: '轮播图',
  672. component: './carouselFigure/carouselFigureList',
  673. },
  674. {
  675. path: '/carouselFigure/editCarousel',
  676. name: '轮播图编辑',
  677. hideInMenu: true,
  678. component: './carouselFigure/editCarousel',
  679. },
  680. {
  681. path: '/carouselFigure/advertisingList',
  682. name: '开屏广告',
  683. component: './carouselFigure/advertisingList',
  684. },
  685. {
  686. path: '/carouselFigure/editAdvertising',
  687. name: '开屏广告编辑',
  688. hideInMenu: true,
  689. component: './carouselFigure/editAdvertising',
  690. },
  691. {
  692. path: '/carouselFigure/propagandaList',
  693. name: '宣传位',
  694. component: './carouselFigure/propagandaList',
  695. },
  696. {
  697. path: '/carouselFigure/propaganda',
  698. name: '宣传位编辑',
  699. hideInMenu: true,
  700. component: './carouselFigure/propaganda',
  701. },
  702. // {
  703. // path: '/carouselFigure/customImg/list',
  704. // name: '其他',
  705. // component: './carouselFigure/customImg/list',
  706. // },
  707. {
  708. path: '/carouselFigure/customImg/edit',
  709. name: '其他编辑',
  710. hideInMenu: true,
  711. component: './carouselFigure/customImg/edit',
  712. },
  713. ],
  714. },
  715. {
  716. path: '/system',
  717. name: '系统管理',
  718. component: '../layouts/BlankLayout',
  719. routes: [
  720. {
  721. path: 'mp-setting',
  722. name: '公众号设置',
  723. component: './mpSetting'
  724. },
  725. // {
  726. // path: '/system/person-level-setting',
  727. // name: '用户等级',
  728. // component: './system/personLevelSetting'
  729. // },
  730. // {
  731. // path: '/system/person-level-setting/detail',
  732. // name: '等级详情',
  733. // component: './system/personLevelSetting/detail',
  734. // hideInMenu: true,
  735. // },
  736. // {
  737. // path: '/system/messageList',
  738. // name: '客户留言',
  739. // component: './system/messageList',
  740. // },
  741. // {
  742. // path: '/system/report',
  743. // name: '报表数据',
  744. // component: './system/report',
  745. // },
  746. // {
  747. // path: '/system/intention',
  748. // name: '意向值',
  749. // component: './system/intention',
  750. // },
  751. // {
  752. // path: '/system/housingPolicy',
  753. // name: '购房须知',
  754. // component: './system/housingPolicy',
  755. // },
  756. // {
  757. // path: '/system/editPolicy',
  758. // name: '购房政策编辑',
  759. // hideInMenu: true,
  760. // component: './system/editPolicy',
  761. // },
  762. // {
  763. // path: '/system/document/list',
  764. // name: '客户资料',
  765. // component: './system/document/list',
  766. // },
  767. // {
  768. // path: '/system/document/audit',
  769. // name: '客户资料审核',
  770. // hideInMenu: true,
  771. // component: './system/document/audit',
  772. // },
  773. // {
  774. // path: '/system/MiniappTheme',
  775. // name: '小程序主题',
  776. // component: './system/MiniappTheme',
  777. // },
  778. // {
  779. // path: '/system/MiniappTheme/Detail',
  780. // name: '小程序主题编辑',
  781. // component: './system/MiniappTheme/Detail',
  782. // hideInMenu: true,
  783. // },
  784. ],
  785. },
  786. {
  787. path: '/record',
  788. name: '数据记录',
  789. component: '../layouts/BlankLayout',
  790. routes: [
  791. {
  792. path: '/record/report/list',
  793. name: '报备记录',
  794. component: './record/report/index',
  795. },
  796. {
  797. path: '/record/drainage/DrainageVisitRecordList',
  798. name: '分享记录',
  799. component: './record/drainage/DrainageVisitRecordList',
  800. },
  801. {
  802. path: '/record/share/countList',
  803. name: '销售分享统计',
  804. component: './record/share/countList',
  805. },
  806. {
  807. path: '/record/share/shareCountList',
  808. name: '分享次数列表',
  809. hideInMenu: true,
  810. component: './record/share/shareCountList',
  811. },
  812. {
  813. path: '/record/share/clickCountList',
  814. name: '点击次数列表',
  815. hideInMenu: true,
  816. component: './record/share/clickCountList',
  817. },
  818. ],
  819. },
  820. {
  821. path: '/statistical',
  822. name: '数据统计',
  823. component: '../layouts/BlankLayout',
  824. routes: [
  825. {
  826. path: '/statistical',
  827. redirect: '/statistical/monitor',
  828. },
  829. {
  830. path: '/statistical/monitor',
  831. name: '数据报表',
  832. component: './Monitor',
  833. },
  834. {
  835. path: '/statistical/activity',
  836. name: '活动统计',
  837. component: './statistical/activity'
  838. },
  839. {
  840. path: '/statistical/activity/detail',
  841. name: '查看详情',
  842. hideInMenu: true,
  843. component: './statistical/activity/detail'
  844. },
  845. {
  846. path: '/statistical/activity/sharePersonNum',
  847. name: '分享统计',
  848. hideInMenu: true,
  849. component: './statistical/activity/sharePersonNum',
  850. },
  851. {
  852. path: '/statistical/activity/shareNum',
  853. name: '分享统计',
  854. hideInMenu: true,
  855. component: './statistical/activity/shareNum',
  856. },
  857. {
  858. path: '/statistical/activity/addRegistNum',
  859. name: '分享统计',
  860. hideInMenu: true,
  861. component: './statistical/activity/addRegistNum',
  862. },
  863. {
  864. path: '/statistical/activity/visitNum',
  865. name: '访问统计',
  866. hideInMenu: true,
  867. component: './statistical/activity/visitNum',
  868. },
  869. {
  870. path: '/statistical/activity/visitPersonNum',
  871. name: '访问统计',
  872. hideInMenu: true,
  873. component: './statistical/activity/visitPersonNum',
  874. },
  875. {
  876. path: '/statistical/building',
  877. name: '项目统计',
  878. component: './statistical/building',
  879. },
  880. {
  881. path: '/statistical/consultant',
  882. name: '置业顾问KPI',
  883. component: './statistical/consultant',
  884. },
  885. {
  886. path: '/statistical/userSource',
  887. name: '用户来源',
  888. component: './indexEcharts/userSource',
  889. hideInMenu: true,
  890. },
  891. {
  892. path: '/statistical/newUsers',
  893. name: '新增用户',
  894. component: './indexEcharts/newUsers',
  895. hideInMenu: true,
  896. },
  897. {
  898. path: '/statistical/userBehavior',
  899. name: '用户行为',
  900. component: './indexEcharts/userBehavior',
  901. hideInMenu: true,
  902. },
  903. {
  904. path: '/statistical/building/detail',
  905. name: '项目统计详情',
  906. component: './statistical/building/detail',
  907. hideInMenu: true,
  908. },
  909. {
  910. path: '/statistical/consultant/table',
  911. name: '客户总计',
  912. hideInMenu: true,
  913. component: './statistical/consultant/table',
  914. },
  915. {
  916. path: '/statistical/consultant/newPersons',
  917. name: '新增客户',
  918. hideInMenu: true,
  919. component: './statistical/consultant/table',
  920. },
  921. {
  922. path: '/statistical/consultant/sharetable',
  923. name: '分享次数',
  924. hideInMenu: true,
  925. component: './statistical/consultant/sharetable',
  926. },
  927. {
  928. path: '/statistical/consultant/visitPersons',
  929. name: '分享访问人数',
  930. hideInMenu: true,
  931. component: './statistical/consultant/visitPersons',
  932. },
  933. {
  934. path: '/statistical/consultant/visitNum',
  935. name: '分享访问次数',
  936. hideInMenu: true,
  937. component: './statistical/consultant/visitNum',
  938. },
  939. {
  940. path: '/statistical/consultant/sharePersons',
  941. name: '分享拓客',
  942. hideInMenu: true,
  943. component: './statistical/consultant/table',
  944. },
  945. {
  946. path: '/statistical/consultant/homePagePersons',
  947. name: '主页访问人数',
  948. hideInMenu: true,
  949. component: './statistical/consultant/homePagePersons',
  950. },
  951. {
  952. path: '/statistical/consultant/homepageNum',
  953. name: '主页访问次数',
  954. hideInMenu: true,
  955. component: './statistical/consultant/table',
  956. },
  957. {
  958. path: '/statistical/consultant/chatPersons',
  959. name: '咨询数',
  960. hideInMenu: true,
  961. component: './statistical/consultant/table',
  962. },
  963. {
  964. path: '/statistical/consultant/favorNum',
  965. name: '点赞数',
  966. hideInMenu: true,
  967. component: './statistical/consultant/table',
  968. },
  969. ],
  970. },
  971. // {
  972. // path: '/house',
  973. // name: '在线选房',
  974. // component: '../layouts/BlankLayout',
  975. // routes: [
  976. // {
  977. // path: '/house/house/list',
  978. // name: '房源管理',
  979. // component: './house/house/list/index',
  980. // },
  981. // {
  982. // path: '/house/house/add',
  983. // name: '新增',
  984. // hideInMenu: true,
  985. // component: './house/house/add/index',
  986. // },
  987. // {
  988. // path: '/house/house/batch',
  989. // name: '批量上传',
  990. // hideInMenu: true,
  991. // component: './house/house/add/HouseBatchAdd',
  992. // },
  993. // {
  994. // path: '/house/house/edit',
  995. // name: '编辑',
  996. // hideInMenu: true,
  997. // component: './house/house/edit/index',
  998. // },
  999. // {
  1000. // path: '/house/preSelect/list',
  1001. // name: '预选管理',
  1002. // component: './house/preSelect/list/index',
  1003. // },
  1004. // {
  1005. // path: '/house/preSelect/add',
  1006. // name: '新增',
  1007. // hideInMenu: true,
  1008. // component: './house/preSelect/add/index',
  1009. // },
  1010. // {
  1011. // path: '/house/preSelect/batch',
  1012. // name: '批量上传',
  1013. // hideInMenu: true,
  1014. // component: './house/preSelect/add/HouseBatchAdd',
  1015. // },
  1016. // {
  1017. // path: '/house/preSelect/edit',
  1018. // name: '编辑',
  1019. // hideInMenu: true,
  1020. // component: './house/preSelect/edit/index',
  1021. // },
  1022. // {
  1023. // path: '/house/raise/list',
  1024. // name: '认筹管理',
  1025. // component: './house/raise/list/index',
  1026. // },
  1027. // {
  1028. // path: '/house/raise/add',
  1029. // name: '新增',
  1030. // hideInMenu: true,
  1031. // component: './house/raise/add/index',
  1032. // },
  1033. // {
  1034. // path: '/house/raise/batch',
  1035. // name: '批量上传',
  1036. // hideInMenu: true,
  1037. // component: './house/raise/add/HouseBatchAdd',
  1038. // },
  1039. // {
  1040. // path: '/house/raise/edit',
  1041. // name: '编辑',
  1042. // hideInMenu: true,
  1043. // component: './house/raise/edit/index',
  1044. // },
  1045. // ],
  1046. // },
  1047. // {
  1048. // path: '/h5SampleManager',
  1049. // name: 'H5样例管理',
  1050. // component: '../layouts/BlankLayout',
  1051. // routes: [
  1052. // {
  1053. // path: '/h5SampleManager/h5Sample/list',
  1054. // name: 'H5样例',
  1055. // component: './h5SampleManager/h5Sample/list',
  1056. // },
  1057. // {
  1058. // path: '/h5SampleManager/h5Sample/detail',
  1059. // name: '详情',
  1060. // hideInMenu: true,
  1061. // component: './h5SampleManager/h5Sample/detail',
  1062. // },
  1063. // {
  1064. // path: '/h5SampleManager/h5Sample/add',
  1065. // name: '提交需求',
  1066. // hideInMenu: true,
  1067. // component: './h5SampleManager/h5Sample/add',
  1068. // },
  1069. // {
  1070. // path: '/h5SampleManager/h5Sample/addH5',
  1071. // name: '创建H5活动',
  1072. // hideInMenu: true,
  1073. // component: './h5SampleManager/h5Sample/addH5',
  1074. // },
  1075. // {
  1076. // path: '/h5SampleManager/h5Demand/list',
  1077. // name: 'H5需求单',
  1078. // component: './h5SampleManager/h5Demand/list',
  1079. // },
  1080. // // {
  1081. // // path: '/drainageSampleManager/drainageDemand/add',
  1082. // // name: '新增需求单',
  1083. // // component: './drainageSampleManager/drainageDemand/add',
  1084. // // },
  1085. // {
  1086. // path: '/h5SampleManager/h5Demand/detail',
  1087. // name: '详情',
  1088. // hideInMenu: true,
  1089. // component: './h5SampleManager/h5Demand/detail',
  1090. // },
  1091. // {
  1092. // path: '/h5SampleManager/h5Demand/edit',
  1093. // name: '修改需求',
  1094. // hideInMenu: true,
  1095. // component: './h5SampleManager/h5Demand/edit',
  1096. // },
  1097. // ],
  1098. // },
  1099. // {
  1100. // path: '/eContract',
  1101. // name: '电子合同',
  1102. // component: '../layouts/BlankLayout',
  1103. // routes: [
  1104. // {
  1105. // path: '/eContract/template/list',
  1106. // name: '合同模板',
  1107. // component: './eContract/template/list',
  1108. // },
  1109. // {
  1110. // path: '/eContract/businessConfig/list',
  1111. // name: '业务配置',
  1112. // component: './eContract/businessConfig/list',
  1113. // },
  1114. // {
  1115. // path: '/eContract/businessConfig/add',
  1116. // name: '新增业务配置',
  1117. // hideInMenu: true,
  1118. // component: './eContract/businessConfig/add',
  1119. // },
  1120. // {
  1121. // path: '/eContract/businessConfig/detail',
  1122. // name: '业务配置详情',
  1123. // hideInMenu: true,
  1124. // component: './eContract/businessConfig/detail',
  1125. // },
  1126. // {
  1127. // path: '/eContract/manage/list',
  1128. // name: '合同管理',
  1129. // component: './eContract/manage/list',
  1130. // },
  1131. // {
  1132. // path: '/eContract/manage/edit',
  1133. // name: '查看详情',
  1134. // hideInMenu: true,
  1135. // component: './eContract/manage/edit',
  1136. // },
  1137. // {
  1138. // path: '/eContract/template/add',
  1139. // name: '新增合同模板',
  1140. // hideInMenu: true,
  1141. // component: './eContract/template/add',
  1142. // },
  1143. // {
  1144. // path: '/eContract/template/detail',
  1145. // name: '合同模板详情',
  1146. // hideInMenu: true,
  1147. // component: './eContract/template/detail',
  1148. // }
  1149. // ],
  1150. // },
  1151. // {
  1152. // path: '/qrcode',
  1153. // name: '二维码管理',
  1154. // component: '../layouts/BlankLayout',
  1155. // routes: [
  1156. // {
  1157. // path: '/qrcode/qrcodelist',
  1158. // name: '二维码列表',
  1159. // component: './qrcode/qrcodelist/index',
  1160. // },
  1161. // {
  1162. // path: '/qrcode/qrcodelist/add',
  1163. // name: '新增',
  1164. // hideInMenu: true,
  1165. // component: './qrcode/qrcodelist/add',
  1166. // },
  1167. // {
  1168. // path: '/qrcode/qrcodelist/dataRecord',
  1169. // name: '数据记录',
  1170. // hideInMenu: true,
  1171. // component: './qrcode/qrcodelist/dataRecord',
  1172. // },
  1173. // ],
  1174. // },
  1175. // {
  1176. // path: '/funds',
  1177. // name: '资金管理',
  1178. // component: '../layouts/BlankLayout',
  1179. // routes: [
  1180. // {
  1181. // path: '/funds/accountfunds',
  1182. // name: '账户资金',
  1183. // component: './funds/accountfunds/index',
  1184. // },
  1185. // // {
  1186. // // path: '/fund/qrcodelist/add',
  1187. // // name: '新增',
  1188. // // hideInMenu: true,
  1189. // // component: './fund/qrcodelist/add',
  1190. // // },
  1191. // {
  1192. // path: '/funds/financialContact',
  1193. // name: '财务联系人',
  1194. // component: './funds/financialContact/index',
  1195. // },
  1196. // ],
  1197. // },
  1198. // {
  1199. // path: '/miniapp',
  1200. // name: '小程序管理',
  1201. // component: '../layouts/BlankLayout',
  1202. // routes: [
  1203. // {
  1204. // path: '/miniapp/menuList',
  1205. // name: '首页菜单管理',
  1206. // component: './miniapp/menuList',
  1207. // },
  1208. // {
  1209. // path: '/miniapp/editIcons',
  1210. // name: '首页菜单编辑',
  1211. // hideInMenu: true,
  1212. // component: './miniapp/editIcons',
  1213. // },
  1214. // ],
  1215. // },
  1216. {
  1217. name: '403',
  1218. path: '/403',
  1219. component: './403',
  1220. hideInMenu: true,
  1221. },
  1222. {
  1223. component: './404',
  1224. },
  1225. ],
  1226. },
  1227. {
  1228. component: './404',
  1229. },
  1230. ],
  1231. },
  1232. {
  1233. component: './404',
  1234. },
  1235. ];