menu-list-sp.js 17 KB

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