| | |
| | | import AMapLoader from '@amap/amap-jsapi-loader' |
| | | import { shallowRef } from '@vue/reactivity' |
| | | import { storeToRefs } from 'pinia'; |
| | | import Map from './map.vue' |
| | | import Map from './newMap.vue' |
| | | import {BaiduMap, BmMapType, BmNavigation, BmPolygon, BmGround} from 'vue-baidu-map-3x' |
| | | import { useUserInfo } from '/@/stores/userInfo'; |
| | | import {bigScreenApi} from "/@/api/bigScreen"; |
| | |
| | | }else{ |
| | | state.tlTotal = 0 |
| | | } |
| | | console.log(state.gasTotal,'获取结束') |
| | | const gasTime = newArr.map(i=>i.dataReceivingTime?.slice(11,19)) |
| | | const gasTlTime = [...new Set(gasTime)] |
| | | let areaData = state.areaOptions.map((item)=>{ |
| | |
| | | |
| | | } |
| | | state.socket.onclose=()=>{ |
| | | console.log("socket已经关闭") |
| | | getGasNdData() |
| | | getGasTlData() |
| | | getWindData() |
| | |
| | | } |
| | | } |
| | | } |
| | | </style> |
| | | </style> |