page.js 27KB

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