menu-list-sp.js 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767
  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. {
  104. id: 'sp-cfg-app',
  105. name: '系统对公配置',
  106. url: 'sa-view-sp/sp-cfg/app-cfg.html'
  107. },
  108. {
  109. id: 'sp-cfg-server',
  110. name: '服务器私有配置',
  111. url: 'sa-view-sp/sp-cfg/server-cfg.html'
  112. },
  113. {
  114. id: 'tb-port-news',
  115. name: '口岸资讯管理',
  116. url: 'sa-view/tb-port-news/tb-port-news-list.html',
  117. childList: [{
  118. id: 'tb-port-news-add',
  119. name: '口岸资讯添加',
  120. isShow: true
  121. },
  122. {
  123. id: 'tb-port-news-edit',
  124. name: '口岸资讯更新',
  125. isShow: true
  126. },
  127. {
  128. id: 'tb-port-news-del',
  129. name: '口岸资讯删除',
  130. isShow: true
  131. },
  132. ]
  133. },
  134. {
  135. id: 'tb-banner',
  136. name: '轮播图',
  137. url: 'sa-view/tb-banner/tb-banner-list.html',
  138. childList: [{
  139. id: 'tb-banner-add',
  140. name: '轮播图添加',
  141. isShow: true
  142. },
  143. {
  144. id: 'tb-banner-edit',
  145. name: '轮播图更新',
  146. isShow: true
  147. },
  148. {
  149. id: 'tb-banner-del',
  150. name: '轮播图删除',
  151. isShow: true
  152. },
  153. ]
  154. },
  155. {
  156. id: 'tb-agreement',
  157. name: '隐私政策&协议',
  158. url: 'sa-view/tb-agreement/tb-agreement-list.html',
  159. childList: [{
  160. id: 'tb-agreement-add',
  161. name: '协议表添加',
  162. isShow: true
  163. },
  164. {
  165. id: 'tb-agreement-edit',
  166. name: '协议表更新',
  167. isShow: true
  168. },
  169. {
  170. id: 'tb-agreement-del',
  171. name: '协议表删除',
  172. isShow: true
  173. },
  174. ]
  175. },
  176. ]
  177. }, {
  178. id: 'tb-base-data',
  179. name: '基础数据管理',
  180. parent: true,
  181. icon: 'el-icon-copy-document',
  182. childList: [{
  183. id: 'tb-trade-area',
  184. icon: 'el-icon-s-management',
  185. name: '场所管理',
  186. url: 'sa-view/tb-trade-area/tb-trade-area-list.html',
  187. childList: [{
  188. id: 'tb-trade-area-add',
  189. name: '添加场所',
  190. isShow: false
  191. },
  192. {
  193. id: 'tb-trade-area-edit',
  194. name: '更新场所',
  195. isShow: false
  196. },
  197. {
  198. id: 'tb-trade-area-del',
  199. name: '删除场所',
  200. isShow: false
  201. },
  202. ]
  203. },
  204. {
  205. id: 'tb-group',
  206. icon: 'el-icon-s-data',
  207. name: '互助组管理',
  208. url: 'sa-view/tb-group/tb-group-list.html',
  209. childList: [{
  210. id: 'tb-group-add',
  211. name: '互助组添加',
  212. isShow: false
  213. },
  214. {
  215. id: 'tb-group-edit',
  216. name: '互助组更新',
  217. isShow: false
  218. },
  219. {
  220. id: 'tb-group-del',
  221. name: '互助组删除',
  222. isShow: false
  223. },
  224. {
  225. id: 'tb-member-list',
  226. name: '查寻组内成员',
  227. isShow: false
  228. },
  229. ]
  230. },
  231. {
  232. id: 'tb-people',
  233. icon: 'el-icon-user',
  234. name: '边民管理',
  235. url: 'sa-view/tb-people/tb-people-list.html',
  236. childList: [{
  237. id: 'tb-people-add',
  238. name: '边民添加',
  239. isShow: false
  240. },
  241. {
  242. id: 'tb-people-edit',
  243. name: '边民更新',
  244. isShow: false
  245. },
  246. {
  247. id: 'tb-people-del',
  248. name: '边民删除',
  249. isShow: false
  250. },
  251. ]
  252. },
  253. // {
  254. // id: 'tb-enterprise-judge',
  255. // icon: 'el-icon-s-check',
  256. // name: '商户审核',
  257. // url: 'sa-view/tb-enterprise/tb-enterprise-judge.html',
  258. // childList: [{
  259. // id: 'tb-enterprise-judge',
  260. // name: '商户审核',
  261. // isShow: false
  262. // }, ]
  263. // },
  264. {
  265. id: 'tb-enterprise',
  266. icon: 'el-icon-film',
  267. name: '商户列表',
  268. url: 'sa-view/tb-enterprise/tb-enterprise-list.html',
  269. childList: [{
  270. id: 'tb-enterprise-add',
  271. name: '商家添加',
  272. isShow: false
  273. },
  274. {
  275. id: 'tb-enterprise-edit',
  276. name: '商家更新',
  277. isShow: false
  278. },
  279. {
  280. id: 'tb-enterprise-del',
  281. name: '商家删除',
  282. isShow: false
  283. },
  284. ]
  285. },
  286. {
  287. id: 'tb-shop',
  288. icon: 'el-icon-receiving',
  289. name: '商铺管理',
  290. url: 'sa-view/tb-shop/tb-shop-list.html',
  291. childList: [{
  292. id: 'tb-shop-add',
  293. name: '商铺添加',
  294. isShow: false
  295. },
  296. {
  297. id: 'tb-shop-edit',
  298. name: '商铺更新',
  299. isShow: false
  300. },
  301. {
  302. id: 'tb-shop-del',
  303. name: '商铺删除',
  304. isShow: false
  305. },
  306. ]
  307. },
  308. {
  309. id: 'tb-purchaser-judge',
  310. icon: 'el-icon-s-check',
  311. name: '收购商审核',
  312. url: 'sa-view/tb-purchaser/tb-purchaser-judge.html',
  313. childList: [{
  314. id: 'tb-purchaser-judge',
  315. name: '收购商审核',
  316. isShow: false
  317. }, ]
  318. },
  319. {
  320. id: 'tb-purchaser',
  321. icon: 'el-icon-film',
  322. name: '收购商列表',
  323. url: 'sa-view/tb-purchaser/tb-purchaser-list.html',
  324. childList: [{
  325. id: 'tb-purchaser-add',
  326. name: '收购商添加',
  327. isShow: false
  328. },
  329. {
  330. id: 'tb-purchaser-edit',
  331. name: '收购商更新',
  332. isShow: false
  333. },
  334. {
  335. id: 'tb-purchaser-del',
  336. name: '收购商删除',
  337. isShow: false
  338. },
  339. ]
  340. },
  341. {
  342. id: 'tb-cooperative',
  343. icon: 'el-icon-film',
  344. name: '合作社列表',
  345. url: 'sa-view/tb-cooperative/tb-cooperative-list.html',
  346. childList: [{
  347. id: 'tb-cooperative-add',
  348. name: '添加合作社',
  349. isShow: false
  350. },
  351. {
  352. id: 'tb-cooperative-edit',
  353. name: '更新合作社',
  354. isShow: false
  355. },
  356. {
  357. id: 'tb-cooperative-del',
  358. name: '删除合作社',
  359. isShow: false
  360. },
  361. ]
  362. },
  363. {
  364. id: 'tb-message',
  365. name: '通知消息',
  366. icon: 'el-icon-receiving',
  367. url: 'sa-view/tb-message/tb-message-list.html',
  368. childList: [{
  369. id: 'tb-message-add',
  370. name: '通知消息添加',
  371. isShow: false
  372. },
  373. {
  374. id: 'tb-message-edit',
  375. name: '通知消息更新',
  376. isShow: false
  377. },
  378. {
  379. id: 'tb-message-del',
  380. name: '通知消息删除',
  381. isShow: false
  382. },
  383. ]
  384. },
  385. {
  386. id: 'app-user-login-log',
  387. name: '移动端登录日志',
  388. icon: 'el-icon-receiving',
  389. url: 'sa-view/app-user-login-log/app-user-login-log-list.html',
  390. childList: [{
  391. id: 'app-user-login-log-del',
  392. name: '删除',
  393. isShow: false
  394. }, ]
  395. },
  396. ]
  397. }, {
  398. id: 'app-setting',
  399. name: '移动端管理',
  400. icon: 'el-icon-mobile-phone',
  401. parent: true,
  402. childList: [{
  403. id: 'app-menu',
  404. icon: 'el-icon-s-operation',
  405. name: '菜单管理',
  406. url: 'sa-view/app-menu/app-menu-list.html',
  407. childList: [{
  408. id: 'app-menu-add',
  409. name: 'app菜单管理添加',
  410. isShow: false
  411. },
  412. {
  413. id: 'app-menu-edit',
  414. name: 'app菜单管理更新',
  415. isShow: false
  416. },
  417. {
  418. id: 'app-menu-del',
  419. name: 'app菜单管理删除',
  420. isShow: false
  421. },
  422. ]
  423. },
  424. {
  425. id: 'app-role',
  426. icon: 'el-icon-user-solid',
  427. name: '角色管理',
  428. url: 'sa-view/app-role/app-role-list.html',
  429. childList: [{
  430. id: 'app-role-add',
  431. name: '添加',
  432. isShow: false
  433. },
  434. {
  435. id: 'app-role-edit',
  436. name: '更新',
  437. isShow: false
  438. },
  439. {
  440. id: 'app-role-del',
  441. name: '删除',
  442. isShow: false
  443. },
  444. ]
  445. },
  446. {
  447. id: 'app-user',
  448. icon: 'el-icon-user-solid',
  449. name: 'app账号管理',
  450. url: 'sa-view/app-user/app-user-list.html',
  451. childList: [
  452. {
  453. id: 'app-user-add',
  454. name: '添加',
  455. isShow: false
  456. },
  457. {
  458. id: 'app-user-edit',
  459. name: '更新',
  460. isShow: false
  461. },
  462. {
  463. id: 'app-user-del',
  464. name: '删除',
  465. isShow: false
  466. },
  467. ]
  468. },
  469. ]
  470. }, {
  471. id: 'trade-manager',
  472. name: '贸易管理',
  473. parent: true,
  474. icon: 'el-icon-s-unfold',
  475. childList: [
  476. {
  477. id: 'tb-goods-units',
  478. name: '计价单位',
  479. url: 'sa-view/tb-goods-units/tb-goods-units-list.html',
  480. childList: [{
  481. id: 'tb-goods-units-add',
  482. name: '计价单位添加',
  483. isShow: false
  484. },
  485. {
  486. id: 'tb-goods-units-edit',
  487. name: '计价单位更新',
  488. isShow: false
  489. },
  490. {
  491. id: 'tb-goods-units-del',
  492. name: '计价单位删除',
  493. isShow: false
  494. },
  495. ]
  496. },
  497. {
  498. id: 'tb-goods-type',
  499. name: '商品分类',
  500. url: 'sa-view/tb-goods-type/tb-goods-type-list.html',
  501. childList: [{
  502. id: 'tb-goods-type-add',
  503. name: '商品分类添加',
  504. isShow: true
  505. },
  506. {
  507. id: 'tb-goods-type-edit',
  508. name: '商品分类更新',
  509. isShow: true
  510. },
  511. {
  512. id: 'tb-goods-type-del',
  513. name: '商品分类删除',
  514. isShow: true
  515. },
  516. ]
  517. },
  518. {
  519. id: 'tb-goods',
  520. name: '监管商品',
  521. url: 'sa-view/tb-goods/tb-goods-list.html',
  522. childList: [{
  523. id: 'tb-goods-add',
  524. name: '商品添加',
  525. isShow: false
  526. },
  527. {
  528. id: 'tb-goods-edit',
  529. name: '商品更新',
  530. isShow: false
  531. },
  532. {
  533. id: 'tb-goods-del',
  534. name: '商品删除',
  535. isShow: false
  536. },
  537. ]
  538. },
  539. {
  540. id: 'order-list',
  541. name: '订单管理',
  542. parent: true,
  543. //icon: 'el-icon-s-grid',
  544. childList: [
  545. {
  546. id: 'ht-trade-settlement',
  547. name: '进境结算单',
  548. url: 'sa-view/ht-trade-settlement/ht-trade-settlement-list.html',
  549. childList: [{
  550. id: 'ht-trade-settlement-add',
  551. name: '添加订单',
  552. isShow: false
  553. },
  554. {
  555. id: 'ht-trade-settlement-edit',
  556. name: '修改订单',
  557. isShow: false
  558. },
  559. {
  560. id: 'ht-trade-settlement-del',
  561. name: '删除订单',
  562. isShow: false
  563. },
  564. ]
  565. },
  566. {
  567. id: 'tb-order',
  568. name: '边民购买订单',
  569. url: 'sa-view/tb-order/tb-order-list.html',
  570. childList: [{
  571. id: 'tb-order-add',
  572. name: '添加订单',
  573. isShow: false
  574. },
  575. {
  576. id: 'tb-order-edit',
  577. name: '修改订单',
  578. isShow: false
  579. },
  580. {
  581. id: 'tb-order-del',
  582. name: '删除订单',
  583. isShow: false
  584. },
  585. ]
  586. },
  587. {
  588. id: 'tb-import-order',
  589. name: '进口申报单',
  590. url: 'sa-view/tb-import-order/tb-import-order-list.html',
  591. childList: [
  592. {id:'tb-import-order-add',name:'订单添加',isShow:false},
  593. {id:'tb-import-order-edit',name:'订单更新',isShow:false},
  594. {id:'tb-import-order-del',name:'订单删除',isShow:false},
  595. ]
  596. },
  597. {
  598. id: 'tb-import-goods',
  599. name: '进口申报单商品管理',
  600. url: 'sa-view/tb-import-goods/tb-import-goods-list.html',
  601. childList: [
  602. {id:'tb-import-goods-add',name:'订单添加',isShow:false},
  603. {id:'tb-import-goods-edit',name:'订单更新',isShow:false},
  604. {id:'tb-import-goods-del',name:'订单删除',isShow:false},
  605. ]
  606. },
  607. {
  608. id: 'tb-orders',
  609. name: '二级市场订单',
  610. url: 'sa-view/tb-orders/tb-orders-list.html',
  611. childList: [{
  612. id: 'tb-orders-add',
  613. name: '添加订单',
  614. isShow: false
  615. },
  616. {
  617. id: 'tb-orders-edit',
  618. name: '修改订单',
  619. isShow: false
  620. },
  621. {
  622. id: 'tb-orders-del',
  623. name: '删除订单',
  624. isShow: false
  625. },
  626. ]
  627. }
  628. ]
  629. },
  630. ]
  631. }, {
  632. id: 'transport-sys',
  633. name: '货运管理',
  634. parent: true,
  635. icon: 'el-icon-s-grid',
  636. childList: [{
  637. id: 'tb-driver',
  638. icon: 'el-icon-s-custom',
  639. name: '司机管理',
  640. url: 'sa-view/tb-driver/tb-driver-list.html',
  641. childList: [{
  642. id: 'tb-driver-add',
  643. name: '司机添加',
  644. isShow: true
  645. },
  646. {
  647. id: 'tb-driver-edit',
  648. name: '司机更新',
  649. isShow: true
  650. },
  651. {
  652. id: 'tb-driver-del',
  653. name: '司机删除',
  654. isShow: true
  655. },
  656. ]
  657. },
  658. {
  659. id: 'tb-vehicle',
  660. icon: 'el-icon-s-check',
  661. name: '车辆管理',
  662. url: 'sa-view/tb-vehicle/tb-vehicle-list.html',
  663. childList: [{
  664. id: 'tb-vehicle-add',
  665. name: '车辆添加',
  666. isShow: true
  667. },
  668. {
  669. id: 'tb-vehicle-edit',
  670. name: '车辆更新',
  671. isShow: true
  672. },
  673. {
  674. id: 'tb-vehicle-del',
  675. name: '车辆删除',
  676. isShow: true
  677. },
  678. ]
  679. }
  680. ]
  681. }, {
  682. id: 'tb-fee-manager',
  683. name: '费项管理',
  684. parent: true,
  685. icon: 'el-icon-s-shop',
  686. childList: [{
  687. id: 'tb-company-list',
  688. name: '收费企业',
  689. icon: 'el-icon-folder-opened',
  690. info: '企业管理表数据的维护',
  691. url: 'sa-view/tb-company/tb-company-list.html',
  692. childList: [{
  693. id: 'tb-company-add',
  694. name: '企业添加',
  695. isShow: false
  696. },
  697. {
  698. id: 'tb-company-edit',
  699. name: '企业更新',
  700. isShow: false
  701. },
  702. {
  703. id: 'tb-company-del',
  704. name: '企业删除',
  705. isShow: false
  706. },
  707. ]
  708. },
  709. {
  710. id: 'tb-fee-item-list',
  711. name: '费用管理',
  712. icon: 'el-icon-folder-opened',
  713. info: '费项管理表数据的维护',
  714. url: 'sa-view/tb-fee-item/tb-fee-item-list.html',
  715. childList: [{
  716. id: 'tb-fee-item-add',
  717. name: '费项添加',
  718. isShow: false
  719. },
  720. {
  721. id: 'tb-fee-item-edit',
  722. name: '费项更新',
  723. isShow: false
  724. },
  725. {
  726. id: 'tb-fee-item-del',
  727. name: '费项删除',
  728. isShow: false
  729. },
  730. ]
  731. },
  732. // {
  733. // id: 'tb-people-profit-list',
  734. // name: '边民收益设置',
  735. // icon: 'el-icon-folder-opened',
  736. // info: '费项管理表数据的维护',
  737. // url: 'sa-view/tb-people-profit/tb-people-profit-set.html',
  738. // childList: [{
  739. // id: 'tb-people-profit',
  740. // name: '收益设置',
  741. // isShow: false
  742. // }, ]
  743. // },
  744. {
  745. id: 'tb-fee-item-record',
  746. name: '收费记录',
  747. icon: 'el-icon-folder-opened',
  748. url: 'sa-view/tb-fee-item-record/tb-fee-item-record-list.html'
  749. },
  750. // {
  751. // id: 'tb-people-profit-record-list',
  752. // name: '边民收益记录',
  753. // icon: 'el-icon-folder-opened',
  754. // url: 'sa-view/tb-people-profit-record/tb-people-profit-record-list.html',
  755. // childList: [
  756. // ]
  757. // }
  758. ]
  759. }
  760. );