menu-list-sp.js 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737
  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. childList: [{
  9. id: 'dev',
  10. name: '开发者权限',
  11. isShow: false
  12. },
  13. {
  14. id: 'in-system',
  15. name: '后台管理权限',
  16. isShow: false
  17. },
  18. ]
  19. }, {
  20. id: 'auth',
  21. name: '基础数据管理',
  22. icon: 'el-icon-unlock',
  23. parent: true,
  24. childList: [{
  25. id: 'tb-department-list',
  26. icon: 'el-icon-s-operation',
  27. name: '单位管理',
  28. url: 'sa-view/tb-department/tb-department-list.html',
  29. childList: [{
  30. id: 'tb-department-add',
  31. name: '添加',
  32. isShow: false,
  33. },
  34. {
  35. id: 'tb-department-del',
  36. name: '删除',
  37. isShow: false,
  38. },
  39. {
  40. id: 'tb-department-edit',
  41. name: '编辑',
  42. isShow: false,
  43. },
  44. ]
  45. }, {
  46. id: 'tb-dept-list',
  47. name: '备案组织',
  48. icon: 'el-icon-s-operation',
  49. url: 'sa-view/tb-dept/tb-dept-list.html',
  50. childList: [{
  51. id: 'tb-dept-add',
  52. name: '添加',
  53. isShow: false,
  54. },
  55. {
  56. id: 'tb-dept-del',
  57. name: '删除',
  58. isShow: false,
  59. },
  60. {
  61. id: 'tb-dept-edit',
  62. name: '编辑',
  63. isShow: false,
  64. },
  65. ]
  66. },
  67. {
  68. id: 'admin-list',
  69. name: '用户管理',
  70. icon: 'el-icon-user',
  71. url: 'sa-view-sp/sp-admin/admin-list.html',
  72. info: '所有管理员账号',
  73. childList: [{
  74. id: 'sp-admin-add',
  75. name: '添加',
  76. isShow: false,
  77. },
  78. {
  79. id: 'sp-admin-del',
  80. name: '删除',
  81. isShow: false,
  82. },
  83. {
  84. id: 'sp-admin-edit',
  85. name: '编辑',
  86. isShow: false,
  87. },
  88. {
  89. id: 'sp-admin-role-edit',
  90. name: '改角色',
  91. isShow: false,
  92. },
  93. ]
  94. },
  95. {
  96. id: 'tb-mini-user',
  97. name: '微信用户',
  98. icon: 'el-icon-user',
  99. url: 'sa-view/mini-user/mini-user-list.html',
  100. info: '微信用户账号管理',
  101. childList: [{
  102. id: 'mini-user-del',
  103. name: '删除',
  104. isShow: false,
  105. },
  106. {
  107. id: 'mini-user-edit',
  108. name: '编辑',
  109. isShow: false,
  110. },
  111. ]
  112. },
  113. {
  114. id: 'role-list',
  115. name: '角色管理',
  116. icon: 'el-icon-s-custom',
  117. url: 'sa-view-sp/sp-role/role-list.html',
  118. info: '管理系统各种角色',
  119. childList: [{
  120. id: 'sp-role-add',
  121. name: '添加',
  122. isShow: false,
  123. },
  124. {
  125. id: 'sp-role-del',
  126. name: '删除',
  127. isShow: false,
  128. },
  129. {
  130. id: 'sp-role-edit',
  131. name: '编辑',
  132. isShow: false,
  133. },
  134. {
  135. id: 'sp-role-permission',
  136. name: '分配权限',
  137. isShow: false,
  138. },
  139. ]
  140. },
  141. {
  142. id: 'menu-list',
  143. name: '菜单列表',
  144. icon: 'el-icon-s-operation',
  145. url: 'sa-view-sp/sp-role/menu-list.html',
  146. info: '所有菜单项预览'
  147. },
  148. {
  149. id: 'apilog-list',
  150. name: '日志管理',
  151. icon: 'el-icon-date',
  152. url: 'sa-view-sp/sp-apilog/api-log-list.html',
  153. info: '记录本系统所有的api请求'
  154. },
  155. {
  156. id: 'sys-dict-list',
  157. name: '字典管理',
  158. icon: 'el-icon-document',
  159. url: 'sa-view/sys-dict/sys-dict-list.html',
  160. childList: [{
  161. id: 'sys-dict-add',
  162. name: '添加',
  163. isShow: false,
  164. },
  165. {
  166. id: 'sys-dict-del',
  167. name: '删除',
  168. isShow: false,
  169. },
  170. {
  171. id: 'sys-dict-edit',
  172. name: '编辑',
  173. isShow: false,
  174. },
  175. ]
  176. },
  177. ]
  178. }, {
  179. id: 'tb-terminal-venues',
  180. name: '设备场所子系统',
  181. icon: 'el-icon-monitor',
  182. info: '设备管理表数据的维护',
  183. parent: true,
  184. childList: [{
  185. id: 'tb-venues-list',
  186. name: '场所管理',
  187. url: 'sa-view/tb-venues/tb-venues-list.html',
  188. icon: 'el-icon-s-operation',
  189. childList: [{
  190. id: 'tb-venues-add',
  191. name: '添加',
  192. isShow: false,
  193. },
  194. {
  195. id: 'tb-venues-del',
  196. name: '删除',
  197. isShow: false,
  198. },
  199. {
  200. id: 'tb-venues-edit',
  201. name: '编辑',
  202. isShow: false,
  203. },
  204. ]
  205. },
  206. {
  207. id: 'tb-terminal',
  208. name: '人脸设备管理',
  209. icon: 'el-icon-user-solid',
  210. parent: true,
  211. childList: [{
  212. id: 'tb-terminal-list',
  213. name: '人脸设备',
  214. icon: 'el-icon-s-custom',
  215. url: 'sa-view/tb-terminal/tb-terminal-list.html',
  216. childList: [{
  217. id: 'tb-terminal-down',
  218. name: '下发数据',
  219. isShow: false,
  220. },
  221. {
  222. id: 'tb-terminal-clear',
  223. name: '清除数据',
  224. isShow: false,
  225. },
  226. {
  227. id: 'tb-terminal-reboot',
  228. name: '重启',
  229. isShow: false,
  230. },
  231. {
  232. id: 'tb-terminal-open',
  233. name: '远程开门',
  234. isShow: false,
  235. },
  236. {
  237. id: 'tb-terminal-sync-time',
  238. name: '时钟同步',
  239. isShow: false,
  240. },
  241. {
  242. id: 'tb-terminal-unbind',
  243. name: '解绑',
  244. isShow: false,
  245. },
  246. {
  247. id: 'tb-terminal-edit',
  248. name: '编辑',
  249. isShow: false,
  250. },
  251. {
  252. id: 'tb-terminal-del',
  253. name: '删除',
  254. isShow: false,
  255. },
  256. ]
  257. }, {
  258. id: 'tb-command-log-list',
  259. name: '命令日志',
  260. icon: 'el-icon-document-copy',
  261. url: 'sa-view/tb-command-log/tb-command-log-list.html',
  262. childList: [{
  263. id: 'tb-command-log-del',
  264. name: '删除',
  265. isShow: false,
  266. }, ]
  267. },
  268. ]
  269. },
  270. {
  271. id: 'tb-gate-terminal',
  272. name: '车辆道闸',
  273. parent: true,
  274. icon: 'el-icon-s-platform',
  275. childList: [{
  276. id: 'tb-gate-terminal-list',
  277. name: '道闸设备',
  278. icon: 'el-icon-takeaway-box',
  279. url: 'sa-view/tb-gate-terminal/tb-gate-terminal-list.html',
  280. childList: [{
  281. id: 'tb-gate-terminal-open',
  282. name: '远程开闸',
  283. isShow: false,
  284. },
  285. {
  286. id: 'tb-gate-terminal-add',
  287. name: '添加',
  288. isShow: false,
  289. },
  290. {
  291. id: 'tb-gate-terminal-del',
  292. name: '删除',
  293. isShow: false,
  294. },
  295. {
  296. id: 'tb-gate-terminal-edit',
  297. name: '修改',
  298. isShow: false,
  299. },
  300. ]
  301. },
  302. {
  303. id: 'tb-gate-command-log-list',
  304. name: '命令日志',
  305. icon: 'el-icon-document-copy',
  306. url: 'sa-view/tb-gate-command-log/tb-gate-command-log-list.html',
  307. childList: [{
  308. id: 'tb-gate-command-log-del',
  309. name: '删除',
  310. isShow: false,
  311. }]
  312. }
  313. ]
  314. },
  315. {
  316. id: 'hc-camera-list',
  317. icon: 'el-icon-video-camera-solid',
  318. name: '摄像头管理',
  319. url: 'sa-view/hc-camera/hc-camera-list.html',
  320. childList: [{
  321. id: 'hc-camera-add',
  322. name: '添加',
  323. isShow: false,
  324. },
  325. {
  326. id: 'hc-camera-edit',
  327. name: '修改',
  328. isShow: false,
  329. },
  330. {
  331. id: 'hc-camera-del',
  332. name: '删除',
  333. isShow: false
  334. }
  335. ]
  336. }
  337. ]
  338. }, {
  339. id: 'filing-system',
  340. name: '备案管理子系统',
  341. parent: true,
  342. icon: 'el-icon-suitcase',
  343. childList: [{
  344. id: 'tb-filing',
  345. name: '备案管理',
  346. parent: true,
  347. icon: 'el-icon-date',
  348. url: 'sa-view/tb-car-black/tb-car-black-list.html',
  349. childList: [{
  350. id: 'tb-person-filing-list',
  351. name: '人员备案',
  352. icon: 'el-icon-s-custom',
  353. url: 'sa-view/tb-person-filing/tb-person-filing-list.html',
  354. childList: [{
  355. id: 'tb-person-filing-judge',
  356. name: '审核',
  357. isShow: false,
  358. },
  359. {
  360. id: 'tb-person-filing-export',
  361. name: '导出',
  362. isShow: false,
  363. },
  364. {
  365. id: 'tb-person-filing-issued',
  366. name: '下发人脸',
  367. isShow: false,
  368. },
  369. {
  370. id: 'tb-person-filing-add',
  371. name: '添加',
  372. isShow: false,
  373. },
  374. {
  375. id: 'tb-person-filing-del',
  376. name: '删除',
  377. isShow: false,
  378. },
  379. {
  380. id: 'tb-person-filing-edit',
  381. name: '编辑',
  382. isShow: false,
  383. },
  384. {
  385. id: 'tb-person-filing-import',
  386. name: '导入',
  387. isShow: false,
  388. },
  389. ]
  390. }, {
  391. id: 'tb-car-filing-list',
  392. name: '车辆备案',
  393. icon: 'el-icon-receiving',
  394. url: 'sa-view/tb-car-filing/tb-car-filing-list.html',
  395. childList: [{
  396. id: 'tb-car-filing-judge',
  397. name: '审核',
  398. isShow: false,
  399. },
  400. {
  401. id: 'tb-car-filing-export',
  402. name: '导出',
  403. isShow: false,
  404. },
  405. {
  406. id: 'tb-car-filing-add',
  407. name: '添加',
  408. isShow: false,
  409. },
  410. {
  411. id: 'tb-car-filing-del',
  412. name: '删除',
  413. isShow: false,
  414. },
  415. {
  416. id: 'tb-car-filing-edit',
  417. name: '编辑',
  418. isShow: false,
  419. },
  420. ]
  421. },
  422. ]
  423. },
  424. {
  425. id: 'tb-black',
  426. name: '黑名单管理',
  427. parent: true,
  428. icon: 'el-icon-cpu',
  429. url: 'sa-view/tb-car-black/tb-car-black-list.html',
  430. childList: [{
  431. id: 'tb-car-black-list',
  432. name: '车辆黑名单',
  433. icon: 'el-icon-receiving',
  434. url: 'sa-view/tb-car-black/tb-car-black-list.html',
  435. childList: [{
  436. id: 'tb-car-black-add',
  437. name: '添加',
  438. isShow: false,
  439. },
  440. {
  441. id: 'tb-car-black-del',
  442. name: '删除',
  443. isShow: false,
  444. },
  445. {
  446. id: 'tb-car-black-edit',
  447. name: '编辑',
  448. isShow: false,
  449. },
  450. ]
  451. },
  452. {
  453. id: 'tb-person-black-list',
  454. name: '人员黑名单',
  455. icon: 'el-icon-user-solid',
  456. url: 'sa-view/tb-person-black/tb-person-black-list.html',
  457. childList: [{
  458. id: 'tb-person-black-add',
  459. name: '添加',
  460. isShow: false,
  461. },
  462. {
  463. id: 'tb-person-black-del',
  464. name: '删除',
  465. isShow: false,
  466. },
  467. {
  468. id: 'tb-person-black-edit',
  469. name: '编辑',
  470. isShow: false,
  471. },
  472. ]
  473. }
  474. ]
  475. }
  476. ]
  477. }, {
  478. id: 'console',
  479. name: '监控中心',
  480. parent: true,
  481. icon: 'el-icon-view',
  482. info: '对本系统的各种监控',
  483. childList: [{
  484. id: 'redis-console',
  485. icon: 'el-icon-tickets',
  486. name: 'Redis控制台',
  487. url: 'sa-view-sp/sp-console/redis-console.html',
  488. info: 'redis常用工具'
  489. },
  490. {
  491. id: 'sql-console',
  492. name: 'SQL 监控台',
  493. icon: 'el-icon-set-up',
  494. url: 'sa-view-sp/sp-console/sql-console.html',
  495. info: 'sql控制台'
  496. },
  497. ]
  498. }, {
  499. id: 'sp-cfg',
  500. name: '防疫参数设置',
  501. parent: true,
  502. icon: 'el-icon-setting',
  503. info: '有防疫的一些配置',
  504. childList: [{
  505. id: 'sp-cfg-server',
  506. name: '参数设置',
  507. icon: 'el-icon-s-grid',
  508. url: 'sa-view-sp/sp-cfg/server-cfg.html'
  509. }, ]
  510. }, {
  511. id: 'tb-person-visit-record',
  512. name: '人脸识别子系统',
  513. icon: 'el-icon-camera-solid',
  514. parent: true,
  515. childList: [{
  516. id: 'tb-person-visit-record-list',
  517. name: '访问记录',
  518. icon: 'el-icon-s-unfold',
  519. url: 'sa-view/tb-person-visit-record/tb-person-visit-record-list.html',
  520. childList: [{
  521. id: 'tb-person-visit-record-export',
  522. name: '导出',
  523. isShow: false,
  524. },
  525. {
  526. id: 'tb-person-visit-record-edit',
  527. name: '修改',
  528. isShow: false,
  529. },
  530. {
  531. id: 'tb-person-visit-record-del',
  532. name: '删除',
  533. isShow: false
  534. }
  535. ]
  536. },
  537. {
  538. id: 'tb-person-visit-temperature-list',
  539. name: '访问体温检测',
  540. icon: 'el-icon-set-up',
  541. url: 'sa-view/tb-person-visit-record/tb-person-visit-temperature-list.html'
  542. },
  543. {
  544. id: 'tb-person-visit-record-add',
  545. name: '手工补录',
  546. icon: 'el-icon-thumb',
  547. url: 'sa-view/tb-person-visit-record/tb-person-visit-record-add.html'
  548. },
  549. ]
  550. }, {
  551. id: 'tb-car-visit-record',
  552. name: '车辆识别子系统',
  553. icon: 'el-icon-truck',
  554. parent: true,
  555. childList: [{
  556. id: 'tb-car-visit-record-list',
  557. name: '车辆出入记录',
  558. icon: 'el-icon-s-unfold',
  559. url: 'sa-view/tb-car-visit-record/tb-car-visit-record-list.html',
  560. childList: [{
  561. id: 'tb-car-visit-record-export',
  562. name: '导出',
  563. isShow: false,
  564. },
  565. {
  566. id: 'tb-car-visit-record-add',
  567. name: '新增',
  568. isShow: false,
  569. },
  570. {
  571. id: 'tb-car-visit-record-edit',
  572. name: '修改',
  573. isShow: false,
  574. },
  575. {
  576. id: 'tb-car-visit-record-del',
  577. name: '删除',
  578. isShow: false
  579. }
  580. ]
  581. }]
  582. },
  583. {
  584. id: 'ep-monitor-system',
  585. name: '防疫监控子系统',
  586. icon: 'el-icon-user',
  587. parent: true,
  588. childList: [{
  589. id: 'tb-manager-list',
  590. name: '防疫人员',
  591. icon: 'el-icon-user',
  592. url: 'sa-view/tb-manager/tb-manager-list.html',
  593. childList: [{
  594. id: 'tb-manager-add',
  595. name: '新增',
  596. isShow: false,
  597. },
  598. {
  599. id: 'tb-manager-edit',
  600. name: '修改',
  601. isShow: false,
  602. },
  603. {
  604. id: 'tb-manager-del',
  605. name: '删除',
  606. isShow: false,
  607. },
  608. ]
  609. },
  610. {
  611. id: 'tb-tactics',
  612. name: '防疫策略管理',
  613. icon: 'el-icon-menu',
  614. url: 'sa-view/tb-tactics/tb-tactics-list.html',
  615. childList: [{
  616. id: 'tb-tactics-setting',
  617. name: '设置',
  618. isShow: false,
  619. },
  620. ]
  621. },
  622. {
  623. id: 'health-code-record-list',
  624. name: '健康码管理',
  625. icon: 'el-icon-menu',
  626. url: 'sa-view/tb-person-visit-record/health-code-record-list.html',
  627. childList: [{
  628. id: 'health-code-record-solve',
  629. name: '处置',
  630. isShow: false,
  631. },
  632. {
  633. id: 'health-code-record-del',
  634. name: '删除',
  635. isShow: false,
  636. },
  637. ]
  638. },
  639. ]
  640. }, {
  641. id: 'alarm-monitor-system',
  642. name: '预警监控子系统',
  643. icon: 'el-icon-user',
  644. parent: true,
  645. childList: [{
  646. id: 'tb-alarm-person-list',
  647. name: '预警通知对象',
  648. icon: 'el-icon-user',
  649. url: 'sa-view/tb-alarm-person/tb-alarm-person-list.html',
  650. childList: [{
  651. id: 'tb-alarm-person-add',
  652. name: '新增',
  653. isShow: false,
  654. },
  655. {
  656. id: 'tb-alarm-person-edit',
  657. name: '修改',
  658. isShow: false,
  659. },
  660. {
  661. id: 'tb-alarm-person-del',
  662. name: '删除',
  663. isShow: false,
  664. },
  665. ]
  666. },
  667. ]
  668. }, {
  669. id: 'health-monitor-system',
  670. name: '监控管理系统',
  671. icon: 'el-icon-video-camera-solid',
  672. parent: true,
  673. childList: [{
  674. id: 'tb-monitor',
  675. name: '实时监控系统',
  676. icon: 'el-icon-video-camera',
  677. url: 'sa-view/monitor/tb-monitor.html'
  678. },
  679. {
  680. id: 'tb-terminal-monitor',
  681. name: '设备监控系统',
  682. icon: 'el-icon-s-platform',
  683. url: 'sa-view/monitor/tb-terminal-monitor.html'
  684. },
  685. ]
  686. },
  687. );