menu-list-sp.js 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545
  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. // {
  160. // id: 'sp-cfg-app',
  161. // name: '系统对公配置',
  162. // url: 'sa-view-sp/sp-cfg/app-cfg.html'
  163. // },
  164. {
  165. id: 'sp-cfg-server',
  166. name: '系统配置',
  167. url: 'sa-view-sp/sp-cfg/server-cfg.html'
  168. },
  169. ]
  170. }, {
  171. id: 'filing-system',
  172. name: '备案管理子系统',
  173. parent: true,
  174. icon: 'el-icon-setting',
  175. childList: [{
  176. id: 'tb-filing',
  177. name: '备案管理',
  178. parent: true,
  179. url: 'sa-view/tb-car-black/tb-car-black-list.html',
  180. childList: [{
  181. id: 'tb-car-filing-list',
  182. name: '车辆备案',
  183. url: 'sa-view/tb-car-filing/tb-car-filing-list.html',
  184. childList: [
  185. {
  186. id: 'tb-car-filing-judge',
  187. name: '审核',
  188. isShow: false,
  189. },
  190. {
  191. id: 'tb-car-filing-add',
  192. name: '添加',
  193. isShow: false,
  194. },
  195. {
  196. id: 'tb-car-filing-del',
  197. name: '删除',
  198. isShow: false,
  199. },
  200. {
  201. id: 'tb-car-filing-edit',
  202. name: '编辑',
  203. isShow: false,
  204. },
  205. ]
  206. },
  207. {
  208. id: 'tb-person-filing-list',
  209. name: '人员备案',
  210. url: 'sa-view/tb-person-filing/tb-person-filing-list.html',
  211. childList: [
  212. {
  213. id: 'tb-person-filing-judge',
  214. name: '审核',
  215. isShow: false,
  216. },
  217. {
  218. id: 'tb-person-filing-add',
  219. name: '添加',
  220. isShow: false,
  221. },
  222. {
  223. id: 'tb-person-filing-del',
  224. name: '删除',
  225. isShow: false,
  226. },
  227. {
  228. id: 'tb-person-filing-edit',
  229. name: '编辑',
  230. isShow: false,
  231. },
  232. ]
  233. }
  234. ]
  235. },
  236. {
  237. id: 'tb-black',
  238. name: '黑名单管理',
  239. parent: true,
  240. url: 'sa-view/tb-car-black/tb-car-black-list.html',
  241. childList: [{
  242. id: 'tb-car-black-list',
  243. name: '车辆黑名单',
  244. url: 'sa-view/tb-car-black/tb-car-black-list.html',
  245. childList: [{
  246. id: 'tb-car-black-add',
  247. name: '添加',
  248. isShow: false,
  249. },
  250. {
  251. id: 'tb-car-black-del',
  252. name: '删除',
  253. isShow: false,
  254. },
  255. {
  256. id: 'tb-car-black-edit',
  257. name: '编辑',
  258. isShow: false,
  259. },
  260. ]
  261. },
  262. {
  263. id: 'tb-person-black-list',
  264. name: '人员黑名单',
  265. url: 'sa-view/tb-person-black/tb-person-black-list.html',
  266. childList: [{
  267. id: 'tb-person-black-add',
  268. name: '添加',
  269. isShow: false,
  270. },
  271. {
  272. id: 'tb-person-black-del',
  273. name: '删除',
  274. isShow: false,
  275. },
  276. {
  277. id: 'tb-person-black-edit',
  278. name: '编辑',
  279. isShow: false,
  280. },
  281. ]
  282. }
  283. ]
  284. }
  285. ]
  286. }, {
  287. id: 'tb-person-visit-record',
  288. name: '人脸识别子系统',
  289. icon: 'el-icon-folder-opened',
  290. parent: true,
  291. childList: [{
  292. id: 'tb-person-visit-record-list',
  293. name: '出入记录',
  294. url: 'sa-view/tb-person-visit-record/tb-person-visit-record-list.html',
  295. childList: [{
  296. id: 'tb-person-visit-record-export',
  297. name: '导出',
  298. isShow: false,
  299. },
  300. {
  301. id: 'tb-person-visit-record-edit',
  302. name: '修改',
  303. isShow: false,
  304. },
  305. {
  306. id: 'tb-person-visit-record-del',
  307. name: '删除',
  308. isShow: false
  309. }
  310. ]
  311. },
  312. {
  313. id: 'tb-person-visit-temperature-list',
  314. name: '出入体温检测',
  315. url: 'sa-view/tb-person-visit-record/tb-person-visit-temperature-list.html'
  316. },
  317. {
  318. id: 'tb-person-visit-record-add',
  319. name: '手工补录',
  320. url: 'sa-view/tb-person-visit-record/tb-person-visit-record-add.html'
  321. },
  322. ]
  323. }, {
  324. id: 'tb-car-visit-record',
  325. name: '车辆识别子系统',
  326. icon: 'el-icon-folder-opened',
  327. parent: true,
  328. childList: [{
  329. id: 'tb-car-visit-record-list',
  330. name: '车辆出入记录',
  331. url: 'sa-view/tb-car-visit-record/tb-car-visit-record-list.html',
  332. childList: [{
  333. id: 'tb-car-visit-record-export',
  334. name: '导出',
  335. isShow: false,
  336. },
  337. {
  338. id: 'tb-car-visit-record-add',
  339. name: '新增',
  340. isShow: false,
  341. },
  342. {
  343. id: 'tb-car-visit-record-edit',
  344. name: '修改',
  345. isShow: false,
  346. },
  347. {
  348. id: 'tb-car-visit-record-del',
  349. name: '删除',
  350. isShow: false
  351. }
  352. ]
  353. }, {
  354. id: 'tb-car-visit-record-handler',
  355. name: '手动放行',
  356. url: 'sa-view/tb-car-visit-record/tb-car-visit-record-handler.html',
  357. }]
  358. },
  359. {
  360. id: 'tb-terminal-venues',
  361. name: '设备场所子系统',
  362. icon: 'el-icon-folder-opened',
  363. info: '设备管理表数据的维护',
  364. parent: true,
  365. childList: [{
  366. id: 'tb-venues-list',
  367. name: '场所管理',
  368. url: 'sa-view/tb-venues/tb-venues-list.html',
  369. childList: [{
  370. id: 'tb-venues-add',
  371. name: '添加',
  372. isShow: false,
  373. },
  374. {
  375. id: 'tb-venues-del',
  376. name: '删除',
  377. isShow: false,
  378. },
  379. {
  380. id: 'tb-venues-edit',
  381. name: '编辑',
  382. isShow: false,
  383. },
  384. ]
  385. },
  386. {
  387. id: 'tb-terminal',
  388. name: '人脸设备管理',
  389. icon: 'el-icon-folder-opened',
  390. parent: true,
  391. childList: [{
  392. id: 'tb-terminal-list',
  393. name: '人脸设备',
  394. url: 'sa-view/tb-terminal/tb-terminal-list.html',
  395. childList: [{
  396. id: 'tb-terminal-clear',
  397. name: '清除数据',
  398. isShow: false,
  399. },
  400. {
  401. id: 'tb-terminal-reboot',
  402. name: '重启',
  403. isShow: false,
  404. },
  405. {
  406. id: 'tb-terminal-open',
  407. name: '远程开门',
  408. isShow: false,
  409. },
  410. {
  411. id: 'tb-terminal-sync-time',
  412. name: '时钟同步',
  413. isShow: false,
  414. },
  415. {
  416. id: 'tb-terminal-unbind',
  417. name: '解绑',
  418. isShow: false,
  419. },
  420. {
  421. id: 'tb-terminal-edit',
  422. name: '编辑',
  423. isShow: false,
  424. },
  425. {
  426. id: 'tb-terminal-del',
  427. name: '删除',
  428. isShow: false,
  429. },
  430. ]
  431. }, {
  432. id: 'tb-command-log-list',
  433. name: '命令日志',
  434. url: 'sa-view/tb-command-log/tb-command-log-list.html',
  435. childList: [{
  436. id: 'tb-command-log-del',
  437. name: '删除',
  438. isShow: false,
  439. }, ]
  440. },
  441. ]
  442. },
  443. {
  444. id: 'tb-gate-terminal',
  445. name: '车辆道闸',
  446. parent: true,
  447. icon: 'el-icon-folder-opened',
  448. childList: [{
  449. id: 'tb-gate-terminal-list',
  450. name: '道闸设备',
  451. url: 'sa-view/tb-gate-terminal/tb-gate-terminal-list.html',
  452. childList: [{
  453. id: 'tb-gate-terminal-open',
  454. name: '远程开闸',
  455. isShow: false,
  456. },
  457. {
  458. id: 'tb-gate-terminal-add',
  459. name: '添加',
  460. isShow: false,
  461. },
  462. {
  463. id: 'tb-gate-terminal-del',
  464. name: '删除',
  465. isShow: false,
  466. },
  467. {
  468. id: 'tb-gate-terminal-edit',
  469. name: '修改',
  470. isShow: false,
  471. },
  472. ]
  473. },
  474. {
  475. id: 'tb-gate-command-log-list',
  476. name: '命令日志',
  477. url: 'sa-view/tb-gate-command-log/tb-gate-command-log-list.html',
  478. childList: [{
  479. id: 'tb-gate-command-log-del',
  480. name: '删除',
  481. isShow: false,
  482. }]
  483. }
  484. ]
  485. },
  486. ]
  487. }, {
  488. id: 'tb-manager',
  489. name: '防疫人员',
  490. icon: 'el-icon-folder-opened',
  491. info: '防疫人员表数据的维护',
  492. childList: [{
  493. id: 'tb-manager-list',
  494. name: '防疫人员-列表',
  495. url: 'sa-view/tb-manager/tb-manager-list.html'
  496. },
  497. {
  498. id: 'tb-manager-add',
  499. name: '防疫人员-添加',
  500. url: 'sa-view/tb-manager/tb-manager-add.html'
  501. },
  502. ]
  503. },
  504. );