menu-list-sp.js 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686
  1. // 此处定义所有有关 sa-plus 的路由菜单
  2. // 如需添加自定义菜单,请不要更改此文件,请在 menu-list.js 里添加 (没有这个文件就新建)
  3. window.menuList = window.menuList || [];
  4. window.menuList.unshift({
  5. id: 'bas',
  6. name: '身份相关',
  7. isShow: false, // 隐藏显示
  8. info: '身份相关权限,不显示在菜单上',
  9. childList: [{
  10. id: '1',
  11. name: '身份-超管',
  12. info: '最高权限,超管身份的代表(请谨慎授权)',
  13. isShow: false
  14. },
  15. {
  16. id: '11',
  17. name: '身份-普通账号',
  18. isShow: false,
  19. info: '无特殊权限'
  20. },
  21. {
  22. id: '99',
  23. name: '允许进入后台管理',
  24. isShow: false,
  25. info: '只有拥有这个权限的角色才可以进入后台'
  26. },
  27. ]
  28. }, {
  29. id: 'console',
  30. name: '监控中心',
  31. icon: 'el-icon-view',
  32. info: '对本系统的各种监控',
  33. parent: true,
  34. childList: [{
  35. id: 'sql-console',
  36. name: 'SQL监控台',
  37. url: 'sa-view-sp/sp-console/sql-console.html',
  38. info: 'sql控制台'
  39. },
  40. {
  41. id: 'redis-console',
  42. name: 'Redis控制台',
  43. url: 'sa-view-sp/sp-console/redis-console.html',
  44. info: 'redis常用工具'
  45. },
  46. {
  47. id: 'apilog-list',
  48. name: 'API请求日志',
  49. url: 'sa-view-sp/sp-apilog/api-log-list.html',
  50. info: '记录本系统所有的api请求'
  51. },
  52. {
  53. id: 'form-generator',
  54. name: '在线表单构建',
  55. url: 'https://mrhj.gitee.io/form-generator/#/'
  56. },
  57. ]
  58. }, {
  59. id: 'auth',
  60. name: '权限控制',
  61. parent: true,
  62. icon: 'el-icon-unlock',
  63. info: '对系统角色权限的分配等设计,敏感度较高,请谨慎授权',
  64. childList: [{
  65. id: 'role-list',
  66. name: '角色列表',
  67. url: 'sa-view-sp/sp-role/role-list.html',
  68. info: '管理系统各种角色',
  69. childList: [{
  70. id: 'role-add',
  71. name: '添加角色',
  72. info: '添加角色的权限',
  73. isShow: false
  74. }]
  75. },
  76. {
  77. id: 'menu-list',
  78. name: '菜单列表',
  79. url: 'sa-view-sp/sp-role/menu-list.html',
  80. info: '所有菜单项预览'
  81. },
  82. {
  83. id: 'admin-list',
  84. name: '管理员列表',
  85. url: 'sa-view-sp/sp-admin/admin-list.html',
  86. info: '所有管理员账号'
  87. },
  88. {
  89. id: 'admin-add',
  90. name: '管理员添加',
  91. url: 'sa-view-sp/sp-admin/admin-add.html',
  92. info: '添加一个管理员'
  93. },
  94. // {id: 'apilog-list', name: '请求日志监控', url: 'sa-view-sp/sp-apilog/api-log-list.html', info: '记录本系统所有的api请求'},
  95. ]
  96. }, {
  97. id: 'sp-cfg',
  98. name: '系统配置',
  99. icon: 'el-icon-setting',
  100. parent: true,
  101. info: '有关系统的一些配置',
  102. childList: [{
  103. id: 'sp-cfg-app',
  104. name: '系统对公配置',
  105. url: 'sa-view-sp/sp-cfg/app-cfg.html'
  106. },
  107. {
  108. id: 'sp-cfg-server',
  109. name: '服务器私有配置',
  110. url: 'sa-view-sp/sp-cfg/server-cfg.html'
  111. },
  112. {
  113. id: 'tb-port-news',
  114. name: '口岸资讯管理',
  115. url: 'sa-view/tb-port-news/tb-port-news-list.html',
  116. childList: [{
  117. id: 'tb-port-news-add',
  118. name: '口岸资讯添加',
  119. isShow: true
  120. },
  121. {
  122. id: 'tb-port-news-edit',
  123. name: '口岸资讯更新',
  124. isShow: true
  125. },
  126. {
  127. id: 'tb-port-news-del',
  128. name: '口岸资讯删除',
  129. isShow: true
  130. },
  131. ]
  132. },
  133. {
  134. id: 'tb-banner',
  135. name: '轮播图',
  136. url: 'sa-view/tb-banner/tb-banner-list.html',
  137. childList: [{
  138. id: 'tb-banner-add',
  139. name: '轮播图添加',
  140. isShow: true
  141. },
  142. {
  143. id: 'tb-banner-edit',
  144. name: '轮播图更新',
  145. isShow: true
  146. },
  147. {
  148. id: 'tb-banner-del',
  149. name: '轮播图删除',
  150. isShow: true
  151. },
  152. ]
  153. },
  154. {
  155. id: 'tb-agreement',
  156. name: '隐私政策&协议',
  157. url: 'sa-view/tb-agreement/tb-agreement-list.html',
  158. childList: [{
  159. id: 'tb-agreement-add',
  160. name: '协议表添加',
  161. isShow: true
  162. },
  163. {
  164. id: 'tb-agreement-edit',
  165. name: '协议表更新',
  166. isShow: true
  167. },
  168. {
  169. id: 'tb-agreement-del',
  170. name: '协议表删除',
  171. isShow: true
  172. },
  173. ]
  174. },
  175. ]
  176. }, {
  177. id: 'tb-base-data',
  178. name: '基础数据管理',
  179. parent: true,
  180. icon: 'el-icon-copy-document',
  181. childList: [{
  182. id: 'tb-trade-area',
  183. icon: 'el-icon-s-management',
  184. name: '贸易区域管理',
  185. url: 'sa-view/tb-trade-area/tb-trade-area-list.html',
  186. childList: [{
  187. id: 'tb-trade-area-add',
  188. name: '贸易区域添加',
  189. isShow: false
  190. },
  191. {
  192. id: 'tb-trade-area-edit',
  193. name: '贸易区域更新',
  194. isShow: false
  195. },
  196. {
  197. id: 'tb-trade-area-del',
  198. name: '贸易区域删除',
  199. isShow: false
  200. },
  201. ]
  202. },
  203. {
  204. id: 'tb-group',
  205. icon: 'el-icon-s-data',
  206. name: '互助组管理',
  207. url: 'sa-view/tb-group/tb-group-list.html',
  208. childList: [{
  209. id: 'tb-group-add',
  210. name: '互助组添加',
  211. isShow: false
  212. },
  213. {
  214. id: 'tb-group-edit',
  215. name: '互助组更新',
  216. isShow: false
  217. },
  218. {
  219. id: 'tb-group-del',
  220. name: '互助组删除',
  221. isShow: false
  222. },
  223. {
  224. id: 'tb-member-list',
  225. name: '查寻组内成员',
  226. isShow: false
  227. },
  228. ]
  229. },
  230. {
  231. id: 'tb-people',
  232. icon: 'el-icon-user',
  233. name: '边民管理',
  234. url: 'sa-view/tb-people/tb-people-list.html',
  235. childList: [{
  236. id: 'tb-people-add',
  237. name: '边民添加',
  238. isShow: false
  239. },
  240. {
  241. id: 'tb-people-edit',
  242. name: '边民更新',
  243. isShow: false
  244. },
  245. {
  246. id: 'tb-people-del',
  247. name: '边民删除',
  248. isShow: false
  249. },
  250. ]
  251. },
  252. {
  253. id: 'tb-enterprise-judge',
  254. icon: 'el-icon-s-check',
  255. name: '商户审核',
  256. url: 'sa-view/tb-enterprise/tb-enterprise-judge.html',
  257. childList: [{
  258. id: 'tb-enterprise-judge',
  259. name: '商户审核',
  260. isShow: false
  261. }, ]
  262. },
  263. {
  264. id: 'tb-enterprise',
  265. icon: 'el-icon-film',
  266. name: '商户列表',
  267. url: 'sa-view/tb-enterprise/tb-enterprise-list.html',
  268. childList: [{
  269. id: 'tb-enterprise-add',
  270. name: '商家添加',
  271. isShow: false
  272. },
  273. {
  274. id: 'tb-enterprise-edit',
  275. name: '商家更新',
  276. isShow: false
  277. },
  278. {
  279. id: 'tb-enterprise-del',
  280. name: '商家删除',
  281. isShow: false
  282. },
  283. ]
  284. },
  285. {
  286. id: 'tb-shop',
  287. icon: 'el-icon-receiving',
  288. name: '商铺管理',
  289. url: 'sa-view/tb-shop/tb-shop-list.html',
  290. childList: [{
  291. id: 'tb-shop-add',
  292. name: '商铺添加',
  293. isShow: false
  294. },
  295. {
  296. id: 'tb-shop-edit',
  297. name: '商铺更新',
  298. isShow: false
  299. },
  300. {
  301. id: 'tb-shop-del',
  302. name: '商铺删除',
  303. isShow: false
  304. },
  305. ]
  306. },
  307. {
  308. id: 'tb-purchaser-judge',
  309. icon: 'el-icon-s-check',
  310. name: '收购商审核',
  311. url: 'sa-view/tb-purchaser/tb-purchaser-judge.html',
  312. childList: [{
  313. id: 'tb-purchaser-judge',
  314. name: '收购商审核',
  315. isShow: false
  316. }, ]
  317. },
  318. {
  319. id: 'tb-purchaser',
  320. icon: 'el-icon-film',
  321. name: '收购商列表',
  322. url: 'sa-view/tb-purchaser/tb-purchaser-list.html',
  323. childList: [{
  324. id: 'tb-purchaser-add',
  325. name: '收购商添加',
  326. isShow: false
  327. },
  328. {
  329. id: 'tb-purchaser-edit',
  330. name: '收购商更新',
  331. isShow: false
  332. },
  333. {
  334. id: 'tb-purchaser-del',
  335. name: '收购商删除',
  336. isShow: false
  337. },
  338. ]
  339. },
  340. {
  341. id: 'tb-message',
  342. name: '通知消息',
  343. icon: 'el-icon-receiving',
  344. url: 'sa-view/tb-message/tb-message-list.html',
  345. childList: [{
  346. id: 'tb-message-add',
  347. name: '通知消息添加',
  348. isShow: false
  349. },
  350. {
  351. id: 'tb-message-edit',
  352. name: '通知消息更新',
  353. isShow: false
  354. },
  355. {
  356. id: 'tb-message-del',
  357. name: '通知消息删除',
  358. isShow: false
  359. },
  360. ]
  361. },
  362. {
  363. id: 'app-user-login-log',
  364. name: '移动端登录日志',
  365. icon: 'el-icon-receiving',
  366. url: 'sa-view/app-user-login-log/app-user-login-log-list.html',
  367. childList: [{
  368. id: 'app-user-login-log-del',
  369. name: '删除',
  370. isShow: false
  371. }, ]
  372. },
  373. ]
  374. }, {
  375. id: 'app-setting',
  376. name: '移动端管理',
  377. icon: 'el-icon-mobile-phone',
  378. parent: true,
  379. childList: [{
  380. id: 'app-menu',
  381. icon: 'el-icon-s-operation',
  382. name: '菜单管理',
  383. url: 'sa-view/app-menu/app-menu-list.html',
  384. childList: [{
  385. id: 'app-menu-add',
  386. name: 'app菜单管理添加',
  387. isShow: false
  388. },
  389. {
  390. id: 'app-menu-edit',
  391. name: 'app菜单管理更新',
  392. isShow: false
  393. },
  394. {
  395. id: 'app-menu-del',
  396. name: 'app菜单管理删除',
  397. isShow: false
  398. },
  399. ]
  400. },
  401. {
  402. id: 'app-role',
  403. icon: 'el-icon-user-solid',
  404. name: '角色管理',
  405. url: 'sa-view/app-role/app-role-list.html',
  406. childList: [{
  407. id: 'app-role-add',
  408. name: '添加',
  409. isShow: false
  410. },
  411. {
  412. id: 'app-role-edit',
  413. name: '更新',
  414. isShow: false
  415. },
  416. {
  417. id: 'app-role-del',
  418. name: '删除',
  419. isShow: false
  420. },
  421. ]
  422. },
  423. ]
  424. }, {
  425. id: 'trade-manager',
  426. name: '贸易管理',
  427. parent: true,
  428. icon: 'el-icon-s-unfold',
  429. childList: [
  430. {
  431. id: 'tb-goods-units',
  432. name: '计价单位',
  433. url: 'sa-view/tb-goods-units/tb-goods-units-list.html',
  434. childList: [{
  435. id: 'tb-goods-units-add',
  436. name: '计价单位添加',
  437. isShow: false
  438. },
  439. {
  440. id: 'tb-goods-units-edit',
  441. name: '计价单位更新',
  442. isShow: false
  443. },
  444. {
  445. id: 'tb-goods-units-del',
  446. name: '计价单位删除',
  447. isShow: false
  448. },
  449. ]
  450. },
  451. {
  452. id: 'tb-goods-type',
  453. name: '商品分类',
  454. url: 'sa-view/tb-goods-type/tb-goods-type-list.html',
  455. childList: [{
  456. id: 'tb-goods-type-add',
  457. name: '商品分类添加',
  458. isShow: true
  459. },
  460. {
  461. id: 'tb-goods-type-edit',
  462. name: '商品分类更新',
  463. isShow: true
  464. },
  465. {
  466. id: 'tb-goods-type-del',
  467. name: '商品分类删除',
  468. isShow: true
  469. },
  470. ]
  471. },
  472. {
  473. id: 'tb-goods',
  474. name: '监管商品',
  475. url: 'sa-view/tb-goods/tb-goods-list.html',
  476. childList: [{
  477. id: 'tb-goods-add',
  478. name: '商品添加',
  479. isShow: false
  480. },
  481. {
  482. id: 'tb-goods-edit',
  483. name: '商品更新',
  484. isShow: false
  485. },
  486. {
  487. id: 'tb-goods-del',
  488. name: '商品删除',
  489. isShow: false
  490. },
  491. ]
  492. },
  493. {
  494. id: 'tb-goods-demand',
  495. name: '收购需求',
  496. url: 'sa-view/tb-goods-demand/tb-goods-demand-list.html',
  497. childList: [{
  498. id: 'tb-goods-demand-add',
  499. name: '二级收购商需求发布表添加',
  500. isShow: false
  501. },
  502. {
  503. id: 'tb-goods-demand-edit',
  504. name: '二级收购商需求发布表更新',
  505. isShow: false
  506. },
  507. {
  508. id: 'tb-goods-demand-del',
  509. name: '二级收购商需求发布表删除',
  510. isShow: false
  511. },
  512. ]
  513. },
  514. {
  515. id: 'order-list',
  516. name: '订单管理',
  517. parent: true,
  518. icon: 'el-icon-s-grid',
  519. childList: [{
  520. id: 'tb-order',
  521. name: '一级市场订单',
  522. url: 'sa-view/tb-order/tb-order-list.html'
  523. },
  524. {
  525. id: 'tb-two-market-orders',
  526. name: '二级市场订单',
  527. url: 'sa-view/tb-two-market-orders/tb-two-market-orders-list.html'
  528. }
  529. ]
  530. },
  531. {
  532. id: 'tb-order-after-sale-list',
  533. name: '售后管理',
  534. url: 'sa-view/tb-order-after-sale/tb-order-after-sale-list.html',
  535. },
  536. ]
  537. }, {
  538. id: 'transport-sys',
  539. name: '货运管理',
  540. parent: true,
  541. icon: 'el-icon-s-grid',
  542. childList: [{
  543. id: 'tb-driver',
  544. icon: 'el-icon-s-custom',
  545. name: '司机管理',
  546. url: 'sa-view/tb-driver/tb-driver-list.html',
  547. childList: [{
  548. id: 'tb-driver-add',
  549. name: '司机添加',
  550. isShow: true
  551. },
  552. {
  553. id: 'tb-driver-edit',
  554. name: '司机更新',
  555. isShow: true
  556. },
  557. {
  558. id: 'tb-driver-del',
  559. name: '司机删除',
  560. isShow: true
  561. },
  562. ]
  563. },
  564. {
  565. id: 'tb-vehicle',
  566. icon: 'el-icon-s-check',
  567. name: '车辆管理',
  568. url: 'sa-view/tb-vehicle/tb-vehicle-list.html',
  569. childList: [{
  570. id: 'tb-vehicle-add',
  571. name: '车辆添加',
  572. isShow: true
  573. },
  574. {
  575. id: 'tb-vehicle-edit',
  576. name: '车辆更新',
  577. isShow: true
  578. },
  579. {
  580. id: 'tb-vehicle-del',
  581. name: '车辆删除',
  582. isShow: true
  583. },
  584. ]
  585. },
  586. {
  587. id: 'tb-orders',
  588. name: '物流订单表',
  589. icon: 'el-icon-folder-opened',
  590. parent: true,
  591. info: '物流订单表表数据的维护',
  592. childList: [{
  593. id: 'tb-orders',
  594. name: '物流订单表-列表',
  595. url: 'sa-view/tb-orders/tb-orders-list.html'
  596. }, ]
  597. },
  598. ]
  599. }, {
  600. id: 'tb-fee-manager',
  601. name: '费项管理',
  602. parent: true,
  603. icon: 'el-icon-s-shop',
  604. childList: [{
  605. id: 'tb-company-list',
  606. name: '收费企业',
  607. icon: 'el-icon-folder-opened',
  608. info: '企业管理表数据的维护',
  609. url: 'sa-view/tb-company/tb-company-list.html',
  610. childList: [{
  611. id: 'tb-company-add',
  612. name: '企业添加',
  613. isShow: false
  614. },
  615. {
  616. id: 'tb-company-edit',
  617. name: '企业更新',
  618. isShow: false
  619. },
  620. {
  621. id: 'tb-company-del',
  622. name: '企业删除',
  623. isShow: false
  624. },
  625. ]
  626. },
  627. {
  628. id: 'tb-fee-item-list',
  629. name: '费用管理',
  630. icon: 'el-icon-folder-opened',
  631. info: '费项管理表数据的维护',
  632. url: 'sa-view/tb-fee-item/tb-fee-item-list.html',
  633. childList: [{
  634. id: 'tb-fee-item-add',
  635. name: '费项添加',
  636. isShow: false
  637. },
  638. {
  639. id: 'tb-fee-item-edit',
  640. name: '费项更新',
  641. isShow: false
  642. },
  643. {
  644. id: 'tb-fee-item-del',
  645. name: '费项删除',
  646. isShow: false
  647. },
  648. ]
  649. },
  650. {
  651. id: 'tb-people-profit-list',
  652. name: '边民收益设置',
  653. icon: 'el-icon-folder-opened',
  654. info: '费项管理表数据的维护',
  655. url: 'sa-view/tb-people-profit/tb-people-profit-set.html',
  656. childList: [{
  657. id: 'tb-people-profit',
  658. name: '收益设置',
  659. isShow: false
  660. }, ]
  661. },
  662. {
  663. id: 'tb-fee-item-record-list',
  664. name: '收费记录',
  665. icon: 'el-icon-folder-opened',
  666. url: 'sa-view/tb-fee-item-record/tb-fee-item-record-list.html'
  667. },
  668. {
  669. id: 'tb-people-profit-record-list',
  670. name: '边民收益记录',
  671. icon: 'el-icon-folder-opened',
  672. url: 'sa-view/tb-people-profit-record/tb-people-profit-record-list.html',
  673. childList: [
  674. ]
  675. }
  676. ]
  677. }
  678. );