page.js 22KB

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