menu-list-sp.js 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760
  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. id: 'app-user',
  425. icon: 'el-icon-user-solid',
  426. name: 'app账号管理',
  427. url: 'sa-view/app-user/app-user-list.html',
  428. childList: [
  429. {
  430. id: 'app-user-add',
  431. name: '添加',
  432. isShow: false
  433. },
  434. {
  435. id: 'app-user-edit',
  436. name: '更新',
  437. isShow: false
  438. },
  439. {
  440. id: 'app-user-del',
  441. name: '删除',
  442. isShow: false
  443. },
  444. ]
  445. },
  446. ]
  447. }, {
  448. id: 'trade-manager',
  449. name: '贸易管理',
  450. parent: true,
  451. icon: 'el-icon-s-unfold',
  452. childList: [
  453. {
  454. id: 'tb-goods-units',
  455. name: '计价单位',
  456. url: 'sa-view/tb-goods-units/tb-goods-units-list.html',
  457. childList: [{
  458. id: 'tb-goods-units-add',
  459. name: '计价单位添加',
  460. isShow: false
  461. },
  462. {
  463. id: 'tb-goods-units-edit',
  464. name: '计价单位更新',
  465. isShow: false
  466. },
  467. {
  468. id: 'tb-goods-units-del',
  469. name: '计价单位删除',
  470. isShow: false
  471. },
  472. ]
  473. },
  474. {
  475. id: 'tb-goods-type',
  476. name: '商品分类',
  477. url: 'sa-view/tb-goods-type/tb-goods-type-list.html',
  478. childList: [{
  479. id: 'tb-goods-type-add',
  480. name: '商品分类添加',
  481. isShow: true
  482. },
  483. {
  484. id: 'tb-goods-type-edit',
  485. name: '商品分类更新',
  486. isShow: true
  487. },
  488. {
  489. id: 'tb-goods-type-del',
  490. name: '商品分类删除',
  491. isShow: true
  492. },
  493. ]
  494. },
  495. {
  496. id: 'tb-goods',
  497. name: '监管商品',
  498. url: 'sa-view/tb-goods/tb-goods-list.html',
  499. childList: [{
  500. id: 'tb-goods-add',
  501. name: '商品添加',
  502. isShow: false
  503. },
  504. {
  505. id: 'tb-goods-edit',
  506. name: '商品更新',
  507. isShow: false
  508. },
  509. {
  510. id: 'tb-goods-del',
  511. name: '商品删除',
  512. isShow: false
  513. },
  514. ]
  515. },
  516. {
  517. id: 'order-list',
  518. name: '订单管理',
  519. parent: true,
  520. icon: 'el-icon-s-grid',
  521. childList: [
  522. {
  523. id: 'ht-trade-settlement',
  524. name: '进境申报单',
  525. url: 'sa-view/ht-trade-settlement/ht-trade-settlement-list.html',
  526. childList: [{
  527. id: 'ht-trade-settlement-add',
  528. name: '添加订单',
  529. isShow: false
  530. },
  531. {
  532. id: 'ht-trade-settlement-edit',
  533. name: '修改订单',
  534. isShow: false
  535. },
  536. {
  537. id: 'ht-trade-settlement-del',
  538. name: '删除订单',
  539. isShow: false
  540. },
  541. ]
  542. },
  543. {
  544. id: 'tb-order',
  545. name: '边民订单',
  546. url: 'sa-view/tb-order/tb-order-list.html',
  547. childList: [{
  548. id: 'tb-order-add',
  549. name: '添加订单',
  550. isShow: false
  551. },
  552. {
  553. id: 'tb-order-edit',
  554. name: '修改订单',
  555. isShow: false
  556. },
  557. {
  558. id: 'tb-order-del',
  559. name: '删除订单',
  560. isShow: false
  561. },
  562. ]
  563. },
  564. {
  565. id: 'tb-import-order',
  566. name: '进口申报单',
  567. url: 'sa-view/tb-import-order/tb-import-order-list.html',
  568. childList: [
  569. {id:'tb-import-order-add',name:'订单添加',isShow:false},
  570. {id:'tb-import-order-edit',name:'订单更新',isShow:false},
  571. {id:'tb-import-order-del',name:'订单删除',isShow:false},
  572. ]
  573. },
  574. {
  575. id: 'tb-import-goods',
  576. name: '进口申报单商品管理',
  577. url: 'sa-view/tb-import-goods/tb-import-goods-list.html',
  578. childList: [
  579. {id:'tb-import-goods-add',name:'订单添加',isShow:false},
  580. {id:'tb-import-goods-edit',name:'订单更新',isShow:false},
  581. {id:'tb-import-goods-del',name:'订单删除',isShow:false},
  582. ]
  583. },
  584. {
  585. id: 'tb-orders',
  586. name: '二级市场订单',
  587. url: 'sa-view/tb-orders/tb-orders-list.html',
  588. childList: [{
  589. id: 'tb-orders-add',
  590. name: '添加订单',
  591. isShow: false
  592. },
  593. {
  594. id: 'tb-orders-edit',
  595. name: '修改订单',
  596. isShow: false
  597. },
  598. {
  599. id: 'tb-orders-del',
  600. name: '删除订单',
  601. isShow: false
  602. },
  603. ]
  604. }
  605. ]
  606. },
  607. {
  608. id: 'tb-order-goods',
  609. name: '订单商品管理',
  610. icon: 'el-icon-folder-opened',
  611. parent:true,
  612. info: '订单商品表表数据的维护',
  613. childList: [
  614. {id: 'tb-order-goods-list', name: '订单商品表-列表', url: 'sa-view/tb-order-goods/tb-order-goods-list.html',
  615. childList:[
  616. {id:'tb-order-goods-add',name:'订单商品表添加',isShow:false},
  617. {id:'tb-order-goods-edit',name:'订单商品表更新',isShow:false},
  618. {id:'tb-order-goods-del',name:'订单商品表删除',isShow:false},
  619. ]
  620. },
  621. ]
  622. },
  623. ]
  624. }, {
  625. id: 'transport-sys',
  626. name: '货运管理',
  627. parent: true,
  628. icon: 'el-icon-s-grid',
  629. childList: [{
  630. id: 'tb-driver',
  631. icon: 'el-icon-s-custom',
  632. name: '司机管理',
  633. url: 'sa-view/tb-driver/tb-driver-list.html',
  634. childList: [{
  635. id: 'tb-driver-add',
  636. name: '司机添加',
  637. isShow: true
  638. },
  639. {
  640. id: 'tb-driver-edit',
  641. name: '司机更新',
  642. isShow: true
  643. },
  644. {
  645. id: 'tb-driver-del',
  646. name: '司机删除',
  647. isShow: true
  648. },
  649. ]
  650. },
  651. {
  652. id: 'tb-vehicle',
  653. icon: 'el-icon-s-check',
  654. name: '车辆管理',
  655. url: 'sa-view/tb-vehicle/tb-vehicle-list.html',
  656. childList: [{
  657. id: 'tb-vehicle-add',
  658. name: '车辆添加',
  659. isShow: true
  660. },
  661. {
  662. id: 'tb-vehicle-edit',
  663. name: '车辆更新',
  664. isShow: true
  665. },
  666. {
  667. id: 'tb-vehicle-del',
  668. name: '车辆删除',
  669. isShow: true
  670. },
  671. ]
  672. }
  673. ]
  674. }, {
  675. id: 'tb-fee-manager',
  676. name: '费项管理',
  677. parent: true,
  678. icon: 'el-icon-s-shop',
  679. childList: [{
  680. id: 'tb-company-list',
  681. name: '收费企业',
  682. icon: 'el-icon-folder-opened',
  683. info: '企业管理表数据的维护',
  684. url: 'sa-view/tb-company/tb-company-list.html',
  685. childList: [{
  686. id: 'tb-company-add',
  687. name: '企业添加',
  688. isShow: false
  689. },
  690. {
  691. id: 'tb-company-edit',
  692. name: '企业更新',
  693. isShow: false
  694. },
  695. {
  696. id: 'tb-company-del',
  697. name: '企业删除',
  698. isShow: false
  699. },
  700. ]
  701. },
  702. {
  703. id: 'tb-fee-item-list',
  704. name: '费用管理',
  705. icon: 'el-icon-folder-opened',
  706. info: '费项管理表数据的维护',
  707. url: 'sa-view/tb-fee-item/tb-fee-item-list.html',
  708. childList: [{
  709. id: 'tb-fee-item-add',
  710. name: '费项添加',
  711. isShow: false
  712. },
  713. {
  714. id: 'tb-fee-item-edit',
  715. name: '费项更新',
  716. isShow: false
  717. },
  718. {
  719. id: 'tb-fee-item-del',
  720. name: '费项删除',
  721. isShow: false
  722. },
  723. ]
  724. },
  725. {
  726. id: 'tb-people-profit-list',
  727. name: '边民收益设置',
  728. icon: 'el-icon-folder-opened',
  729. info: '费项管理表数据的维护',
  730. url: 'sa-view/tb-people-profit/tb-people-profit-set.html',
  731. childList: [{
  732. id: 'tb-people-profit',
  733. name: '收益设置',
  734. isShow: false
  735. }, ]
  736. },
  737. {
  738. id: 'tb-fee-item-record',
  739. name: '收费记录',
  740. icon: 'el-icon-folder-opened',
  741. url: 'sa-view/tb-fee-item-record/tb-fee-item-record-list.html'
  742. },
  743. {
  744. id: 'tb-people-profit-record-list',
  745. name: '边民收益记录',
  746. icon: 'el-icon-folder-opened',
  747. url: 'sa-view/tb-people-profit-record/tb-people-profit-record-list.html',
  748. childList: [
  749. ]
  750. }
  751. ]
  752. }
  753. );