global.js 25 KB

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