page.js 26KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677
  1. /* eslint-disable */
  2. import system from './index' // 系统首页
  3. import noAccessRight from './noAccessRight/index' // 暂无菜单权限
  4. import dashboard from './dashboard/index' // 控制板
  5. import systemSet from './systemSet/index' // 系统设置
  6. import userManager from './systemSet/userManager/index' // 用户管理
  7. import addUser from './systemSet/userManager/add' // 添加用户
  8. import editUser from './systemSet/userManager/edit' // 编辑用户
  9. import roleManager from './systemSet/roleManager/index' // 角色管理
  10. import editRole from './systemSet/roleManager/add' // 编辑角色
  11. import caseManager from './caseManager/index' // 案场管理
  12. import caseInfo from './caseManager/caseInfo/index' // 案场信息
  13. import addCase from './caseManager/caseInfo/addCase/index' // 新增案场
  14. import editCase from './caseManager/caseInfo/editCase/index' // 新增案场
  15. import deviceManager from './caseManager/deviceManager/index' // 体检设备
  16. import addDevice from './caseManager/deviceManager/add' // 添加体检设备
  17. import editDevice from './caseManager/deviceManager/add' // 编辑体检设备
  18. import pplConcerned from './caseManager/caseInfo/pplConcerned/index' // 相关人员
  19. import editPPLConcerned from './caseManager/caseInfo/pplConcerned/editPPLConcerned/index' // 编辑相关人员
  20. import keyManager from './caseManager/keyManager/index' // 钥匙管理
  21. import addKey from './caseManager/keyManager/add' // 新增钥匙
  22. import caseAreaManager from './caseManager/caseAreaManager/index' // 案场区域管理
  23. import addCaseArea from './caseManager/caseAreaManager/add' // 新增案场区域
  24. import editCaseArea from './caseManager/caseAreaManager/edit' // 编辑案场区域
  25. import caseTableManager from './caseManager/caseTableManager/index' // 案场桌位管理
  26. import addCaseTable from './caseManager/caseTableManager/add' // 新增案场桌位
  27. import editCaseTable from './caseManager/caseTableManager/edit' // 编辑案场桌位
  28. import tagManager from './caseManager/tagManager/index' // 标签管理
  29. import addTag from './caseManager/tagManager/add' // 添加标签
  30. import editTag from './caseManager/tagManager/edit' // 编辑标签
  31. import signinManager from './caseManager/signinManager/index' // 签到管理
  32. import goodsManager from './goodsManager/index' // 商品管理
  33. import goodsTypeManager from './goodsManager/goodsTypeManager/index' // 商品类型管理
  34. import addGoodsType from './goodsManager/goodsTypeManager/add' // 新增商品类型
  35. import editGoodsType from './goodsManager/goodsTypeManager/edit' // 编辑商品类型
  36. import goodsSpecManager from './goodsManager/goodsSpecManager/index' // 商品规格管理
  37. import addGoodsSpec from './goodsManager/goodsSpecManager/add' // 新增商品规格
  38. import editGoodsSpec from './goodsManager/goodsSpecManager/edit' // 编辑商品规格管理
  39. import goodsList from './goodsManager/goodManager/index' // 商品管理
  40. import addGoods from './goodsManager/goodManager/edit' // 商品新增
  41. import editGoods from './goodsManager/goodManager/edit' // 商品编辑
  42. import cmsManager from './cmsManager/index' // cms管理
  43. import bannerManager from './cmsManager/bannerManager/index' // 轮播图管理
  44. import addBanner from './cmsManager/bannerManager/add' // 添加轮播图
  45. import editBanner from './cmsManager/bannerManager/edit' // 编辑轮播图
  46. import indexCase from './cmsManager/majorProjects/index' // 售楼处项目专题
  47. import editIndexCase from './cmsManager/majorProjects/edit' // 编辑售楼处项目专题
  48. import addIndexCase from './cmsManager/majorProjects/edit' // 新增售楼处项目专题
  49. import indexMsg from './cmsManager/indexMsg/index' // 首页消息
  50. import addIndexMsg from './cmsManager/indexMsg/add' // 新增首页消息
  51. import editIndexMsg from './cmsManager/indexMsg/edit' // 新增首页消息
  52. import newsManager from './cmsManager/newsManager/index' // 资讯管理
  53. import addNews from './cmsManager/newsManager/add' // 资讯管理
  54. import editNews from './cmsManager/newsManager/edit' // 资讯管理
  55. import channelManager from './channelManager/index' // 渠道管理
  56. import channelList from './channelManager/channelList/index' // 渠道列表
  57. import addChannel from './channelManager/channelList/add' // 新增渠道
  58. import editChannel from './channelManager/channelList/edit' // 编辑渠道
  59. import courseManager from './courseManager/index' // 课程管理
  60. import fiveA from './courseManager/fiveA/index' // 全龄生活5A
  61. import addFiveA from './courseManager/fiveA/add' // 全龄生活5A添加
  62. import editFiveA from './courseManager/fiveA/edit' // 全龄生活5A编辑
  63. import courseList from './courseManager/courseList/index' // 课程列表
  64. import addCourse from './courseManager/courseList/add' // 新增课程
  65. import editCourse from './courseManager/courseList/add' // 新增课程
  66. import courseTag from './courseManager/courseTag/index' // 课程标签
  67. import scheduleManager from './courseManager/scheduleManager/index' // 排课管理
  68. import editSchedule from './courseManager/scheduleManager/edit' // 新增、编辑排课
  69. import verificationManager from './verificationManager/index' // 核销管理
  70. import qrcodeVerification from './verificationManager/qrcodeVerification/index' // 二维码核销
  71. import qrcodeVerificationList from './verificationManager/qrcodeVerification/verificationList/index' // 二维码核销列表
  72. import phoneVerification from './verificationManager/phoneVerification/index' // 手机核销
  73. import phoneVerificationList from './verificationManager/phoneVerification/verificationList/index' // 手机核销列表
  74. import drawVerification from './verificationManager/drawVerification/index' // 抽奖核销
  75. import drawVerificationList from './verificationManager/drawVerification/verificationList/index' // 抽奖核销列表
  76. import dataStatistics from './dataStatistics/index' // 数据统计
  77. import frontEndUserList from './dataStatistics/frontEndUserList/index' // 课程管理
  78. import cardCouponList from './dataStatistics/cardCouponList/index' // 卡券统计列表
  79. import cardCouponUsedList from './dataStatistics/cardCouponUsedList/index' // 卡券使用统计
  80. import courseStatisticsList from './dataStatistics/courseStatisticsList/index' // 课程统计列表
  81. import courseOrderList from './dataStatistics/courseOrderList/index' // 课程订单列表
  82. import goodsOrderList from './dataStatistics/goodsOrderList/index' // 商品订单列表
  83. import goodsStatisticsList from './dataStatistics/goodsStatisticsList/index' // 商品统计列表
  84. import courseVerifyList from './dataStatistics/courseVerifyList/index' // 课程核销列表
  85. import newOrder from './newOrder/index' // 商品订单系统
  86. import newOrderList from './newOrder/newOrderList/index' // 新订单列表
  87. import cardAndCouponManager from './cardAndCouponManager/index' // 卡券管理
  88. import cardList from './cardAndCouponManager/cardManager/index' // 卡列表
  89. import addCard from './cardAndCouponManager/cardManager/edit' // 新增卡
  90. import editCard from './cardAndCouponManager/cardManager/edit' // 编辑卡
  91. import couponList from './cardAndCouponManager/couponManager/index' // 券列表
  92. import addCoupon from './cardAndCouponManager/couponManager/edit' // 新增券
  93. import editCoupon from './cardAndCouponManager/couponManager/edit' // 编辑券
  94. import bodyBuildingCardManager from './cardAndCouponManager/bodyBuildingCardManager/index' // 健身卡列表
  95. import addBodyBuildingCard from './cardAndCouponManager/bodyBuildingCardManager/edit' // 健身卡新增
  96. import editBodyBuildingCard from './cardAndCouponManager/bodyBuildingCardManager/edit' // 健身卡编辑
  97. import givingRecords from './cardAndCouponManager/givingRecords' // 赠送记录
  98. import vipList from './cardAndCouponManager/vipManager/index' // vip列表
  99. import addVip from './cardAndCouponManager/vipManager/edit' // 新增vip
  100. import editVip from './cardAndCouponManager/vipManager/edit' // 编辑vip
  101. import activateVip from './cardAndCouponManager/vipManager/activateVip' // 激活vip
  102. import caseRecord from './newOrder/caseRecord/index' // 月记录
  103. import marketingActivities from './marketingActivities/index' // 营销活动
  104. import activitiesList from './marketingActivities/activitiesList/index' // 活动列表
  105. import addActivities from './marketingActivities/addActivities/index' // 添加活动
  106. import healthManager from './healthManager/index' // 健康管理
  107. import healthRecord from './healthManager/healthRecord/index' // 体检记录列表
  108. import luckyDrawManager from './luckyDrawManager/index' // 抽奖管理
  109. import luckyDrawList from './luckyDrawManager/luckyDrawList/index' // 抽奖记录列表
  110. import luckyDrawShareList from './luckyDrawManager/luckyDrawShareList/index' // 抽奖分享记录列表
  111. export default {
  112. router: [
  113. {
  114. path: '/system',
  115. name: 'system',
  116. component: system,
  117. children: [{ // 暂无菜单权限
  118. path: 'noAccessRight',
  119. name: 'noAccessRight',
  120. component: noAccessRight,
  121. children: []
  122. }, { // 首页控制板
  123. path: 'dashboard',
  124. name: 'dashboard',
  125. component: dashboard,
  126. children: []
  127. }, { // 系统设置
  128. path: 'systemSet',
  129. name: 'systemSet',
  130. component: systemSet,
  131. children: [{ // 用户管理
  132. path: 'userManager',
  133. name: 'userManager',
  134. component: userManager,
  135. children: [{ // 添加用户
  136. path: 'addUser',
  137. name: 'addUser',
  138. component: addUser,
  139. children: []
  140. }, { // 编辑用户
  141. path: 'editUser',
  142. name: 'editUser',
  143. component: editUser,
  144. children: []
  145. }]
  146. }, { // 角色管理
  147. path: 'roleManager',
  148. name: 'roleManager',
  149. component: roleManager,
  150. children: [{ // 编辑角色
  151. path: 'editRole',
  152. name: 'editRole',
  153. component: editRole,
  154. children: []
  155. }]
  156. }],
  157. }, { // 案场管理
  158. path: 'caseManager',
  159. name: 'caseManager',
  160. component: caseManager,
  161. children: [{ // 案场信息
  162. path: 'caseInfo',
  163. name: 'caseInfo',
  164. component: caseInfo,
  165. children: [{ // 新增案场
  166. path: 'addCase',
  167. name: 'addCase',
  168. component: addCase,
  169. children: []
  170. }, { // 编辑案场
  171. path: 'editCase',
  172. name: 'editCase',
  173. component: editCase,
  174. children: []
  175. }, { // 相关人员
  176. path: 'pplConcerned',
  177. name: 'pplConcerned',
  178. component: pplConcerned,
  179. children: [{ // 编辑相关人员
  180. path: 'editPPLConcerned',
  181. name: 'editPPLConcerned',
  182. component: editPPLConcerned,
  183. children: []
  184. }]
  185. }]
  186. }, { // 体检设备
  187. path: 'deviceManager',
  188. name: 'deviceManager',
  189. component: deviceManager,
  190. children: [{ // 添加体检设备
  191. path: 'addDevice',
  192. name: 'addDevice',
  193. component: addDevice,
  194. children: []
  195. }, { // 编辑体检设备
  196. path: 'editDevice',
  197. name: 'editDevice',
  198. component: editDevice,
  199. children: []
  200. }]
  201. }, { // 钥匙管理
  202. path: 'keyManager',
  203. name: 'keyManager',
  204. component: keyManager,
  205. children: [{ // 新增钥匙
  206. path: 'addKey',
  207. name: 'addKey',
  208. component: addKey,
  209. children: []
  210. }]
  211. }, { // 案场区域管理
  212. path: 'caseAreaManager',
  213. name: 'caseAreaManager',
  214. component: caseAreaManager,
  215. children: [{ // 新增案场区域
  216. path: 'addCaseArea',
  217. name: 'addCaseArea',
  218. component: addCaseArea,
  219. children: []
  220. }, { // 编辑案场区域
  221. path: 'editCaseArea',
  222. name: 'editCaseArea',
  223. component: editCaseArea,
  224. children: []
  225. }]
  226. }, { // 案场桌位管理
  227. path: 'caseTableManager',
  228. name: 'caseTableManager',
  229. component: caseTableManager,
  230. children: [{ // 新增案场桌位
  231. path: 'addCaseTable',
  232. name: 'addCaseTable',
  233. component: addCaseTable,
  234. children: []
  235. }, { // 编辑案场桌位
  236. path: 'editCaseTable',
  237. name: 'editCaseTable',
  238. component: editCaseTable,
  239. children: []
  240. }]
  241. }, { // 标签管理
  242. path: 'tagManager',
  243. name: 'tagManager',
  244. component: tagManager,
  245. children: [{ // 添加标签
  246. path: 'addTag',
  247. name: 'addTag',
  248. component: addTag,
  249. children: []
  250. }, { // 编辑标签
  251. path: 'editTag',
  252. name: 'editTag',
  253. component: editTag,
  254. children: []
  255. }]
  256. }, { // 签到管理
  257. path: 'signinManager',
  258. name: 'signinManager',
  259. component: signinManager,
  260. children: []
  261. }],
  262. }, { // 商品管理
  263. path: 'goodsManager',
  264. name: 'goodsManager',
  265. component: goodsManager,
  266. children: [{ // 商品类型管理
  267. path: 'goodsTypeManager',
  268. name: 'goodsTypeManager',
  269. component: goodsTypeManager,
  270. children: [{ // 新增商品类型
  271. path: 'addGoodsType',
  272. name: 'addGoodsType',
  273. component: addGoodsType,
  274. children: []
  275. }, { // 编辑商品类型
  276. path: 'editGoodsType',
  277. name: 'editGoodsType',
  278. component: editGoodsType,
  279. children: []
  280. }]
  281. }, { // 商品规格管理
  282. path: 'goodsSpecManager',
  283. name: 'goodsSpecManager',
  284. component: goodsSpecManager,
  285. children: [{ // 新增商品规格
  286. path: 'addGoodsSpec',
  287. name: 'addGoodsSpec',
  288. component: addGoodsSpec,
  289. children: []
  290. }, { // 编辑商品规格
  291. path: 'editGoodsSpec',
  292. name: 'editGoodsSpec',
  293. component: editGoodsSpec,
  294. children: []
  295. }]
  296. }, { // 商品管理
  297. path: 'goodsInfo',
  298. name: 'goodsInfo',
  299. component: goodsList,
  300. children: [{ // 新增商品
  301. path: 'addGoods',
  302. name: 'addGoods',
  303. component: addGoods,
  304. children: []
  305. }, { // 编辑商品
  306. path: 'editGoods',
  307. name: 'editGoods',
  308. component: editGoods,
  309. children: []
  310. }]
  311. }],
  312. }, { // cms管理
  313. path: 'cmsManager',
  314. name: 'cmsManager',
  315. component: cmsManager,
  316. children: [{ // 轮播图管理
  317. path: 'bannerManager',
  318. name: 'bannerManager',
  319. component: bannerManager,
  320. children: [{ // 新增轮播图
  321. path: 'addBanner',
  322. name: 'addBanner',
  323. component: addBanner,
  324. children: []
  325. }, { // 编辑轮播图
  326. path: 'editBanner',
  327. name: 'editBanner',
  328. component: editBanner,
  329. children: []
  330. }]
  331. }, { // 售楼处项目专题
  332. path: 'indexCase',
  333. name: 'indexCase',
  334. component: indexCase,
  335. children: [{ // 新增售楼处项目专题
  336. path: 'addIndexCase',
  337. name: 'addIndexCase',
  338. component: addIndexCase,
  339. children: []
  340. }, { // 编辑售楼处项目专题
  341. path: 'editIndexCase',
  342. name: 'editIndexCase',
  343. component: editIndexCase,
  344. children: []
  345. }]
  346. }, { // 首页消息
  347. path: 'indexMsg',
  348. name: 'indexMsg',
  349. component: indexMsg,
  350. children: [{ // 新增首页消息
  351. path: 'addIndexMsg',
  352. name: 'addIndexMsg',
  353. component: addIndexMsg,
  354. children: []
  355. }, { // 编辑首页消息
  356. path: 'editIndexMsg',
  357. name: 'editIndexMsg',
  358. component: editIndexMsg,
  359. children: []
  360. }]
  361. }, { // 资讯管理
  362. path: 'newsManager',
  363. name: 'newsManager',
  364. component: newsManager,
  365. children: [{ // 新增资讯
  366. path: 'addNews',
  367. name: 'addNews',
  368. component: addNews,
  369. children: []
  370. }, { // 编辑资讯
  371. path: 'editNews',
  372. name: 'editNews',
  373. component: editNews,
  374. children: []
  375. }]
  376. }],
  377. }, { // 渠道管理
  378. path: 'channelManager',
  379. name: 'channelManager',
  380. component: channelManager,
  381. children: [{ // 渠道列表
  382. path: 'channelList',
  383. name: 'channelList',
  384. component: channelList,
  385. children: [{ // 新增渠道
  386. path: 'addChannel',
  387. name: 'addChannel',
  388. component: addChannel,
  389. children: []
  390. }, { // 编辑渠道
  391. path: 'editChannel',
  392. name: 'editChannel',
  393. component: editChannel,
  394. children: []
  395. }]
  396. }],
  397. }, { // 课程管理
  398. path: 'courseManager',
  399. name: 'courseManager',
  400. component: courseManager,
  401. children: [{ // 全龄生活5A
  402. path: 'fiveA',
  403. name: 'fiveA',
  404. component: fiveA,
  405. children: [{ // 全龄生活5A添加
  406. path: 'addFiveA',
  407. name: 'addFiveA',
  408. component: addFiveA,
  409. children: []
  410. }, { // 全龄生活5A编辑
  411. path: 'editFiveA',
  412. name: 'editFiveA',
  413. component: editFiveA,
  414. children: []
  415. }]
  416. }, { // 课程列表
  417. path: 'courseList',
  418. name: 'courseList',
  419. component: courseList,
  420. children: [{ // 新增课程
  421. path: 'addCourse',
  422. name: 'addCourse',
  423. component: addCourse,
  424. children: []
  425. }, { // 编辑课程
  426. path: 'editCourse',
  427. name: 'editCourse',
  428. component: editCourse,
  429. children: []
  430. }]
  431. }, { // 排课管理
  432. path: 'scheduleManager',
  433. name: 'scheduleManager',
  434. component: scheduleManager,
  435. children: [{ // 新增、编辑排课
  436. path: 'editSchedule',
  437. name: 'editSchedule',
  438. component: editSchedule,
  439. children: []
  440. }]
  441. }, { // 课程标签
  442. path: 'courseTag',
  443. name: 'courseTag',
  444. component: courseTag,
  445. children: []
  446. }],
  447. }, { // 核销管理
  448. path: 'verificationManager',
  449. name: 'verificationManager',
  450. component: verificationManager,
  451. children: [{ // 二维码核销
  452. path: 'qrcodeVerification',
  453. name: 'qrcodeVerification',
  454. component: qrcodeVerification,
  455. children: [{ // 二维码核销列表
  456. path: 'qrcodeVerificationList',
  457. name: 'qrcodeVerificationList',
  458. component: qrcodeVerificationList,
  459. children: []
  460. }]
  461. }, { // 手机核销
  462. path: 'phoneVerification',
  463. name: 'phoneVerification',
  464. component: phoneVerification,
  465. children: [{ // 手机核销列表
  466. path: 'phoneVerificationList',
  467. name: 'phoneVerificationList',
  468. component: phoneVerificationList,
  469. children: []
  470. }]
  471. }, { // 抽奖核销
  472. path: 'drawVerification',
  473. name: 'drawVerification',
  474. component: drawVerification,
  475. children: [{ // 抽奖核销列表
  476. path: 'drawVerificationList',
  477. name: 'drawVerificationList',
  478. component: drawVerificationList,
  479. children: []
  480. }]
  481. }]
  482. }, { // 商品订单系统
  483. path: 'newOrder',
  484. name: 'newOrder',
  485. component: newOrder,
  486. children: [{ // 新订单列表
  487. path: 'newOrderList',
  488. name: 'newOrderList',
  489. component: newOrderList,
  490. children: []
  491. }, { // 月记录
  492. path: 'caseRecord',
  493. name: 'caseRecord',
  494. component: caseRecord,
  495. children: []
  496. }]
  497. }, { // 数据统计
  498. path: 'dataStatistics',
  499. name: 'dataStatistics',
  500. component: dataStatistics,
  501. children: [{ // 前台用户列表
  502. path: 'frontEndUserList',
  503. name: 'frontEndUserList',
  504. component: frontEndUserList,
  505. children: []
  506. }, { // 卡券统计列表
  507. path: 'cardCouponList',
  508. name: 'cardCouponList',
  509. component: cardCouponList,
  510. children: []
  511. }, { // 卡券使用列表
  512. path: 'cardCouponUsedList',
  513. name: 'cardCouponUsedList',
  514. component: cardCouponUsedList,
  515. children: []
  516. }, { // 课程统计列表
  517. path: 'courseStatisticsList',
  518. name: 'courseStatisticsList',
  519. component: courseStatisticsList,
  520. children: []
  521. }, { // 课程订单列表
  522. path: 'courseOrderList',
  523. name: 'courseOrderList',
  524. component: courseOrderList,
  525. children: []
  526. }, { // 商品订单列表
  527. path: 'goodsOrderList',
  528. name: 'goodsOrderList',
  529. component: goodsOrderList,
  530. children: []
  531. }, { // 商品统计列表
  532. path: 'goodsStatisticsList',
  533. name: 'goodsStatisticsList',
  534. component: goodsStatisticsList,
  535. children: []
  536. }, { // 课程核销列表
  537. path: 'courseVerifyList',
  538. name: 'courseVerifyList',
  539. component: courseVerifyList,
  540. children: []
  541. }]
  542. }, { // 卡券管理
  543. path: 'cardAndCouponManager',
  544. name: 'cardAndCouponManager',
  545. component: cardAndCouponManager,
  546. children: [{ // 卡列表
  547. path: 'cardList',
  548. name: 'cardList',
  549. component: cardList,
  550. children: [{ // 编辑卡
  551. path: 'editCard',
  552. name: 'editCard',
  553. component: editCard,
  554. children: []
  555. }, { // 新增卡
  556. path: 'addCard',
  557. name: 'addCard',
  558. component: addCard,
  559. children: []
  560. }]
  561. }, { // 券列表
  562. path: 'couponList',
  563. name: 'couponList',
  564. component: couponList,
  565. children: [{ // 编辑券
  566. path: 'editCoupon',
  567. name: 'editCoupon',
  568. component: editCoupon,
  569. children: []
  570. }, { // 新增券
  571. path: 'addCoupon',
  572. name: 'addCoupon',
  573. component: addCoupon,
  574. children: []
  575. }]
  576. }, { // 健身卡列表
  577. path: 'bodyBuildingCardManager',
  578. name: 'bodyBuildingCardManager',
  579. component: bodyBuildingCardManager,
  580. children: [{ // 编辑健身卡
  581. path: 'editBodyBuildingCard',
  582. name: 'editBodyBuildingCard',
  583. component: editBodyBuildingCard,
  584. children: []
  585. }, { // 新增健身卡
  586. path: 'addBodyBuildingCard',
  587. name: 'addBodyBuildingCard',
  588. component: addBodyBuildingCard,
  589. children: []
  590. }]
  591. }, { // 赠送记录
  592. path: 'givingRecords',
  593. name: 'givingRecords',
  594. component: givingRecords,
  595. children: []
  596. }, { // vip列表
  597. path: 'vipList',
  598. name: 'vipList',
  599. component: vipList,
  600. children: [{ // 新增vip
  601. path: 'addVip',
  602. name: 'addVip',
  603. component: addVip,
  604. children: []
  605. }, { // 编辑vip
  606. path: 'editVip',
  607. name: 'editVip',
  608. component: editVip,
  609. children: []
  610. }, { // 激活vip
  611. path: 'activateVip',
  612. name: 'activateVip',
  613. component: activateVip,
  614. children: []
  615. }]
  616. }, { // 营销活动
  617. path: 'marketingActivities',
  618. name: 'marketingActivities',
  619. component: marketingActivities,
  620. children: [{
  621. path: 'activitiesList',
  622. name: 'activitiesList',
  623. component: activitiesList,
  624. children: [{ // 添加活动
  625. path: 'addActivities',
  626. name: 'addActivities',
  627. component: addActivities,
  628. children: []
  629. }]
  630. }]
  631. }]
  632. }, { // 健康管理
  633. path: 'healthManager',
  634. name: 'healthManager',
  635. component: healthManager,
  636. children: [{ // 体检记录列表
  637. path: 'healthRecord',
  638. name: 'healthRecord',
  639. component: healthRecord,
  640. children: []
  641. }],
  642. }, { // 抽奖管理
  643. path: 'luckyDrawManager',
  644. name: 'luckyDrawManager',
  645. component: luckyDrawManager,
  646. children: [{ // 抽奖记录列表
  647. path: 'luckyDrawList',
  648. name: 'luckyDrawList',
  649. component: luckyDrawList,
  650. children: []
  651. }, { // 抽奖分享记录列表
  652. path: 'luckyDrawShareList',
  653. name: 'luckyDrawShareList',
  654. component: luckyDrawShareList,
  655. children: []
  656. }],
  657. }]
  658. },
  659. ],
  660. }