| | |
| | | } |
| | | |
| | | // 获取事件聚合 |
| | | function getMapEventCount (areaCode) { |
| | | return getMapEvents({ areaCode }).then(res => { |
| | | function getMapEventCount (area_code) { |
| | | return getMapEvents({ area_code,date_enum:'CURRENT_WEEK' }).then(res => { |
| | | const resData = res?.data?.data |
| | | if (resData?.data) { |
| | | eventList = resData?.data |
| | |
| | | viewer.scene.postRender.addEventListener(labelBoxRender) |
| | | } |
| | | if (deviceFind) { |
| | | store.commit('setSingleUavHome', { id: '123' }) |
| | | const device = deviceFind.properties.customData._value.data |
| | | store.commit('setSingleUavHome', device) |
| | | } |
| | | } |
| | | |