global.js 21 KB

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