global.js 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620
  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: '',
  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: '',
  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: '/dashboard/sealedMonitoring/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: '',
  169. componentName: 'index',
  170. title: '密闭监测',
  171. generation: true,
  172. },
  173. name: 'sealed',
  174. },
  175. {
  176. redirect: undefined,
  177. path: '/warningAnalysis',
  178. component: 'LAYOUT',
  179. children: [
  180. {
  181. path: '/warningAnalysis/airLeak-status',
  182. component: 'dashboard/warningAnalysis/airLeakStatus',
  183. meta: {
  184. keepAlive: true,
  185. internalOrExternal: false,
  186. icon: '',
  187. componentName: 'index',
  188. title: '漏风分析',
  189. },
  190. name: 'warningAnalysis-airLeak-status',
  191. },
  192. {
  193. path: '/warningAnalysis/pressureDiff-analysis',
  194. component: 'dashboard/warningAnalysis/pressureDiffAnalysis',
  195. meta: {
  196. keepAlive: true,
  197. internalOrExternal: false,
  198. icon: '',
  199. componentName: 'index',
  200. title: '内外压差变化分析',
  201. },
  202. name: 'warningAnalysis-/pressureDiff-analysis',
  203. },
  204. ],
  205. meta: {
  206. keepAlive: false,
  207. internalOrExternal: false,
  208. icon: '',
  209. componentName: 'index',
  210. title: '预警分析',
  211. },
  212. name: 'warningAnalysis',
  213. },
  214. {
  215. redirect: undefined,
  216. path: '/smartAnalysis',
  217. component: 'LAYOUT',
  218. children: [],
  219. meta: {
  220. keepAlive: false,
  221. internalOrExternal: false,
  222. icon: '',
  223. componentName: 'index',
  224. title: '智能分析',
  225. },
  226. name: 'smartAnalysis',
  227. },
  228. {
  229. redirect: undefined,
  230. path: '/3dManage',
  231. component: 'LAYOUT',
  232. children: [],
  233. meta: {
  234. keepAlive: false,
  235. internalOrExternal: false,
  236. icon: '',
  237. componentName: 'index',
  238. title: '模型管理',
  239. },
  240. name: '3dManage',
  241. },
  242. {
  243. redirect: undefined,
  244. path: '/system',
  245. component: 'LAYOUT',
  246. children: [
  247. {
  248. path: '/system/menu',
  249. component: 'system/menu/index',
  250. meta: {
  251. keepAlive: false,
  252. internalOrExternal: false,
  253. icon: '',
  254. componentName: 'index',
  255. title: '系统菜单',
  256. },
  257. name: 'system-menu',
  258. },
  259. {
  260. path: '/system/user',
  261. component: 'system/user/index',
  262. meta: {
  263. keepAlive: true,
  264. internalOrExternal: false,
  265. icon: '',
  266. componentName: 'index',
  267. title: '系统用户',
  268. },
  269. name: 'system-user',
  270. },
  271. {
  272. path: '/system/homeConfig',
  273. component: 'system/homeConfig/index',
  274. meta: {
  275. keepAlive: false,
  276. internalOrExternal: false,
  277. icon: '',
  278. componentName: 'index',
  279. title: '首页配置',
  280. },
  281. name: 'system-homeConfig',
  282. },
  283. {
  284. path: '/system/role',
  285. component: 'system/role/index',
  286. meta: {
  287. keepAlive: true,
  288. internalOrExternal: false,
  289. icon: '',
  290. componentName: 'index',
  291. title: '系统角色',
  292. },
  293. name: 'system-role',
  294. },
  295. {
  296. path: '/system/dict',
  297. component: 'system/dict/index',
  298. meta: {
  299. keepAlive: false,
  300. internalOrExternal: false,
  301. icon: '',
  302. componentName: 'index',
  303. title: '数据字典',
  304. },
  305. name: 'system-dict',
  306. },
  307. {
  308. path: '/system/depart',
  309. component: 'system/depart/index',
  310. meta: {
  311. keepAlive: false,
  312. internalOrExternal: false,
  313. icon: '',
  314. componentName: 'index',
  315. title: '部门管理',
  316. },
  317. name: 'system-depart',
  318. },
  319. {
  320. path: '/system/tenant',
  321. component: 'system/tenant/index',
  322. meta: {
  323. keepAlive: false,
  324. internalOrExternal: false,
  325. icon: '',
  326. componentName: 'index',
  327. title: '多租户管理',
  328. },
  329. name: 'system-tenant',
  330. },
  331. {
  332. path: '/tenant/TenantDefaultPack',
  333. component: 'system/tenant/pack/TenantDefaultPackList',
  334. meta: {
  335. keepAlive: false,
  336. internalOrExternal: false,
  337. icon: '',
  338. componentName: 'TenantDefaultPackList',
  339. title: '租户默认套餐',
  340. },
  341. name: 'tenant-TenantDefaultPack',
  342. },
  343. {
  344. path: '/system/position',
  345. component: 'system/position/index',
  346. meta: {
  347. keepAlive: false,
  348. internalOrExternal: false,
  349. icon: '',
  350. componentName: 'index',
  351. title: '职务级别',
  352. },
  353. name: 'system-position',
  354. },
  355. {
  356. path: '/system/category',
  357. component: 'system/category/index',
  358. meta: {
  359. keepAlive: false,
  360. internalOrExternal: false,
  361. icon: '',
  362. componentName: 'index',
  363. title: '分类字典',
  364. },
  365. name: 'system-category',
  366. },
  367. {
  368. path: '/system/notice',
  369. component: 'system/notice/index',
  370. meta: {
  371. keepAlive: false,
  372. internalOrExternal: false,
  373. icon: '',
  374. componentName: 'index',
  375. title: '通知公告',
  376. },
  377. name: 'system-notice',
  378. },
  379. {
  380. path: '/system/depart-user',
  381. component: 'system/departUser/index',
  382. meta: {
  383. keepAlive: false,
  384. internalOrExternal: false,
  385. icon: '',
  386. componentName: 'index',
  387. title: '我的部门',
  388. },
  389. name: 'system-depart-user',
  390. },
  391. {
  392. path: '/system/usersetting',
  393. component: 'system/usersetting/UserSetting',
  394. meta: {
  395. hideMenu: true,
  396. keepAlive: false,
  397. internalOrExternal: false,
  398. icon: '',
  399. componentName: 'UserSetting',
  400. title: '用户设置',
  401. },
  402. name: 'system-usersetting',
  403. },
  404. {
  405. path: '/third/app',
  406. component: 'system/appconfig/ThirdAppConfigList',
  407. meta: {
  408. keepAlive: false,
  409. internalOrExternal: false,
  410. icon: '',
  411. componentName: 'ThirdAppConfigList',
  412. title: '第三方配置',
  413. },
  414. name: 'third-app',
  415. },
  416. {
  417. path: '/system/configurable',
  418. component: 'system/configurable/index',
  419. meta: {
  420. keepAlive: false,
  421. internalOrExternal: false,
  422. icon: '',
  423. componentName: 'index',
  424. title: '可配置模块管理',
  425. },
  426. name: 'configurable-manage',
  427. },
  428. ],
  429. meta: {
  430. keepAlive: false,
  431. internalOrExternal: false,
  432. icon: '',
  433. componentName: 'index',
  434. title: '系统管理',
  435. },
  436. name: 'isystem',
  437. },
  438. // {
  439. // redirect: undefined,
  440. // path: '/monitor',
  441. // component: 'LAYOUT',
  442. // children: [
  443. // {
  444. // path: '/monitor/route',
  445. // component: 'monitor/route/index',
  446. // meta: {
  447. // keepAlive: false,
  448. // internalOrExternal: false,
  449. // icon: '',
  450. // componentName: 'index',
  451. // title: '网关路由',
  452. // },
  453. // name: 'monitor-route',
  454. // },
  455. // {
  456. // path: '/monitor/quartz',
  457. // component: 'monitor/quartz/index',
  458. // meta: {
  459. // keepAlive: false,
  460. // internalOrExternal: false,
  461. // icon: '',
  462. // componentName: 'index',
  463. // title: '定时任务',
  464. // },
  465. // name: 'monitor-quartz',
  466. // },
  467. // {
  468. // path: '/monitor/datasource',
  469. // component: 'monitor/datasource/index',
  470. // meta: {
  471. // keepAlive: false,
  472. // internalOrExternal: false,
  473. // icon: '',
  474. // componentName: 'index',
  475. // title: '数据源管理',
  476. // },
  477. // name: 'monitor-datasource',
  478. // },
  479. // {
  480. // path: '/monitor/datalog',
  481. // component: 'monitor/datalog/index',
  482. // meta: {
  483. // keepAlive: false,
  484. // internalOrExternal: false,
  485. // icon: '',
  486. // componentName: 'index',
  487. // title: '数据日志',
  488. // },
  489. // name: 'monitor-datalog',
  490. // },
  491. // {
  492. // path: '/monitor/log',
  493. // component: 'monitor/log/index',
  494. // meta: {
  495. // keepAlive: false,
  496. // internalOrExternal: false,
  497. // icon: '',
  498. // componentName: 'index',
  499. // title: '日志管理',
  500. // },
  501. // name: 'monitor-log',
  502. // },
  503. // {
  504. // path: '/monitor/druid',
  505. // component: "{{ window._CONFIG['domianURL'] }}/druid",
  506. // meta: {
  507. // keepAlive: false,
  508. // internalOrExternal: true,
  509. // icon: '',
  510. // componentName: 'druid',
  511. // title: 'SQL监控',
  512. // },
  513. // name: 'monitor-druid',
  514. // },
  515. // {
  516. // path: '/monitor/server',
  517. // component: 'monitor/server/index',
  518. // meta: {
  519. // keepAlive: false,
  520. // internalOrExternal: false,
  521. // icon: '',
  522. // componentName: 'index',
  523. // title: '性能监控',
  524. // },
  525. // name: 'monitor-server',
  526. // },
  527. // {
  528. // path: '/monitor/redis',
  529. // component: 'monitor/redis/index',
  530. // meta: {
  531. // keepAlive: false,
  532. // internalOrExternal: false,
  533. // icon: '',
  534. // componentName: 'index',
  535. // title: 'Redis监控',
  536. // },
  537. // name: 'monitor-redis',
  538. // },
  539. // {
  540. // path: '/monitor/trace',
  541. // component: 'monitor/trace/index',
  542. // meta: {
  543. // keepAlive: false,
  544. // internalOrExternal: false,
  545. // icon: '',
  546. // componentName: 'index',
  547. // title: '请求追踪',
  548. // },
  549. // name: 'monitor-trace',
  550. // },
  551. // {
  552. // path: '/system/onlineuser',
  553. // component: 'system/onlineuser/OnlineUserList',
  554. // meta: {
  555. // keepAlive: false,
  556. // internalOrExternal: false,
  557. // icon: '',
  558. // componentName: 'OnlineUserList',
  559. // title: '在线用户',
  560. // },
  561. // name: 'system-onlineuser',
  562. // },
  563. // {
  564. // path: '/openapi',
  565. // component: 'layouts/RouteView',
  566. // children: [
  567. // {
  568. // path: '/openapi/openApiAuthList',
  569. // component: 'openapi/OpenApiAuthList',
  570. // meta: {
  571. // keepAlive: false,
  572. // internalOrExternal: false,
  573. // componentName: 'OpenApiAuthList',
  574. // title: '授权管理',
  575. // },
  576. // name: 'openapi-openApiAuthList',
  577. // },
  578. // {
  579. // path: '/openapi/openApiList',
  580. // component: 'openapi/OpenApiList',
  581. // meta: {
  582. // keepAlive: false,
  583. // internalOrExternal: false,
  584. // componentName: 'OpenApiList',
  585. // title: '接口管理',
  586. // },
  587. // name: 'openapi-openApiList',
  588. // },
  589. // {
  590. // path: '/openapi/SwaggerUI',
  591. // component: 'openapi/SwaggerUI',
  592. // meta: {
  593. // keepAlive: false,
  594. // internalOrExternal: false,
  595. // componentName: 'SwaggerUI',
  596. // title: '接口文档',
  597. // },
  598. // name: 'openapi-SwaggerUI',
  599. // },
  600. // ],
  601. // meta: {
  602. // keepAlive: false,
  603. // internalOrExternal: false,
  604. // icon: '',
  605. // componentName: 'RouteView',
  606. // title: 'OpenAPI',
  607. // },
  608. // name: 'openapi',
  609. // },
  610. // ],
  611. // meta: {
  612. // keepAlive: false,
  613. // internalOrExternal: false,
  614. // icon: '',
  615. // componentName: 'index',
  616. // title: '系统监控',
  617. // },
  618. // name: 'monitor',
  619. // },
  620. ]