menu.js 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  1. /* eslint-disable strict */
  2. const data = [
  3. {
  4. module: 'frame',
  5. path: '/frame/home',
  6. title: '首页',
  7. code: 'frameHome',
  8. parentCode: null,
  9. icon: 'el-icon-star-on',
  10. },
  11. {
  12. module: 'gaf',
  13. path: '',
  14. title: '系统管理',
  15. code: 'gaf',
  16. parentCode: null,
  17. icon: 'el-icon-star-on',
  18. },
  19. {
  20. module: 'code',
  21. path: '/code/home',
  22. title: '字典管理',
  23. code: 'code',
  24. parentCode: 'gaf',
  25. icon: 'el-icon-star-on',
  26. },
  27. {
  28. module: 'adminUser',
  29. path: '/adminUser/home',
  30. title: '系统用户',
  31. code: 'adminUser',
  32. parentCode: 'gaf',
  33. icon: 'el-icon-star-on',
  34. },
  35. {
  36. module: 'role',
  37. path: '/role/home',
  38. title: '系统角色',
  39. code: 'role',
  40. parentCode: 'gaf',
  41. icon: 'el-icon-star-on',
  42. },
  43. {
  44. module: 'roleMenu',
  45. path: '/roleMenu/home',
  46. title: '系统菜单',
  47. code: 'roleMenu',
  48. parentCode: 'gaf',
  49. icon: 'el-icon-star-on',
  50. },
  51. {
  52. module: 'log',
  53. path: '/log/home',
  54. title: '系统日志',
  55. code: 'log',
  56. parentCode: 'gaf',
  57. icon: 'el-icon-star-on',
  58. },
  59. // 内容管理
  60. {
  61. module: 'content',
  62. path: '',
  63. title: '内容管理',
  64. code: 'contentHome',
  65. parentCode: null,
  66. icon: 'el-icon-star-on',
  67. },
  68. {
  69. module: 'menus',
  70. path: '/menus/home',
  71. title: '菜单管理',
  72. code: 'menus',
  73. parentCode: 'contentHome',
  74. icon: 'el-icon-star-on',
  75. },
  76. {
  77. module: 'column',
  78. path: '/column/home',
  79. title: '栏目管理',
  80. code: 'column',
  81. parentCode: 'contentHome',
  82. icon: 'el-icon-star-on',
  83. },
  84. {
  85. module: 'imgNews',
  86. path: '/imgNews/home',
  87. title: '图片新闻管理',
  88. code: 'imgNews',
  89. parentCode: 'contentHome',
  90. icon: 'el-icon-star-on',
  91. },
  92. {
  93. module: 'pages',
  94. path: '/pages/home',
  95. title: '单页管理',
  96. code: 'pages',
  97. parentCode: 'contentHome',
  98. icon: 'el-icon-star-on',
  99. },
  100. {
  101. module: 'contents',
  102. path: '/contents/home',
  103. title: '文章管理',
  104. code: 'contents',
  105. parentCode: 'contentHome',
  106. icon: 'el-icon-star-on',
  107. },
  108. {
  109. module: 'toConfig',
  110. path: '/toConfig/home',
  111. title: '网站配置',
  112. code: 'toConfig',
  113. parentCode: 'contentHome',
  114. icon: 'el-icon-star-on',
  115. },
  116. // 期刊管理
  117. {
  118. module: 'journal',
  119. path: '',
  120. title: '期刊管理',
  121. code: 'journalHome',
  122. parentCode: null,
  123. icon: 'el-icon-star-on',
  124. },
  125. {
  126. module: 'intact',
  127. path: '/intact/home',
  128. title: '期刊栏目',
  129. code: 'intact',
  130. parentCode: 'journalHome',
  131. icon: 'el-icon-star-on',
  132. },
  133. {
  134. module: 'catalogue',
  135. path: '/catalogue/home',
  136. title: '期刊目录',
  137. code: 'catalogue',
  138. parentCode: 'journalHome',
  139. icon: 'el-icon-star-on',
  140. },
  141. // 商城商品
  142. {
  143. module: 'marketgoods',
  144. path: '',
  145. title: '商城商品',
  146. code: 'marketgoods',
  147. parentCode: null,
  148. icon: 'el-icon-star-on',
  149. },
  150. // 商品管理
  151. {
  152. module: 'goods',
  153. path: '/goods/home',
  154. title: '货品管理',
  155. code: 'goodsHome',
  156. parentCode: 'marketgoods',
  157. icon: 'el-icon-star-on',
  158. },
  159. // 商城管理
  160. {
  161. module: 'market',
  162. path: '/market/home',
  163. title: '商品管理',
  164. code: 'marketHome',
  165. parentCode: 'marketgoods',
  166. icon: 'el-icon-star-on',
  167. },
  168. // 用户会员
  169. {
  170. module: 'uservip',
  171. path: '',
  172. title: '用户会员',
  173. code: 'uservip',
  174. parentCode: null,
  175. icon: 'el-icon-star-on',
  176. },
  177. // 客户端用户管理
  178. {
  179. module: 'clientUser',
  180. path: '/clientUser/home',
  181. title: '用户管理',
  182. code: 'clientUserHome',
  183. parentCode: 'uservip',
  184. icon: 'el-icon-star-on',
  185. },
  186. // vip
  187. {
  188. module: 'clientVip',
  189. path: '/clientVip/home',
  190. title: '会员管理',
  191. code: 'clientVipHome',
  192. parentCode: 'uservip',
  193. icon: 'el-icon-star-on',
  194. },
  195. // 机构管理
  196. {
  197. module: 'org',
  198. path: '/org/home',
  199. title: '机构管理',
  200. code: 'orgHome',
  201. parentCode: 'uservip',
  202. icon: 'el-icon-star-on',
  203. },
  204. // 活动管理
  205. {
  206. module: 'activity',
  207. path: '/activity/home',
  208. title: '活动管理',
  209. code: 'activityHome',
  210. parentCode: null,
  211. icon: 'el-icon-star-on',
  212. },
  213. // 投稿
  214. {
  215. module: 'contribution',
  216. path: '/contribution/home',
  217. title: '投稿管理',
  218. code: 'contributionHome',
  219. parentCode: null,
  220. icon: 'el-icon-star-on',
  221. },
  222. // 题库管理
  223. {
  224. module: 'problem',
  225. path: '',
  226. title: '题库管理',
  227. code: 'paperBank',
  228. parentCode: null,
  229. icon: 'el-icon-star-on',
  230. },
  231. // 题库
  232. {
  233. module: 'problem',
  234. path: '/problem/home',
  235. title: '问题管理',
  236. code: 'problemHome',
  237. parentCode: 'paperBank',
  238. icon: 'el-icon-star-on',
  239. },
  240. // 答题
  241. {
  242. module: 'paper',
  243. path: '/paper/home',
  244. title: '答题管理',
  245. code: 'paperHome',
  246. parentCode: 'paperBank',
  247. icon: 'el-icon-star-on',
  248. },
  249. // 文件管理
  250. {
  251. module: 'files',
  252. path: '/files/home',
  253. title: '文件管理',
  254. code: 'filesHome',
  255. parentCode: null,
  256. icon: 'el-icon-star-on',
  257. },
  258. // 留言评论
  259. {
  260. module: 'media',
  261. path: '',
  262. title: '留言评论',
  263. code: 'media',
  264. parentCode: null,
  265. icon: 'el-icon-star-on',
  266. },
  267. // 评论管理
  268. {
  269. module: 'discuss',
  270. path: '/discuss/home',
  271. title: '评论管理',
  272. code: 'discussHome',
  273. parentCode: 'media',
  274. icon: 'el-icon-star-on',
  275. },
  276. // 留言管理
  277. {
  278. module: 'leave',
  279. path: '/leave/home',
  280. title: '留言管理',
  281. code: 'leaveHome',
  282. parentCode: 'media',
  283. icon: 'el-icon-star-on',
  284. },
  285. // 积分管理
  286. {
  287. module: 'integral',
  288. path: '',
  289. title: '积分管理',
  290. code: 'integral',
  291. parentCode: null,
  292. icon: 'el-icon-star-on',
  293. },
  294. // 积分管理
  295. {
  296. module: 'integral',
  297. path: '/integral/home',
  298. title: '积分管理',
  299. code: 'integralHome',
  300. parentCode: 'integral',
  301. icon: 'el-icon-star-on',
  302. },
  303. // 积分日志
  304. {
  305. module: 'integralLog',
  306. path: '/integralLog/home',
  307. title: '积分日志',
  308. code: 'integralloglHome',
  309. parentCode: 'integral',
  310. icon: 'el-icon-star-on',
  311. },
  312. ];
  313. module.exports.data = data;