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