global.js 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745
  1. /** 静态菜单 */
  2. const __STATIC_ROUTES__ = [
  3. {
  4. redirect: undefined,
  5. path: '/dashboard',
  6. component: 'PLAIN_LAYOUT',
  7. // component: 'LAYOUT',
  8. children: [
  9. {
  10. path: '/dashboard/sealedgoaf',
  11. component: '/dashboard/SealedGoaf',
  12. meta: {
  13. keepAlive: true,
  14. internalOrExternal: false,
  15. icon: '',
  16. componentName: 'SealedGoaf',
  17. title: '老空区永久密闭首页',
  18. },
  19. name: 'dashboard-sealedgoaf',
  20. },
  21. // {
  22. // path: '/dashboard/analysis',
  23. // component: 'dashboard/Analysis',
  24. // meta: {
  25. // keepAlive: true,
  26. // internalOrExternal: false,
  27. // icon: '',
  28. // componentName: 'Analysis',
  29. // title: '首页',
  30. // },
  31. // name: 'dashboard-analysis',
  32. // },
  33. // {
  34. // path: '/portal-view/system',
  35. // component: '1',
  36. // meta: {
  37. // keepAlive: false,
  38. // internalOrExternal: false,
  39. // icon: '',
  40. // componentName: '1',
  41. // title: '主门户',
  42. // },
  43. // name: 'portal-view-system',
  44. // },
  45. // {
  46. // path: '/portal-view/personal',
  47. // component: '1',
  48. // meta: {
  49. // keepAlive: false,
  50. // internalOrExternal: false,
  51. // icon: '',
  52. // componentName: '1',
  53. // title: '个人工作台',
  54. // },
  55. // name: 'portal-view-personal',
  56. // },
  57. // {
  58. // path: '/dashboard/workbench',
  59. // component: 'dashboard/workbench/index',
  60. // meta: {
  61. // keepAlive: false,
  62. // internalOrExternal: false,
  63. // icon: '',
  64. // componentName: 'index',
  65. // title: '工作台',
  66. // },
  67. // name: 'dashboard-workbench',
  68. // },
  69. ],
  70. meta: {
  71. keepAlive: false,
  72. internalOrExternal: false,
  73. icon: 'ant-design:home-outlined',
  74. componentName: 'index',
  75. title: '主页',
  76. hideMenu: true,
  77. hideBreadcrumb: true,
  78. hideTab: true
  79. },
  80. name: 'dashboard',
  81. },
  82. {
  83. redirect: undefined,
  84. path: '/basicinfo',
  85. component: 'LAYOUT',
  86. children: [
  87. {
  88. path: '/basicinfo/mines-info',
  89. component: 'dashboard/basicInfo/minesInfo',
  90. meta: {
  91. keepAlive: true,
  92. internalOrExternal: false,
  93. icon: '',
  94. componentName: 'index',
  95. title: '矿山信息',
  96. },
  97. name: 'basicinfo-mines-info',
  98. },
  99. {
  100. path: '/basicinfo/access-statistics',
  101. component: 'dashboard/basicInfo/accessStatistics',
  102. meta: {
  103. keepAlive: true,
  104. internalOrExternal: false,
  105. icon: '',
  106. componentName: 'index',
  107. title: '接入统计',
  108. },
  109. name: 'basicinfo-access-statistics',
  110. },
  111. {
  112. path: '/basicinfo/data-quality',
  113. component: 'dashboard/basicInfo/dataQuality',
  114. meta: {
  115. keepAlive: true,
  116. internalOrExternal: false,
  117. icon: '',
  118. componentName: 'index',
  119. title: '数据质量',
  120. },
  121. name: 'basicinfo-data-quality',
  122. },
  123. {
  124. path: '/basicinfo/closed-statistics',
  125. component: 'dashboard/basicInfo/closedStatistics',
  126. meta: {
  127. keepAlive: true,
  128. internalOrExternal: false,
  129. icon: '',
  130. componentName: 'index',
  131. title: '密闭统计',
  132. },
  133. name: 'basicinfo-closed-statistics',
  134. },
  135. ],
  136. meta: {
  137. keepAlive: false,
  138. internalOrExternal: false,
  139. icon: 'menu-info|svg',
  140. componentName: 'index',
  141. title: '矿山基础信息',
  142. },
  143. name: 'basicInfo',
  144. },
  145. {
  146. redirect: undefined,
  147. path: '/sealed',
  148. component: '/monitor/sealedMonitor/index',
  149. children: [
  150. {
  151. path: '/sealed/${rawid}',
  152. component: '/monitor/sealedMonitor/index',
  153. meta: {
  154. keepAlive: true,
  155. internalOrExternal: false,
  156. icon: '',
  157. componentName: 'index',
  158. title: '${departName}',
  159. hideMenu: true,
  160. generation: false,
  161. // orderNo: '${departOrder}',
  162. },
  163. name: 'sealed-${rawid}',
  164. }
  165. ],
  166. meta: {
  167. keepAlive: false,
  168. internalOrExternal: false,
  169. icon: 'menu-analysis|svg',
  170. componentName: 'index',
  171. title: '密闭监测',
  172. generation: true,
  173. },
  174. name: 'sealed',
  175. },
  176. {
  177. redirect: undefined,
  178. path: '/warning-analysis',
  179. component: 'LAYOUT',
  180. children: [
  181. {
  182. path: '/warning-analysis/air-leak-status',
  183. component: '/analysis/warningAnalysis/airLeakStatus/index',
  184. meta: {
  185. keepAlive: true,
  186. internalOrExternal: false,
  187. icon: '',
  188. componentName: 'index',
  189. title: '密闭漏风状态判定',
  190. },
  191. name: 'airLeakStatus',
  192. },
  193. {
  194. path: '/warning-analysis/pressure-diff-analysis',
  195. component: '/analysis/warningAnalysis/pressureDiffAnalysis/index',
  196. meta: {
  197. keepAlive: true,
  198. internalOrExternal: false,
  199. icon: '',
  200. componentName: 'index',
  201. title: '内外压差变化风险分析',
  202. },
  203. name: 'pressureDiffAnalysis',
  204. },
  205. {
  206. path: '/warningAnalysis/autoFire-analysis',
  207. component: '/analysis/warningAnalysis/autoFireAnalysis/index',
  208. meta: {
  209. keepAlive: true,
  210. internalOrExternal: false,
  211. icon: '',
  212. componentName: 'index',
  213. title: '自然发火隐患分级',
  214. },
  215. name: 'warningAnalysis-autoFire-analysis',
  216. },
  217. {
  218. path: '/warningAnalysis/fireArea-judge',
  219. component: '/analysis/warningAnalysis/fireAreaJudgeAnalysis/index',
  220. meta: {
  221. keepAlive: true,
  222. internalOrExternal: false,
  223. icon: '',
  224. componentName: 'index',
  225. title: '火区密闭启封判定',
  226. },
  227. name: 'warningAnalysis-fireArea-judge',
  228. },
  229. {
  230. path: '/warningAnalysis/sealRisk-judge',
  231. component: '/analysis/warningAnalysis/sealRiskJudgeAnalysis/index',
  232. meta: {
  233. keepAlive: true,
  234. internalOrExternal: false,
  235. icon: '',
  236. componentName: 'index',
  237. title: '密闭爆炸危险性判定',
  238. },
  239. name: 'warningAnalysis-sealRisk-judge',
  240. },
  241. {
  242. path: '/warningAnalysis/overlimit-alarm',
  243. component: '/analysis/warningAnalysis/overlimitAlarm/index',
  244. meta: {
  245. keepAlive: true,
  246. internalOrExternal: false,
  247. icon: '',
  248. componentName: 'index',
  249. title: '超限报警',
  250. },
  251. name: 'warningAnalysis-overlimit-alarm',
  252. },
  253. ],
  254. meta: {
  255. keepAlive: false,
  256. internalOrExternal: false,
  257. icon: 'menu-warning|svg',
  258. componentName: 'index',
  259. title: '预警分析',
  260. },
  261. name: 'warningAnalysis',
  262. },
  263. {
  264. redirect: undefined,
  265. path: '/smart-analysis',
  266. component: 'LAYOUT',
  267. children: [
  268. // {
  269. // path: '/smart-analysis/association',
  270. // component: '/demo/table/Basic',
  271. // meta: {
  272. // keepAlive: true,
  273. // internalOrExternal: false,
  274. // icon: '',
  275. // componentName: 'index',
  276. // title: '关联分析',
  277. // },
  278. // name: 'association',
  279. // },
  280. {
  281. path: '/warningAnalysis/connectAnalysis',
  282. component: '/analysis/warningAnalysis/connectAnalysis/index',
  283. meta: {
  284. keepAlive: true,
  285. internalOrExternal: false,
  286. icon: '',
  287. componentName: 'index',
  288. title: '关联分析',
  289. },
  290. name: 'warningAnalysis-connect',
  291. },
  292. ],
  293. meta: {
  294. keepAlive: false,
  295. internalOrExternal: false,
  296. icon: 'menu-smart|svg',
  297. componentName: 'index',
  298. title: '智能分析',
  299. },
  300. name: 'smartAnalysis',
  301. },
  302. {
  303. redirect: undefined,
  304. path: '/manage',
  305. component: 'LAYOUT',
  306. children: [
  307. {
  308. path: '/manage/map',
  309. component: '/system/cadFile/index',
  310. meta: {
  311. keepAlive: true,
  312. internalOrExternal: false,
  313. icon: '',
  314. componentName: 'index',
  315. title: '地图管理',
  316. // hideMenu: true,
  317. },
  318. name: 'cadFile',
  319. },
  320. {
  321. path: '/manage/model',
  322. component: '/system/algorithm/index',
  323. meta: {
  324. keepAlive: true,
  325. internalOrExternal: false,
  326. icon: '',
  327. componentName: 'index',
  328. title: '预警模型管理',
  329. },
  330. name: 'association',
  331. },
  332. ],
  333. meta: {
  334. keepAlive: false,
  335. internalOrExternal: false,
  336. icon: 'menu-model|svg',
  337. componentName: 'index',
  338. title: '模型与地图管理',
  339. },
  340. name: 'manage',
  341. },
  342. {
  343. redirect: undefined,
  344. path: '/system',
  345. component: 'LAYOUT',
  346. children: [
  347. // {
  348. // path: '/system/menu',
  349. // component: 'system/menu/index',
  350. // meta: {
  351. // keepAlive: false,
  352. // internalOrExternal: false,
  353. // icon: '',
  354. // componentName: 'index',
  355. // title: '系统菜单',
  356. // },
  357. // name: 'system-menu',
  358. // },
  359. {
  360. path: '/system/user',
  361. component: 'system/user/index',
  362. meta: {
  363. keepAlive: true,
  364. internalOrExternal: false,
  365. icon: '',
  366. componentName: 'index',
  367. title: '系统用户',
  368. },
  369. name: 'system-user',
  370. },
  371. // {
  372. // path: '/system/home-config',
  373. // component: 'system/homeConfig/index',
  374. // meta: {
  375. // keepAlive: false,
  376. // internalOrExternal: false,
  377. // icon: '',
  378. // componentName: 'index',
  379. // title: '首页配置',
  380. // },
  381. // name: 'system-home-config',
  382. // },
  383. {
  384. path: '/system/role',
  385. component: 'system/role/index',
  386. meta: {
  387. keepAlive: true,
  388. internalOrExternal: false,
  389. icon: '',
  390. componentName: 'index',
  391. title: '系统角色',
  392. },
  393. name: 'system-role',
  394. },
  395. {
  396. path: '/system/dict',
  397. component: 'system/dict/index',
  398. meta: {
  399. keepAlive: false,
  400. internalOrExternal: false,
  401. icon: '',
  402. componentName: 'index',
  403. title: '数据字典',
  404. },
  405. name: 'system-dict',
  406. },
  407. {
  408. path: '/system/depart',
  409. component: 'system/depart/index',
  410. meta: {
  411. keepAlive: false,
  412. internalOrExternal: false,
  413. icon: '',
  414. componentName: 'index',
  415. title: '部门管理',
  416. },
  417. name: 'system-depart',
  418. },
  419. // {
  420. // path: '/system/tenant',
  421. // component: 'system/tenant/index',
  422. // meta: {
  423. // keepAlive: false,
  424. // internalOrExternal: false,
  425. // icon: '',
  426. // componentName: 'index',
  427. // title: '多租户管理',
  428. // },
  429. // name: 'system-tenant',
  430. // },
  431. // {
  432. // path: '/tenant/TenantDefaultPack',
  433. // component: 'system/tenant/pack/TenantDefaultPackList',
  434. // meta: {
  435. // keepAlive: false,
  436. // internalOrExternal: false,
  437. // icon: '',
  438. // componentName: 'TenantDefaultPackList',
  439. // title: '租户默认套餐',
  440. // },
  441. // name: 'tenant-TenantDefaultPack',
  442. // },
  443. // {
  444. // path: '/system/position',
  445. // component: 'system/position/index',
  446. // meta: {
  447. // keepAlive: false,
  448. // internalOrExternal: false,
  449. // icon: '',
  450. // componentName: 'index',
  451. // title: '职务级别',
  452. // },
  453. // name: 'system-position',
  454. // },
  455. // {
  456. // path: '/system/category',
  457. // component: 'system/category/index',
  458. // meta: {
  459. // keepAlive: false,
  460. // internalOrExternal: false,
  461. // icon: '',
  462. // componentName: 'index',
  463. // title: '分类字典',
  464. // },
  465. // name: 'system-category',
  466. // },
  467. {
  468. path: '/system/notice',
  469. component: 'system/notice/index',
  470. meta: {
  471. keepAlive: false,
  472. internalOrExternal: false,
  473. icon: '',
  474. componentName: 'index',
  475. title: '通知公告',
  476. },
  477. name: 'system-notice',
  478. },
  479. // {
  480. // path: '/system/depart-user',
  481. // component: 'system/departUser/index',
  482. // meta: {
  483. // keepAlive: false,
  484. // internalOrExternal: false,
  485. // icon: '',
  486. // componentName: 'index',
  487. // title: '我的部门',
  488. // },
  489. // name: 'system-depart-user',
  490. // },
  491. {
  492. path: '/system/usersetting',
  493. component: 'system/usersetting/UserSetting',
  494. meta: {
  495. hideMenu: true,
  496. keepAlive: false,
  497. internalOrExternal: false,
  498. icon: '',
  499. componentName: 'UserSetting',
  500. title: '用户设置',
  501. },
  502. name: 'system-usersetting',
  503. },
  504. // {
  505. // path: '/monitor/datalog',
  506. // component: 'monitor/datalog/index',
  507. // meta: {
  508. // keepAlive: false,
  509. // internalOrExternal: false,
  510. // icon: '',
  511. // componentName: 'index',
  512. // title: '数据日志',
  513. // },
  514. // name: 'monitor-datalog',
  515. // },
  516. {
  517. path: '/monitor/log',
  518. component: 'monitor/log/index',
  519. meta: {
  520. keepAlive: false,
  521. internalOrExternal: false,
  522. icon: '',
  523. componentName: 'index',
  524. title: '日志管理',
  525. },
  526. name: 'monitor-log',
  527. },
  528. // {
  529. // path: '/third/app',
  530. // component: 'system/appconfig/ThirdAppConfigList',
  531. // meta: {
  532. // keepAlive: false,
  533. // internalOrExternal: false,
  534. // icon: '',
  535. // componentName: 'ThirdAppConfigList',
  536. // title: '第三方配置',
  537. // },
  538. // name: 'third-app',
  539. // },
  540. {
  541. path: '/system/configurable',
  542. component: 'system/configurable/index',
  543. meta: {
  544. keepAlive: false,
  545. internalOrExternal: false,
  546. icon: '',
  547. componentName: 'index',
  548. title: '可配置模块管理',
  549. },
  550. name: 'configurable-manage',
  551. },
  552. ],
  553. meta: {
  554. keepAlive: false,
  555. internalOrExternal: false,
  556. icon: 'menu-manage|svg',
  557. componentName: 'index',
  558. title: '系统管理',
  559. },
  560. name: 'isystem',
  561. },
  562. // {
  563. // redirect: undefined,
  564. // path: '/monitor',
  565. // component: 'LAYOUT',
  566. // children: [
  567. // {
  568. // path: '/monitor/route',
  569. // component: 'monitor/route/index',
  570. // meta: {
  571. // keepAlive: false,
  572. // internalOrExternal: false,
  573. // icon: '',
  574. // componentName: 'index',
  575. // title: '网关路由',
  576. // },
  577. // name: 'monitor-route',
  578. // },
  579. // {
  580. // path: '/monitor/quartz',
  581. // component: 'monitor/quartz/index',
  582. // meta: {
  583. // keepAlive: false,
  584. // internalOrExternal: false,
  585. // icon: '',
  586. // componentName: 'index',
  587. // title: '定时任务',
  588. // },
  589. // name: 'monitor-quartz',
  590. // },
  591. // {
  592. // path: '/monitor/datasource',
  593. // component: 'monitor/datasource/index',
  594. // meta: {
  595. // keepAlive: false,
  596. // internalOrExternal: false,
  597. // icon: '',
  598. // componentName: 'index',
  599. // title: '数据源管理',
  600. // },
  601. // name: 'monitor-datasource',
  602. // },
  603. // {
  604. // path: '/monitor/datalog',
  605. // component: 'monitor/datalog/index',
  606. // meta: {
  607. // keepAlive: false,
  608. // internalOrExternal: false,
  609. // icon: '',
  610. // componentName: 'index',
  611. // title: '数据日志',
  612. // },
  613. // name: 'monitor-datalog',
  614. // },
  615. // {
  616. // path: '/monitor/log',
  617. // component: 'monitor/log/index',
  618. // meta: {
  619. // keepAlive: false,
  620. // internalOrExternal: false,
  621. // icon: '',
  622. // componentName: 'index',
  623. // title: '日志管理',
  624. // },
  625. // name: 'monitor-log',
  626. // },
  627. // {
  628. // path: '/monitor/druid',
  629. // component: "{{ window._CONFIG['domianURL'] }}/druid",
  630. // meta: {
  631. // keepAlive: false,
  632. // internalOrExternal: true,
  633. // icon: '',
  634. // componentName: 'druid',
  635. // title: 'SQL监控',
  636. // },
  637. // name: 'monitor-druid',
  638. // },
  639. // {
  640. // path: '/monitor/server',
  641. // component: 'monitor/server/index',
  642. // meta: {
  643. // keepAlive: false,
  644. // internalOrExternal: false,
  645. // icon: '',
  646. // componentName: 'index',
  647. // title: '性能监控',
  648. // },
  649. // name: 'monitor-server',
  650. // },
  651. // {
  652. // path: '/monitor/redis',
  653. // component: 'monitor/redis/index',
  654. // meta: {
  655. // keepAlive: false,
  656. // internalOrExternal: false,
  657. // icon: '',
  658. // componentName: 'index',
  659. // title: 'Redis监控',
  660. // },
  661. // name: 'monitor-redis',
  662. // },
  663. // {
  664. // path: '/monitor/trace',
  665. // component: 'monitor/trace/index',
  666. // meta: {
  667. // keepAlive: false,
  668. // internalOrExternal: false,
  669. // icon: '',
  670. // componentName: 'index',
  671. // title: '请求追踪',
  672. // },
  673. // name: 'monitor-trace',
  674. // },
  675. // {
  676. // path: '/system/onlineuser',
  677. // component: 'system/onlineuser/OnlineUserList',
  678. // meta: {
  679. // keepAlive: false,
  680. // internalOrExternal: false,
  681. // icon: '',
  682. // componentName: 'OnlineUserList',
  683. // title: '在线用户',
  684. // },
  685. // name: 'system-onlineuser',
  686. // },
  687. // {
  688. // path: '/openapi',
  689. // component: 'layouts/RouteView',
  690. // children: [
  691. // {
  692. // path: '/openapi/openApiAuthList',
  693. // component: 'openapi/OpenApiAuthList',
  694. // meta: {
  695. // keepAlive: false,
  696. // internalOrExternal: false,
  697. // componentName: 'OpenApiAuthList',
  698. // title: '授权管理',
  699. // },
  700. // name: 'openapi-openApiAuthList',
  701. // },
  702. // {
  703. // path: '/openapi/openApiList',
  704. // component: 'openapi/OpenApiList',
  705. // meta: {
  706. // keepAlive: false,
  707. // internalOrExternal: false,
  708. // componentName: 'OpenApiList',
  709. // title: '接口管理',
  710. // },
  711. // name: 'openapi-openApiList',
  712. // },
  713. // {
  714. // path: '/openapi/SwaggerUI',
  715. // component: 'openapi/SwaggerUI',
  716. // meta: {
  717. // keepAlive: false,
  718. // internalOrExternal: false,
  719. // componentName: 'SwaggerUI',
  720. // title: '接口文档',
  721. // },
  722. // name: 'openapi-SwaggerUI',
  723. // },
  724. // ],
  725. // meta: {
  726. // keepAlive: false,
  727. // internalOrExternal: false,
  728. // icon: '',
  729. // componentName: 'RouteView',
  730. // title: 'OpenAPI',
  731. // },
  732. // name: 'openapi',
  733. // },
  734. // ],
  735. // meta: {
  736. // keepAlive: false,
  737. // internalOrExternal: false,
  738. // icon: '',
  739. // componentName: 'index',
  740. // title: '系统监控',
  741. // },
  742. // name: 'monitor',
  743. // },
  744. ]