menu-list-sp.js 17 KB

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