global.js 22 KB

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