global.js 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778
  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: 'LAYOUT',
  149. children: [
  150. {
  151. path: '/sealed/${id}',
  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. // orderNo: '${departOrder}',
  161. },
  162. name: 'sealed-${id}',
  163. }
  164. ],
  165. meta: {
  166. keepAlive: false,
  167. internalOrExternal: false,
  168. icon: 'menu-analysis|svg',
  169. componentName: 'index',
  170. title: '密闭监测',
  171. generation: true,
  172. },
  173. name: 'sealed',
  174. },
  175. {
  176. redirect: undefined,
  177. path: '/warning-analysis',
  178. component: 'LAYOUT',
  179. children: [
  180. {
  181. path: '/warning-analysis/air-leak-status',
  182. component: '/analysis/warningAnalysis/airLeakStatus/index',
  183. meta: {
  184. keepAlive: true,
  185. internalOrExternal: false,
  186. icon: '',
  187. componentName: 'index',
  188. title: '密闭漏风状态判定',
  189. },
  190. name: 'airLeakStatus',
  191. },
  192. {
  193. path: '/warning-analysis/pressure-diff-analysis',
  194. component: '/analysis/warningAnalysis/pressureDiffAnalysis/index',
  195. meta: {
  196. keepAlive: true,
  197. internalOrExternal: false,
  198. icon: '',
  199. componentName: 'index',
  200. title: '内外压差变化风险分析',
  201. },
  202. name: 'pressureDiffAnalysis',
  203. },
  204. {
  205. path: '/warning-analysis/fahuo',
  206. component: '/demo/table/Basic',
  207. meta: {
  208. keepAlive: true,
  209. internalOrExternal: false,
  210. icon: '',
  211. componentName: 'index',
  212. title: '自然发火隐患分级分析',
  213. },
  214. name: 'fahuo',
  215. },
  216. {
  217. path: '/warning-analysis/qifeng',
  218. component: '/demo/table/Basic',
  219. meta: {
  220. keepAlive: true,
  221. internalOrExternal: false,
  222. icon: '',
  223. componentName: 'index',
  224. title: '火区密闭启封判定分析',
  225. },
  226. name: 'qifeng',
  227. },
  228. {
  229. path: '/warning-analysis/weixianxing',
  230. component: '/demo/table/Basic',
  231. meta: {
  232. keepAlive: true,
  233. internalOrExternal: false,
  234. icon: '',
  235. componentName: 'index',
  236. title: '密闭爆炸危险性判定',
  237. },
  238. name: 'weixianxing',
  239. },
  240. {
  241. path: '/warning-analysis/chaoxian',
  242. component: '/demo/table/Basic',
  243. meta: {
  244. keepAlive: true,
  245. internalOrExternal: false,
  246. icon: '',
  247. componentName: 'index',
  248. title: '超限报警分析',
  249. },
  250. name: 'chaoxian',
  251. },
  252. {
  253. path: '/warningAnalysis/autoFire-analysis',
  254. component: '/analysis/warningAnalysis/autoFireAnalysis/index',
  255. meta: {
  256. keepAlive: true,
  257. internalOrExternal: false,
  258. icon: '',
  259. componentName: 'index',
  260. title: '自然发火隐患分级',
  261. },
  262. name: 'warningAnalysis-autoFire-analysis',
  263. },
  264. {
  265. path: '/warningAnalysis/fireArea-judge',
  266. component: '/analysis/warningAnalysis/fireAreaJudgeAnalysis/index',
  267. meta: {
  268. keepAlive: true,
  269. internalOrExternal: false,
  270. icon: '',
  271. componentName: 'index',
  272. title: '火区密闭启封判定',
  273. },
  274. name: 'warningAnalysis-fireArea-judge',
  275. },
  276. {
  277. path: '/warningAnalysis/sealRisk-judge',
  278. component: '/analysis/warningAnalysis/sealRiskJudgeAnalysis/index',
  279. meta: {
  280. keepAlive: true,
  281. internalOrExternal: false,
  282. icon: '',
  283. componentName: 'index',
  284. title: '密闭爆炸危险性判定',
  285. },
  286. name: 'warningAnalysis-sealRisk-judge',
  287. },
  288. {
  289. path: '/warningAnalysis/overlimit-alarm',
  290. component: '/analysis/warningAnalysis/overlimitAlarm/index',
  291. meta: {
  292. keepAlive: true,
  293. internalOrExternal: false,
  294. icon: '',
  295. componentName: 'index',
  296. title: '超限报警',
  297. },
  298. name: 'warningAnalysis-overlimit-alarm',
  299. },
  300. ],
  301. meta: {
  302. keepAlive: false,
  303. internalOrExternal: false,
  304. icon: 'menu-warning|svg',
  305. componentName: 'index',
  306. title: '预警分析',
  307. },
  308. name: 'warningAnalysis',
  309. },
  310. {
  311. redirect: undefined,
  312. path: '/smart-analysis',
  313. component: 'LAYOUT',
  314. children: [
  315. {
  316. path: '/smart-analysis/association',
  317. component: '/demo/table/Basic',
  318. meta: {
  319. keepAlive: true,
  320. internalOrExternal: false,
  321. icon: '',
  322. componentName: 'index',
  323. title: '关联分析',
  324. },
  325. name: 'association',
  326. },
  327. ],
  328. meta: {
  329. keepAlive: false,
  330. internalOrExternal: false,
  331. icon: 'menu-smart|svg',
  332. componentName: 'index',
  333. title: '智能分析',
  334. },
  335. name: 'smartAnalysis',
  336. },
  337. {
  338. redirect: undefined,
  339. path: '/manage',
  340. component: 'LAYOUT',
  341. children: [
  342. {
  343. path: '/manage/map',
  344. component: '/demo/table/Basic',
  345. meta: {
  346. keepAlive: true,
  347. internalOrExternal: false,
  348. icon: '',
  349. componentName: 'index',
  350. title: '地图管理',
  351. },
  352. name: 'association',
  353. },
  354. {
  355. path: '/manage/model',
  356. component: '/system/algorithm/index',
  357. meta: {
  358. keepAlive: true,
  359. internalOrExternal: false,
  360. icon: '',
  361. componentName: 'index',
  362. title: '模型管理',
  363. },
  364. name: 'association',
  365. },
  366. ],
  367. meta: {
  368. keepAlive: false,
  369. internalOrExternal: false,
  370. icon: 'menu-model|svg',
  371. componentName: 'index',
  372. title: '模型与地图管理',
  373. },
  374. name: 'manage',
  375. },
  376. {
  377. redirect: undefined,
  378. path: '/system',
  379. component: 'LAYOUT',
  380. children: [
  381. // {
  382. // path: '/system/menu',
  383. // component: 'system/menu/index',
  384. // meta: {
  385. // keepAlive: false,
  386. // internalOrExternal: false,
  387. // icon: '',
  388. // componentName: 'index',
  389. // title: '系统菜单',
  390. // },
  391. // name: 'system-menu',
  392. // },
  393. {
  394. path: '/system/user',
  395. component: 'system/user/index',
  396. meta: {
  397. keepAlive: true,
  398. internalOrExternal: false,
  399. icon: '',
  400. componentName: 'index',
  401. title: '系统用户',
  402. },
  403. name: 'system-user',
  404. },
  405. // {
  406. // path: '/system/home-config',
  407. // component: 'system/homeConfig/index',
  408. // meta: {
  409. // keepAlive: false,
  410. // internalOrExternal: false,
  411. // icon: '',
  412. // componentName: 'index',
  413. // title: '首页配置',
  414. // },
  415. // name: 'system-home-config',
  416. // },
  417. {
  418. path: '/system/role',
  419. component: 'system/role/index',
  420. meta: {
  421. keepAlive: true,
  422. internalOrExternal: false,
  423. icon: '',
  424. componentName: 'index',
  425. title: '系统角色',
  426. },
  427. name: 'system-role',
  428. },
  429. {
  430. path: '/system/dict',
  431. component: 'system/dict/index',
  432. meta: {
  433. keepAlive: false,
  434. internalOrExternal: false,
  435. icon: '',
  436. componentName: 'index',
  437. title: '数据字典',
  438. },
  439. name: 'system-dict',
  440. },
  441. // {
  442. // path: '/system/depart',
  443. // component: 'system/depart/index',
  444. // meta: {
  445. // keepAlive: false,
  446. // internalOrExternal: false,
  447. // icon: '',
  448. // componentName: 'index',
  449. // title: '部门管理',
  450. // },
  451. // name: 'system-depart',
  452. // },
  453. // {
  454. // path: '/system/tenant',
  455. // component: 'system/tenant/index',
  456. // meta: {
  457. // keepAlive: false,
  458. // internalOrExternal: false,
  459. // icon: '',
  460. // componentName: 'index',
  461. // title: '多租户管理',
  462. // },
  463. // name: 'system-tenant',
  464. // },
  465. // {
  466. // path: '/tenant/TenantDefaultPack',
  467. // component: 'system/tenant/pack/TenantDefaultPackList',
  468. // meta: {
  469. // keepAlive: false,
  470. // internalOrExternal: false,
  471. // icon: '',
  472. // componentName: 'TenantDefaultPackList',
  473. // title: '租户默认套餐',
  474. // },
  475. // name: 'tenant-TenantDefaultPack',
  476. // },
  477. // {
  478. // path: '/system/position',
  479. // component: 'system/position/index',
  480. // meta: {
  481. // keepAlive: false,
  482. // internalOrExternal: false,
  483. // icon: '',
  484. // componentName: 'index',
  485. // title: '职务级别',
  486. // },
  487. // name: 'system-position',
  488. // },
  489. // {
  490. // path: '/system/category',
  491. // component: 'system/category/index',
  492. // meta: {
  493. // keepAlive: false,
  494. // internalOrExternal: false,
  495. // icon: '',
  496. // componentName: 'index',
  497. // title: '分类字典',
  498. // },
  499. // name: 'system-category',
  500. // },
  501. {
  502. path: '/system/notice',
  503. component: 'system/notice/index',
  504. meta: {
  505. keepAlive: false,
  506. internalOrExternal: false,
  507. icon: '',
  508. componentName: 'index',
  509. title: '通知公告',
  510. },
  511. name: 'system-notice',
  512. },
  513. // {
  514. // path: '/system/depart-user',
  515. // component: 'system/departUser/index',
  516. // meta: {
  517. // keepAlive: false,
  518. // internalOrExternal: false,
  519. // icon: '',
  520. // componentName: 'index',
  521. // title: '我的部门',
  522. // },
  523. // name: 'system-depart-user',
  524. // },
  525. {
  526. path: '/system/usersetting',
  527. component: 'system/usersetting/UserSetting',
  528. meta: {
  529. hideMenu: true,
  530. keepAlive: false,
  531. internalOrExternal: false,
  532. icon: '',
  533. componentName: 'UserSetting',
  534. title: '用户设置',
  535. },
  536. name: 'system-usersetting',
  537. },
  538. // {
  539. // path: '/monitor/datalog',
  540. // component: 'monitor/datalog/index',
  541. // meta: {
  542. // keepAlive: false,
  543. // internalOrExternal: false,
  544. // icon: '',
  545. // componentName: 'index',
  546. // title: '数据日志',
  547. // },
  548. // name: 'monitor-datalog',
  549. // },
  550. {
  551. path: '/monitor/log',
  552. component: 'monitor/log/index',
  553. meta: {
  554. keepAlive: false,
  555. internalOrExternal: false,
  556. icon: '',
  557. componentName: 'index',
  558. title: '日志管理',
  559. },
  560. name: 'monitor-log',
  561. },
  562. // {
  563. // path: '/third/app',
  564. // component: 'system/appconfig/ThirdAppConfigList',
  565. // meta: {
  566. // keepAlive: false,
  567. // internalOrExternal: false,
  568. // icon: '',
  569. // componentName: 'ThirdAppConfigList',
  570. // title: '第三方配置',
  571. // },
  572. // name: 'third-app',
  573. // },
  574. {
  575. path: '/system/configurable',
  576. component: 'system/configurable/index',
  577. meta: {
  578. keepAlive: false,
  579. internalOrExternal: false,
  580. icon: '',
  581. componentName: 'index',
  582. title: '可配置模块管理',
  583. },
  584. name: 'configurable-manage',
  585. },
  586. ],
  587. meta: {
  588. keepAlive: false,
  589. internalOrExternal: false,
  590. icon: 'menu-manage|svg',
  591. componentName: 'index',
  592. title: '系统管理',
  593. },
  594. name: 'isystem',
  595. },
  596. // {
  597. // redirect: undefined,
  598. // path: '/monitor',
  599. // component: 'LAYOUT',
  600. // children: [
  601. // {
  602. // path: '/monitor/route',
  603. // component: 'monitor/route/index',
  604. // meta: {
  605. // keepAlive: false,
  606. // internalOrExternal: false,
  607. // icon: '',
  608. // componentName: 'index',
  609. // title: '网关路由',
  610. // },
  611. // name: 'monitor-route',
  612. // },
  613. // {
  614. // path: '/monitor/quartz',
  615. // component: 'monitor/quartz/index',
  616. // meta: {
  617. // keepAlive: false,
  618. // internalOrExternal: false,
  619. // icon: '',
  620. // componentName: 'index',
  621. // title: '定时任务',
  622. // },
  623. // name: 'monitor-quartz',
  624. // },
  625. // {
  626. // path: '/monitor/datasource',
  627. // component: 'monitor/datasource/index',
  628. // meta: {
  629. // keepAlive: false,
  630. // internalOrExternal: false,
  631. // icon: '',
  632. // componentName: 'index',
  633. // title: '数据源管理',
  634. // },
  635. // name: 'monitor-datasource',
  636. // },
  637. // {
  638. // path: '/monitor/datalog',
  639. // component: 'monitor/datalog/index',
  640. // meta: {
  641. // keepAlive: false,
  642. // internalOrExternal: false,
  643. // icon: '',
  644. // componentName: 'index',
  645. // title: '数据日志',
  646. // },
  647. // name: 'monitor-datalog',
  648. // },
  649. // {
  650. // path: '/monitor/log',
  651. // component: 'monitor/log/index',
  652. // meta: {
  653. // keepAlive: false,
  654. // internalOrExternal: false,
  655. // icon: '',
  656. // componentName: 'index',
  657. // title: '日志管理',
  658. // },
  659. // name: 'monitor-log',
  660. // },
  661. // {
  662. // path: '/monitor/druid',
  663. // component: "{{ window._CONFIG['domianURL'] }}/druid",
  664. // meta: {
  665. // keepAlive: false,
  666. // internalOrExternal: true,
  667. // icon: '',
  668. // componentName: 'druid',
  669. // title: 'SQL监控',
  670. // },
  671. // name: 'monitor-druid',
  672. // },
  673. // {
  674. // path: '/monitor/server',
  675. // component: 'monitor/server/index',
  676. // meta: {
  677. // keepAlive: false,
  678. // internalOrExternal: false,
  679. // icon: '',
  680. // componentName: 'index',
  681. // title: '性能监控',
  682. // },
  683. // name: 'monitor-server',
  684. // },
  685. // {
  686. // path: '/monitor/redis',
  687. // component: 'monitor/redis/index',
  688. // meta: {
  689. // keepAlive: false,
  690. // internalOrExternal: false,
  691. // icon: '',
  692. // componentName: 'index',
  693. // title: 'Redis监控',
  694. // },
  695. // name: 'monitor-redis',
  696. // },
  697. // {
  698. // path: '/monitor/trace',
  699. // component: 'monitor/trace/index',
  700. // meta: {
  701. // keepAlive: false,
  702. // internalOrExternal: false,
  703. // icon: '',
  704. // componentName: 'index',
  705. // title: '请求追踪',
  706. // },
  707. // name: 'monitor-trace',
  708. // },
  709. // {
  710. // path: '/system/onlineuser',
  711. // component: 'system/onlineuser/OnlineUserList',
  712. // meta: {
  713. // keepAlive: false,
  714. // internalOrExternal: false,
  715. // icon: '',
  716. // componentName: 'OnlineUserList',
  717. // title: '在线用户',
  718. // },
  719. // name: 'system-onlineuser',
  720. // },
  721. // {
  722. // path: '/openapi',
  723. // component: 'layouts/RouteView',
  724. // children: [
  725. // {
  726. // path: '/openapi/openApiAuthList',
  727. // component: 'openapi/OpenApiAuthList',
  728. // meta: {
  729. // keepAlive: false,
  730. // internalOrExternal: false,
  731. // componentName: 'OpenApiAuthList',
  732. // title: '授权管理',
  733. // },
  734. // name: 'openapi-openApiAuthList',
  735. // },
  736. // {
  737. // path: '/openapi/openApiList',
  738. // component: 'openapi/OpenApiList',
  739. // meta: {
  740. // keepAlive: false,
  741. // internalOrExternal: false,
  742. // componentName: 'OpenApiList',
  743. // title: '接口管理',
  744. // },
  745. // name: 'openapi-openApiList',
  746. // },
  747. // {
  748. // path: '/openapi/SwaggerUI',
  749. // component: 'openapi/SwaggerUI',
  750. // meta: {
  751. // keepAlive: false,
  752. // internalOrExternal: false,
  753. // componentName: 'SwaggerUI',
  754. // title: '接口文档',
  755. // },
  756. // name: 'openapi-SwaggerUI',
  757. // },
  758. // ],
  759. // meta: {
  760. // keepAlive: false,
  761. // internalOrExternal: false,
  762. // icon: '',
  763. // componentName: 'RouteView',
  764. // title: 'OpenAPI',
  765. // },
  766. // name: 'openapi',
  767. // },
  768. // ],
  769. // meta: {
  770. // keepAlive: false,
  771. // internalOrExternal: false,
  772. // icon: '',
  773. // componentName: 'index',
  774. // title: '系统监控',
  775. // },
  776. // name: 'monitor',
  777. // },
  778. ]