page.js 13KB

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