menu-list-sp.js 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532
  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-dept-list',
  26. name: '组织管理',
  27. url: 'sa-view/tb-dept/tb-dept-list.html',
  28. childList: [{
  29. id: 'tb-dept-add',
  30. name: '添加',
  31. isShow: false,
  32. },
  33. {
  34. id: 'tb-dept-del',
  35. name: '删除',
  36. isShow: false,
  37. },
  38. {
  39. id: 'tb-dept-edit',
  40. name: '编辑',
  41. isShow: false,
  42. },
  43. ]
  44. },
  45. {
  46. id: 'admin-list',
  47. name: '用户管理',
  48. url: 'sa-view-sp/sp-admin/admin-list.html',
  49. info: '所有管理员账号',
  50. childList: [{
  51. id: 'sp-admin-add',
  52. name: '添加',
  53. isShow: false,
  54. },
  55. {
  56. id: 'sp-admin-del',
  57. name: '删除',
  58. isShow: false,
  59. },
  60. {
  61. id: 'sp-admin-edit',
  62. name: '编辑',
  63. isShow: false,
  64. },
  65. ]
  66. },
  67. {
  68. id: 'role-list',
  69. name: '角色管理',
  70. url: 'sa-view-sp/sp-role/role-list.html',
  71. info: '管理系统各种角色',
  72. childList: [{
  73. id: 'sp-role-add',
  74. name: '添加',
  75. isShow: false,
  76. },
  77. {
  78. id: 'sp-role-del',
  79. name: '删除',
  80. isShow: false,
  81. },
  82. {
  83. id: 'sp-role-edit',
  84. name: '编辑',
  85. isShow: false,
  86. },
  87. {
  88. id: 'sp-role-permission',
  89. name: '分配权限',
  90. isShow: false,
  91. },
  92. ]
  93. },
  94. {
  95. id: 'menu-list',
  96. name: '菜单列表',
  97. url: 'sa-view-sp/sp-role/menu-list.html',
  98. info: '所有菜单项预览'
  99. },
  100. {
  101. id: 'apilog-list',
  102. name: '日志管理',
  103. url: 'sa-view-sp/sp-apilog/api-log-list.html',
  104. info: '记录本系统所有的api请求'
  105. },
  106. {
  107. id: 'sys-dict-list',
  108. name: '字典管理',
  109. url: 'sa-view/sys-dict/sys-dict-list.html',
  110. childList: [{
  111. id: 'sys-dict-add',
  112. name: '添加',
  113. isShow: false,
  114. },
  115. {
  116. id: 'sys-dict-del',
  117. name: '删除',
  118. isShow: false,
  119. },
  120. {
  121. id: 'sys-dict-edit',
  122. name: '编辑',
  123. isShow: false,
  124. },
  125. ]
  126. },
  127. ]
  128. }, {
  129. id: 'console',
  130. name: '监控中心',
  131. parent: true,
  132. icon: 'el-icon-view',
  133. info: '对本系统的各种监控',
  134. childList: [{
  135. id: 'redis-console',
  136. name: 'Redis控制台',
  137. url: 'sa-view-sp/sp-console/redis-console.html',
  138. info: 'redis常用工具'
  139. },
  140. {
  141. id: 'sql-console',
  142. name: 'SQL 监控台',
  143. url: 'sa-view-sp/sp-console/sql-console.html',
  144. info: 'sql控制台'
  145. },
  146. {
  147. id: 'form-generator',
  148. name: '在线表单构建',
  149. url: 'https://mrhj.gitee.io/form-generator/#/'
  150. },
  151. ]
  152. }, {
  153. id: 'sp-cfg',
  154. name: '系统配置',
  155. parent: true,
  156. icon: 'el-icon-setting',
  157. info: '有关系统的一些配置',
  158. childList: [{
  159. id: 'sp-cfg-app',
  160. name: '系统对公配置',
  161. url: 'sa-view-sp/sp-cfg/app-cfg.html'
  162. },
  163. {
  164. id: 'sp-cfg-server',
  165. name: '服务器私有配置',
  166. url: 'sa-view-sp/sp-cfg/server-cfg.html'
  167. },
  168. ]
  169. }, {
  170. id: 'filing-system',
  171. name: '备案管理子系统',
  172. parent: true,
  173. icon: 'el-icon-setting',
  174. childList: [{
  175. id: 'tb-filing',
  176. name: '备案管理',
  177. parent: true,
  178. url: 'sa-view/tb-car-black/tb-car-black-list.html',
  179. childList: [{
  180. id: 'tb-car-filing-list',
  181. name: '车辆备案',
  182. url: 'sa-view/tb-car-filing/tb-car-filing-list.html',
  183. childList: [{
  184. id: 'tb-car-filing-add',
  185. name: '添加',
  186. isShow: false,
  187. },
  188. {
  189. id: 'tb-car-filing-del',
  190. name: '删除',
  191. isShow: false,
  192. },
  193. {
  194. id: 'tb-car-filing-edit',
  195. name: '编辑',
  196. isShow: false,
  197. },
  198. ]
  199. },
  200. {
  201. id: 'tb-person-filing-list',
  202. name: '人员备案',
  203. url: 'sa-view/tb-person-filing/tb-person-filing-list.html',
  204. childList: [{
  205. id: 'tb-person-filing-add',
  206. name: '添加',
  207. isShow: false,
  208. },
  209. {
  210. id: 'tb-person-filing-del',
  211. name: '删除',
  212. isShow: false,
  213. },
  214. {
  215. id: 'tb-person-filing-edit',
  216. name: '编辑',
  217. isShow: false,
  218. },
  219. ]
  220. }
  221. ]
  222. },
  223. {
  224. id: 'tb-black',
  225. name: '黑名单管理',
  226. parent: true,
  227. url: 'sa-view/tb-car-black/tb-car-black-list.html',
  228. childList: [{
  229. id: 'tb-car-black-list',
  230. name: '车辆黑名单',
  231. url: 'sa-view/tb-car-black/tb-car-black-list.html',
  232. childList: [{
  233. id: 'tb-car-black-add',
  234. name: '添加',
  235. isShow: false,
  236. },
  237. {
  238. id: 'tb-car-black-del',
  239. name: '删除',
  240. isShow: false,
  241. },
  242. {
  243. id: 'tb-car-black-edit',
  244. name: '编辑',
  245. isShow: false,
  246. },
  247. ]
  248. },
  249. {
  250. id: 'tb-person-black-list',
  251. name: '人员黑名单',
  252. url: 'sa-view/tb-person-black/tb-person-black-list.html',
  253. childList: [{
  254. id: 'tb-person-black-add',
  255. name: '添加',
  256. isShow: false,
  257. },
  258. {
  259. id: 'tb-person-black-del',
  260. name: '删除',
  261. isShow: false,
  262. },
  263. {
  264. id: 'tb-person-black-edit',
  265. name: '编辑',
  266. isShow: false,
  267. },
  268. ]
  269. }
  270. ]
  271. }
  272. ]
  273. }, {
  274. id: 'tb-person-visit-record',
  275. name: '人脸识别子系统',
  276. icon: 'el-icon-folder-opened',
  277. parent: true,
  278. childList: [{
  279. id: 'tb-person-visit-record-list',
  280. name: '出入记录',
  281. url: 'sa-view/tb-person-visit-record/tb-person-visit-record-list.html',
  282. childList: [{
  283. id: 'tb-person-visit-record-export',
  284. name: '导出',
  285. isShow: false,
  286. },
  287. {
  288. id: 'tb-person-visit-record-edit',
  289. name: '修改',
  290. isShow: false,
  291. },
  292. {
  293. id: 'tb-person-visit-record-del',
  294. name: '删除',
  295. isShow: false
  296. }
  297. ]
  298. },
  299. {
  300. id: 'tb-person-visit-temperature-list',
  301. name: '出入体温检测',
  302. url: 'sa-view/tb-person-visit-record/tb-person-visit-temperature-list.html'
  303. },
  304. {
  305. id: 'tb-person-visit-record-add',
  306. name: '手工补录',
  307. url: 'sa-view/tb-person-visit-record/tb-person-visit-record-add.html'
  308. },
  309. ]
  310. }, {
  311. id: 'tb-car-visit-record',
  312. name: '车辆识别子系统',
  313. icon: 'el-icon-folder-opened',
  314. parent: true,
  315. childList: [{
  316. id: 'tb-car-visit-record-list',
  317. name: '车辆出入记录',
  318. url: 'sa-view/tb-car-visit-record/tb-car-visit-record-list.html',
  319. childList: [{
  320. id: 'tb-car-visit-record-export',
  321. name: '导出',
  322. isShow: false,
  323. },
  324. {
  325. id: 'tb-car-visit-record-add',
  326. name: '新增',
  327. isShow: false,
  328. },
  329. {
  330. id: 'tb-car-visit-record-edit',
  331. name: '修改',
  332. isShow: false,
  333. },
  334. {
  335. id: 'tb-car-visit-record-del',
  336. name: '删除',
  337. isShow: false
  338. }
  339. ]
  340. }, {
  341. id: 'tb-car-visit-record-handler',
  342. name: '手动放行',
  343. url: 'sa-view/tb-car-visit-record/tb-car-visit-record-handler.html',
  344. }]
  345. },
  346. {
  347. id: 'tb-terminal-venues',
  348. name: '设备场所子系统',
  349. icon: 'el-icon-folder-opened',
  350. info: '设备管理表数据的维护',
  351. parent: true,
  352. childList: [{
  353. id: 'tb-venues-list',
  354. name: '场所管理',
  355. url: 'sa-view/tb-venues/tb-venues-list.html',
  356. childList: [{
  357. id: 'tb-venues-add',
  358. name: '添加',
  359. isShow: false,
  360. },
  361. {
  362. id: 'tb-venues-del',
  363. name: '删除',
  364. isShow: false,
  365. },
  366. {
  367. id: 'tb-venues-edit',
  368. name: '编辑',
  369. isShow: false,
  370. },
  371. ]
  372. },
  373. {
  374. id: 'tb-terminal',
  375. name: '人脸设备管理',
  376. icon: 'el-icon-folder-opened',
  377. parent: true,
  378. childList: [{
  379. id: 'tb-terminal-list',
  380. name: '人脸设备',
  381. url: 'sa-view/tb-terminal/tb-terminal-list.html',
  382. childList: [{
  383. id: 'tb-terminal-clear',
  384. name: '清除数据',
  385. isShow: false,
  386. },
  387. {
  388. id: 'tb-terminal-reboot',
  389. name: '重启',
  390. isShow: false,
  391. },
  392. {
  393. id: 'tb-terminal-open',
  394. name: '远程开门',
  395. isShow: false,
  396. },
  397. {
  398. id: 'tb-terminal-sync-time',
  399. name: '时钟同步',
  400. isShow: false,
  401. },
  402. {
  403. id: 'tb-terminal-unbind',
  404. name: '解绑',
  405. isShow: false,
  406. },
  407. {
  408. id: 'tb-terminal-edit',
  409. name: '编辑',
  410. isShow: false,
  411. },
  412. {
  413. id: 'tb-terminal-del',
  414. name: '删除',
  415. isShow: false,
  416. },
  417. ]
  418. }, {
  419. id: 'tb-command-log-list',
  420. name: '命令日志',
  421. url: 'sa-view/tb-command-log/tb-command-log-list.html',
  422. childList: [{
  423. id: 'tb-command-log-del',
  424. name: '删除',
  425. isShow: false,
  426. }, ]
  427. },
  428. ]
  429. },
  430. {
  431. id: 'tb-gate-terminal',
  432. name: '车辆道闸',
  433. parent: true,
  434. icon: 'el-icon-folder-opened',
  435. childList: [{
  436. id: 'tb-gate-terminal-list',
  437. name: '道闸设备',
  438. url: 'sa-view/tb-gate-terminal/tb-gate-terminal-list.html',
  439. childList: [{
  440. id: 'tb-gate-terminal-open',
  441. name: '远程开闸',
  442. isShow: false,
  443. },
  444. {
  445. id: 'tb-gate-terminal-add',
  446. name: '添加',
  447. isShow: false,
  448. },
  449. {
  450. id: 'tb-gate-terminal-del',
  451. name: '删除',
  452. isShow: false,
  453. },
  454. {
  455. id: 'tb-gate-terminal-edit',
  456. name: '修改',
  457. isShow: false,
  458. },
  459. ]
  460. },
  461. {
  462. id: 'tb-gate-command-log-list',
  463. name: '命令日志',
  464. url: 'sa-view/tb-gate-command-log/tb-gate-command-log-list.html',
  465. childList: [{
  466. id: 'tb-gate-command-log-del',
  467. name: '删除',
  468. isShow: false,
  469. }]
  470. }
  471. ]
  472. },
  473. ]
  474. }, {
  475. id: 'tb-manager',
  476. name: '防疫人员',
  477. icon: 'el-icon-folder-opened',
  478. info: '防疫人员表数据的维护',
  479. childList: [{
  480. id: 'tb-manager-list',
  481. name: '防疫人员-列表',
  482. url: 'sa-view/tb-manager/tb-manager-list.html'
  483. },
  484. {
  485. id: 'tb-manager-add',
  486. name: '防疫人员-添加',
  487. url: 'sa-view/tb-manager/tb-manager-add.html'
  488. },
  489. ]
  490. },
  491. );