123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332
  1. import system from './index' // 系统首页
  2. import systemSet from './systemSet/index' // 系统设置
  3. import userManager from './systemSet/userManager/index' // 用户管理
  4. import addUser from './systemSet/userManager/add' // 添加用户
  5. import editUser from './systemSet/userManager/edit' // 编辑用户
  6. import roleManager from './systemSet/roleManager/index' // 角色管理
  7. import addRole from './systemSet/roleManager/add' // 添加角色
  8. import editRole from './systemSet/roleManager/edit' // 编辑角色
  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 keyManager from './caseManager/keyManager/index' // 钥匙管理
  14. import addKey from './caseManager/keyManager/add' // 新增钥匙
  15. import caseAreaManager from './caseManager/caseAreaManager/index' // 案场区域管理
  16. import addCaseArea from './caseManager/caseAreaManager/add' // 新增案场区域
  17. import editCaseArea from './caseManager/caseAreaManager/edit' // 编辑案场区域
  18. import caseTableManager from './caseManager/caseTableManager/index' // 案场桌位管理
  19. import addCaseTable from './caseManager/caseTableManager/add' // 新增案场桌位
  20. import editCaseTable from './caseManager/caseTableManager/edit' // 编辑案场桌位
  21. import goodsManager from './goodsManager/index' // 商品管理
  22. import goodsTypeManager from './goodsManager/goodsTypeManager/index' // 商品类型管理
  23. import addGoodsType from './goodsManager/goodsTypeManager/add' // 新增商品类型
  24. import editGoodsType from './goodsManager/goodsTypeManager/edit' // 编辑商品类型
  25. import goodsSpecManager from './goodsManager/goodsSpecManager/index' // 商品规格管理
  26. import addGoodsSpec from './goodsManager/goodsSpecManager/add' // 新增商品规格
  27. import editGoodsSpec from './goodsManager/goodsSpecManager/edit' // 编辑商品规格管理
  28. import cmsManager from './cmsManager/index' // cms管理
  29. import bannerManager from './cmsManager/bannerManager/index' // 轮播图管理
  30. import addBanner from './cmsManager/bannerManager/add' // 添加轮播图
  31. import editBanner from './cmsManager/bannerManager/edit' // 编辑轮播图
  32. import indexCase from './cmsManager/majorProjects/index' // 售楼处项目专题
  33. import addIndexCase from './cmsManager/majorProjects/add' // 新增售楼处项目专题
  34. import editIndexCase from './cmsManager/majorProjects/edit' // 编辑售楼处项目专题
  35. import indexMsg from './cmsManager/indexMsg/index' // 首页消息
  36. import addIndexMsg from './cmsManager/indexMsg/add' // 新增首页消息
  37. import editIndexMsg from './cmsManager/indexMsg/edit' // 新增首页消息
  38. import newsManager from './cmsManager/newsManager/index' // 资讯管理
  39. import addNews from './cmsManager/newsManager/add' // 资讯管理
  40. import editNews from './cmsManager/newsManager/edit' // 资讯管理
  41. import channelManager from './channelManager/index' // 渠道管理
  42. import channelList from './channelManager/channelList/index' // 渠道列表
  43. import addChannel from './channelManager/channelList/add' // 新增渠道
  44. import editChannel from './channelManager/channelList/edit' // 编辑渠道
  45. import courseManager from './courseManager/index' // 课程管理
  46. import fiveA from './courseManager/fiveA/index' // 全龄生活5A
  47. import addFiveA from './courseManager/fiveA/add' // 全龄生活5A添加
  48. import editFiveA from './courseManager/fiveA/edit' // 全龄生活5A编辑
  49. import courseTag from './courseManager/courseTag/index' // 课程标签
  50. import addCourseTag from './courseManager/courseTag/add' // 新增课程标签
  51. import editCourseTag from './courseManager/courseTag/edit' // 编辑课程标签
  52. import dataStatistics from './dataStatistics/index' // 数据统计
  53. import frontEndUserList from './dataStatistics/frontEndUserList/index' // 课程管理
  54. export default {
  55. router: [
  56. {
  57. path: '/system',
  58. name: 'system',
  59. component: system,
  60. children: [{ // 系统设置
  61. path: 'systemSet',
  62. name: 'systemSet',
  63. component: systemSet,
  64. children: [{ // 用户管理
  65. path: 'userManager',
  66. name: 'userManager',
  67. component: userManager,
  68. children: [{ // 添加用户
  69. path: 'addUser',
  70. name: 'addUser',
  71. component: addUser,
  72. children: []
  73. }, { // 编辑用户
  74. path: 'editUser',
  75. name: 'editUser',
  76. component: editUser,
  77. children: []
  78. }]
  79. }, { // 角色管理
  80. path: 'roleManager',
  81. name: 'roleManager',
  82. component: roleManager,
  83. children: [{ // 添加角色
  84. path: 'addRole',
  85. name: 'addRole',
  86. component: addRole,
  87. children: []
  88. }, { // 编辑角色
  89. path: 'editRole',
  90. name: 'editRole',
  91. component: editRole,
  92. children: []
  93. }]
  94. }],
  95. }, { // 案场管理
  96. path: 'caseManager',
  97. name: 'caseManager',
  98. component: caseManager,
  99. children: [{ // 案场信息
  100. path: 'caseInfo',
  101. name: 'caseInfo',
  102. component: caseInfo,
  103. children: [{ // 新增案场
  104. path: 'addCase',
  105. name: 'addCase',
  106. component: addCase,
  107. children: []
  108. }, { // 编辑案场
  109. path: 'editCase',
  110. name: 'editCase',
  111. component: editCase,
  112. children: []
  113. }]
  114. }, { // 钥匙管理
  115. path: 'keyManager',
  116. name: 'keyManager',
  117. component: keyManager,
  118. children: [{ // 新增钥匙
  119. path: 'addKey',
  120. name: 'addKey',
  121. component: addKey,
  122. children: []
  123. }]
  124. }, { // 案场区域管理
  125. path: 'caseAreaManager',
  126. name: 'caseAreaManager',
  127. component: caseAreaManager,
  128. children: [{ // 新增案场区域
  129. path: 'addCaseArea',
  130. name: 'addCaseArea',
  131. component: addCaseArea,
  132. children: []
  133. }, { // 编辑案场区域
  134. path: 'editCaseArea',
  135. name: 'editCaseArea',
  136. component: editCaseArea,
  137. children: []
  138. }]
  139. }, { // 案场桌位管理
  140. path: 'caseTableManager',
  141. name: 'caseTableManager',
  142. component: caseTableManager,
  143. children: [{ // 新增案场桌位
  144. path: 'addCaseTable',
  145. name: 'addCaseTable',
  146. component: addCaseTable,
  147. children: []
  148. }, { // 编辑案场桌位
  149. path: 'editCaseTable',
  150. name: 'editCaseTable',
  151. component: editCaseTable,
  152. children: []
  153. }]
  154. }],
  155. }, { // 商品管理
  156. path: 'goodsManager',
  157. name: 'goodsManager',
  158. component: goodsManager,
  159. children: [{ // 商品类型管理
  160. path: 'goodsTypeManager',
  161. name: 'goodsTypeManager',
  162. component: goodsTypeManager,
  163. children: [{ // 新增商品类型
  164. path: 'addGoodsType',
  165. name: 'addGoodsType',
  166. component: addGoodsType,
  167. children: []
  168. }, { // 编辑商品类型
  169. path: 'editGoodsType',
  170. name: 'editGoodsType',
  171. component: editGoodsType,
  172. children: []
  173. }]
  174. }, { // 商品规格管理
  175. path: 'goodsSpecManager',
  176. name: 'goodsSpecManager',
  177. component: goodsSpecManager,
  178. children: [{ // 新增商品规格
  179. path: 'addGoodsSpec',
  180. name: 'addGoodsSpec',
  181. component: addGoodsSpec,
  182. children: []
  183. }, { // 编辑商品规格
  184. path: 'editGoodsSpec',
  185. name: 'editGoodsSpec',
  186. component: editGoodsSpec,
  187. children: []
  188. }]
  189. }],
  190. }, { // cms管理
  191. path: 'cmsManager',
  192. name: 'cmsManager',
  193. component: cmsManager,
  194. children: [{ // 轮播图管理
  195. path: 'bannerManager',
  196. name: 'bannerManager',
  197. component: bannerManager,
  198. children: [{ // 新增轮播图
  199. path: 'addBanner',
  200. name: 'addBanner',
  201. component: addBanner,
  202. children: []
  203. }, { // 编辑轮播图
  204. path: 'editBanner',
  205. name: 'editBanner',
  206. component: editBanner,
  207. children: []
  208. }]
  209. }, { // 售楼处项目专题
  210. path: 'indexCase',
  211. name: 'indexCase',
  212. component: indexCase,
  213. children: [{ // 新增售楼处项目专题
  214. path: 'addIndexCase',
  215. name: 'addIndexCase',
  216. component: addIndexCase,
  217. children: []
  218. }, { // 编辑售楼处项目专题
  219. path: 'editIndexCase',
  220. name: 'editIndexCase',
  221. component: editIndexCase,
  222. children: []
  223. }]
  224. }, { // 首页消息
  225. path: 'indexMsg',
  226. name: 'indexMsg',
  227. component: indexMsg,
  228. children: [{ // 新增首页消息
  229. path: 'addIndexMsg',
  230. name: 'addIndexMsg',
  231. component: addIndexMsg,
  232. children: []
  233. }, { // 编辑首页消息
  234. path: 'editIndexMsg',
  235. name: 'editIndexMsg',
  236. component: editIndexMsg,
  237. children: []
  238. }]
  239. }, { // 资讯管理
  240. path: 'newsManager',
  241. name: 'newsManager',
  242. component: newsManager,
  243. children: [{ // 新增资讯
  244. path: 'addNews',
  245. name: 'addNews',
  246. component: addNews,
  247. children: []
  248. }, { // 编辑资讯
  249. path: 'editNews',
  250. name: 'editNews',
  251. component: editNews,
  252. children: []
  253. }]
  254. }],
  255. }, { // 渠道管理
  256. path: 'channelManager',
  257. name: 'channelManager',
  258. component: channelManager,
  259. children: [{ // 渠道列表
  260. path: 'channelList',
  261. name: 'channelList',
  262. component: channelList,
  263. children: [{ // 新增渠道
  264. path: 'addChannel',
  265. name: 'addChannel',
  266. component: addChannel,
  267. children: []
  268. }, { // 编辑渠道
  269. path: 'editChannel',
  270. name: 'editChannel',
  271. component: editChannel,
  272. children: []
  273. }]
  274. }],
  275. }, { // 课程管理
  276. path: 'courseManager',
  277. name: 'courseManager',
  278. component: courseManager,
  279. children: [{ // 全龄生活5A
  280. path: 'fiveA',
  281. name: 'fiveA',
  282. component: fiveA,
  283. children: [{ // 全龄生活5A添加
  284. path: 'addFiveA',
  285. name: 'addFiveA',
  286. component: addFiveA,
  287. children: []
  288. }, { // 全龄生活5A编辑
  289. path: 'editFiveA',
  290. name: 'editFiveA',
  291. component: editFiveA,
  292. children: []
  293. }]
  294. }, { // 课程标签
  295. path: 'courseTag',
  296. name: 'courseTag',
  297. component: courseTag,
  298. children: [{ // 新增课程标签
  299. path: 'addCourseTag',
  300. name: 'addCourseTag',
  301. component: addCourseTag,
  302. children: []
  303. }, { // 编辑课程标签
  304. path: 'editCourseTag',
  305. name: 'editCourseTag',
  306. component: editCourseTag,
  307. children: []
  308. }]
  309. }],
  310. }, { // 数据统计
  311. path: 'dataStatistics',
  312. name: 'dataStatistics',
  313. component: dataStatistics,
  314. children: [{ // 前台用户列表
  315. path: 'frontEndUserList',
  316. name: 'frontEndUserList',
  317. component: frontEndUserList,
  318. children: []
  319. }]
  320. }]
  321. },
  322. ],
  323. }