menu-list-sp.js 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773
  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. {
  238. id: 'tb-people-add',
  239. name: '边民添加',
  240. isShow: false
  241. },
  242. {
  243. id: 'tb-people-bind-shop',
  244. name: '绑定店铺',
  245. isShow: false
  246. },
  247. {
  248. id: 'tb-people-edit',
  249. name: '边民更新',
  250. isShow: false
  251. },
  252. {
  253. id: 'tb-people-del',
  254. name: '边民删除',
  255. isShow: false
  256. },
  257. ]
  258. },
  259. // {
  260. // id: 'tb-enterprise-judge',
  261. // icon: 'el-icon-s-check',
  262. // name: '商户审核',
  263. // url: 'sa-view/tb-enterprise/tb-enterprise-judge.html',
  264. // childList: [{
  265. // id: 'tb-enterprise-judge',
  266. // name: '商户审核',
  267. // isShow: false
  268. // }, ]
  269. // },
  270. {
  271. id: 'tb-enterprise',
  272. icon: 'el-icon-film',
  273. name: '商户列表',
  274. url: 'sa-view/tb-enterprise/tb-enterprise-list.html',
  275. childList: [{
  276. id: 'tb-enterprise-add',
  277. name: '商家添加',
  278. isShow: false
  279. },
  280. {
  281. id: 'tb-enterprise-edit',
  282. name: '商家更新',
  283. isShow: false
  284. },
  285. {
  286. id: 'tb-enterprise-del',
  287. name: '商家删除',
  288. isShow: false
  289. },
  290. ]
  291. },
  292. {
  293. id: 'tb-shop',
  294. icon: 'el-icon-receiving',
  295. name: '商铺管理',
  296. url: 'sa-view/tb-shop/tb-shop-list.html',
  297. childList: [{
  298. id: 'tb-shop-add',
  299. name: '商铺添加',
  300. isShow: false
  301. },
  302. {
  303. id: 'tb-shop-edit',
  304. name: '商铺更新',
  305. isShow: false
  306. },
  307. {
  308. id: 'tb-shop-del',
  309. name: '商铺删除',
  310. isShow: false
  311. },
  312. ]
  313. },
  314. {
  315. id: 'tb-purchaser-judge',
  316. icon: 'el-icon-s-check',
  317. name: '收购商审核',
  318. url: 'sa-view/tb-purchaser/tb-purchaser-judge.html',
  319. childList: [{
  320. id: 'tb-purchaser-judge',
  321. name: '收购商审核',
  322. isShow: false
  323. }, ]
  324. },
  325. {
  326. id: 'tb-purchaser',
  327. icon: 'el-icon-film',
  328. name: '收购商列表',
  329. url: 'sa-view/tb-purchaser/tb-purchaser-list.html',
  330. childList: [{
  331. id: 'tb-purchaser-add',
  332. name: '收购商添加',
  333. isShow: false
  334. },
  335. {
  336. id: 'tb-purchaser-edit',
  337. name: '收购商更新',
  338. isShow: false
  339. },
  340. {
  341. id: 'tb-purchaser-del',
  342. name: '收购商删除',
  343. isShow: false
  344. },
  345. ]
  346. },
  347. {
  348. id: 'tb-cooperative',
  349. icon: 'el-icon-film',
  350. name: '合作社列表',
  351. url: 'sa-view/tb-cooperative/tb-cooperative-list.html',
  352. childList: [{
  353. id: 'tb-cooperative-add',
  354. name: '添加合作社',
  355. isShow: false
  356. },
  357. {
  358. id: 'tb-cooperative-edit',
  359. name: '更新合作社',
  360. isShow: false
  361. },
  362. {
  363. id: 'tb-cooperative-del',
  364. name: '删除合作社',
  365. isShow: false
  366. },
  367. ]
  368. },
  369. {
  370. id: 'tb-message',
  371. name: '通知消息',
  372. icon: 'el-icon-receiving',
  373. url: 'sa-view/tb-message/tb-message-list.html',
  374. childList: [{
  375. id: 'tb-message-add',
  376. name: '通知消息添加',
  377. isShow: false
  378. },
  379. {
  380. id: 'tb-message-edit',
  381. name: '通知消息更新',
  382. isShow: false
  383. },
  384. {
  385. id: 'tb-message-del',
  386. name: '通知消息删除',
  387. isShow: false
  388. },
  389. ]
  390. },
  391. {
  392. id: 'app-user-login-log',
  393. name: '移动端登录日志',
  394. icon: 'el-icon-receiving',
  395. url: 'sa-view/app-user-login-log/app-user-login-log-list.html',
  396. childList: [{
  397. id: 'app-user-login-log-del',
  398. name: '删除',
  399. isShow: false
  400. }, ]
  401. },
  402. ]
  403. }, {
  404. id: 'app-setting',
  405. name: '移动端管理',
  406. icon: 'el-icon-mobile-phone',
  407. parent: true,
  408. childList: [{
  409. id: 'app-menu',
  410. icon: 'el-icon-s-operation',
  411. name: '菜单管理',
  412. url: 'sa-view/app-menu/app-menu-list.html',
  413. childList: [{
  414. id: 'app-menu-add',
  415. name: 'app菜单管理添加',
  416. isShow: false
  417. },
  418. {
  419. id: 'app-menu-edit',
  420. name: 'app菜单管理更新',
  421. isShow: false
  422. },
  423. {
  424. id: 'app-menu-del',
  425. name: 'app菜单管理删除',
  426. isShow: false
  427. },
  428. ]
  429. },
  430. {
  431. id: 'app-role',
  432. icon: 'el-icon-user-solid',
  433. name: '角色管理',
  434. url: 'sa-view/app-role/app-role-list.html',
  435. childList: [{
  436. id: 'app-role-add',
  437. name: '添加',
  438. isShow: false
  439. },
  440. {
  441. id: 'app-role-edit',
  442. name: '更新',
  443. isShow: false
  444. },
  445. {
  446. id: 'app-role-del',
  447. name: '删除',
  448. isShow: false
  449. },
  450. ]
  451. },
  452. {
  453. id: 'app-user',
  454. icon: 'el-icon-user-solid',
  455. name: 'app账号管理',
  456. url: 'sa-view/app-user/app-user-list.html',
  457. childList: [
  458. {
  459. id: 'app-user-add',
  460. name: '添加',
  461. isShow: false
  462. },
  463. {
  464. id: 'app-user-edit',
  465. name: '更新',
  466. isShow: false
  467. },
  468. {
  469. id: 'app-user-del',
  470. name: '删除',
  471. isShow: false
  472. },
  473. ]
  474. },
  475. ]
  476. }, {
  477. id: 'trade-manager',
  478. name: '贸易管理',
  479. parent: true,
  480. icon: 'el-icon-s-unfold',
  481. childList: [
  482. {
  483. id: 'tb-goods-units',
  484. name: '计价单位',
  485. url: 'sa-view/tb-goods-units/tb-goods-units-list.html',
  486. childList: [{
  487. id: 'tb-goods-units-add',
  488. name: '计价单位添加',
  489. isShow: false
  490. },
  491. {
  492. id: 'tb-goods-units-edit',
  493. name: '计价单位更新',
  494. isShow: false
  495. },
  496. {
  497. id: 'tb-goods-units-del',
  498. name: '计价单位删除',
  499. isShow: false
  500. },
  501. ]
  502. },
  503. {
  504. id: 'tb-goods-type',
  505. name: '商品分类',
  506. url: 'sa-view/tb-goods-type/tb-goods-type-list.html',
  507. childList: [{
  508. id: 'tb-goods-type-add',
  509. name: '商品分类添加',
  510. isShow: true
  511. },
  512. {
  513. id: 'tb-goods-type-edit',
  514. name: '商品分类更新',
  515. isShow: true
  516. },
  517. {
  518. id: 'tb-goods-type-del',
  519. name: '商品分类删除',
  520. isShow: true
  521. },
  522. ]
  523. },
  524. {
  525. id: 'tb-goods',
  526. name: '监管商品',
  527. url: 'sa-view/tb-goods/tb-goods-list.html',
  528. childList: [{
  529. id: 'tb-goods-add',
  530. name: '商品添加',
  531. isShow: false
  532. },
  533. {
  534. id: 'tb-goods-edit',
  535. name: '商品更新',
  536. isShow: false
  537. },
  538. {
  539. id: 'tb-goods-del',
  540. name: '商品删除',
  541. isShow: false
  542. },
  543. ]
  544. },
  545. {
  546. id: 'order-list',
  547. name: '订单管理',
  548. parent: true,
  549. //icon: 'el-icon-s-grid',
  550. childList: [
  551. {
  552. id: 'ht-trade-settlement',
  553. name: '进境结算单',
  554. url: 'sa-view/ht-trade-settlement/ht-trade-settlement-list.html',
  555. childList: [{
  556. id: 'ht-trade-settlement-add',
  557. name: '添加订单',
  558. isShow: false
  559. },
  560. {
  561. id: 'ht-trade-settlement-edit',
  562. name: '修改订单',
  563. isShow: false
  564. },
  565. {
  566. id: 'ht-trade-settlement-del',
  567. name: '删除订单',
  568. isShow: false
  569. },
  570. ]
  571. },
  572. {
  573. id: 'tb-order',
  574. name: '边民购买订单',
  575. url: 'sa-view/tb-order/tb-order-list.html',
  576. childList: [{
  577. id: 'tb-order-add',
  578. name: '添加订单',
  579. isShow: false
  580. },
  581. {
  582. id: 'tb-order-edit',
  583. name: '修改订单',
  584. isShow: false
  585. },
  586. {
  587. id: 'tb-order-del',
  588. name: '删除订单',
  589. isShow: false
  590. },
  591. ]
  592. },
  593. {
  594. id: 'tb-import-order',
  595. name: '进口申报单',
  596. url: 'sa-view/tb-import-order/tb-import-order-list.html',
  597. childList: [
  598. {id:'tb-import-order-add',name:'订单添加',isShow:false},
  599. {id:'tb-import-order-edit',name:'订单更新',isShow:false},
  600. {id:'tb-import-order-del',name:'订单删除',isShow:false},
  601. ]
  602. },
  603. {
  604. id: 'tb-import-goods',
  605. name: '进口申报单商品管理',
  606. url: 'sa-view/tb-import-goods/tb-import-goods-list.html',
  607. childList: [
  608. {id:'tb-import-goods-add',name:'订单添加',isShow:false},
  609. {id:'tb-import-goods-edit',name:'订单更新',isShow:false},
  610. {id:'tb-import-goods-del',name:'订单删除',isShow:false},
  611. ]
  612. },
  613. {
  614. id: 'tb-orders',
  615. name: '二级市场订单',
  616. url: 'sa-view/tb-orders/tb-orders-list.html',
  617. childList: [{
  618. id: 'tb-orders-add',
  619. name: '添加订单',
  620. isShow: false
  621. },
  622. {
  623. id: 'tb-orders-edit',
  624. name: '修改订单',
  625. isShow: false
  626. },
  627. {
  628. id: 'tb-orders-del',
  629. name: '删除订单',
  630. isShow: false
  631. },
  632. ]
  633. }
  634. ]
  635. },
  636. ]
  637. }, {
  638. id: 'transport-sys',
  639. name: '货运管理',
  640. parent: true,
  641. icon: 'el-icon-s-grid',
  642. childList: [{
  643. id: 'tb-driver',
  644. icon: 'el-icon-s-custom',
  645. name: '司机管理',
  646. url: 'sa-view/tb-driver/tb-driver-list.html',
  647. childList: [{
  648. id: 'tb-driver-add',
  649. name: '司机添加',
  650. isShow: true
  651. },
  652. {
  653. id: 'tb-driver-edit',
  654. name: '司机更新',
  655. isShow: true
  656. },
  657. {
  658. id: 'tb-driver-del',
  659. name: '司机删除',
  660. isShow: true
  661. },
  662. ]
  663. },
  664. {
  665. id: 'tb-vehicle',
  666. icon: 'el-icon-s-check',
  667. name: '车辆管理',
  668. url: 'sa-view/tb-vehicle/tb-vehicle-list.html',
  669. childList: [{
  670. id: 'tb-vehicle-add',
  671. name: '车辆添加',
  672. isShow: true
  673. },
  674. {
  675. id: 'tb-vehicle-edit',
  676. name: '车辆更新',
  677. isShow: true
  678. },
  679. {
  680. id: 'tb-vehicle-del',
  681. name: '车辆删除',
  682. isShow: true
  683. },
  684. ]
  685. }
  686. ]
  687. }, {
  688. id: 'tb-fee-manager',
  689. name: '费项管理',
  690. parent: true,
  691. icon: 'el-icon-s-shop',
  692. childList: [{
  693. id: 'tb-company-list',
  694. name: '收费企业',
  695. icon: 'el-icon-folder-opened',
  696. info: '企业管理表数据的维护',
  697. url: 'sa-view/tb-company/tb-company-list.html',
  698. childList: [{
  699. id: 'tb-company-add',
  700. name: '企业添加',
  701. isShow: false
  702. },
  703. {
  704. id: 'tb-company-edit',
  705. name: '企业更新',
  706. isShow: false
  707. },
  708. {
  709. id: 'tb-company-del',
  710. name: '企业删除',
  711. isShow: false
  712. },
  713. ]
  714. },
  715. {
  716. id: 'tb-fee-item-list',
  717. name: '费用管理',
  718. icon: 'el-icon-folder-opened',
  719. info: '费项管理表数据的维护',
  720. url: 'sa-view/tb-fee-item/tb-fee-item-list.html',
  721. childList: [{
  722. id: 'tb-fee-item-add',
  723. name: '费项添加',
  724. isShow: false
  725. },
  726. {
  727. id: 'tb-fee-item-edit',
  728. name: '费项更新',
  729. isShow: false
  730. },
  731. {
  732. id: 'tb-fee-item-del',
  733. name: '费项删除',
  734. isShow: false
  735. },
  736. ]
  737. },
  738. // {
  739. // id: 'tb-people-profit-list',
  740. // name: '边民收益设置',
  741. // icon: 'el-icon-folder-opened',
  742. // info: '费项管理表数据的维护',
  743. // url: 'sa-view/tb-people-profit/tb-people-profit-set.html',
  744. // childList: [{
  745. // id: 'tb-people-profit',
  746. // name: '收益设置',
  747. // isShow: false
  748. // }, ]
  749. // },
  750. {
  751. id: 'tb-fee-item-record',
  752. name: '收费记录',
  753. icon: 'el-icon-folder-opened',
  754. url: 'sa-view/tb-fee-item-record/tb-fee-item-record-list.html'
  755. },
  756. // {
  757. // id: 'tb-people-profit-record-list',
  758. // name: '边民收益记录',
  759. // icon: 'el-icon-folder-opened',
  760. // url: 'sa-view/tb-people-profit-record/tb-people-profit-record-list.html',
  761. // childList: [
  762. // ]
  763. // }
  764. ]
  765. }
  766. );