| | |
| | | import axios from 'axios' |
| | | import { getToken } from '@/utils/auth' |
| | | import json from '@/assets/json/sensor.json' |
| | | import requestObj from '@/utils/request' |
| | | export default { |
| | | filters: { |
| | | sensorFilter: function(value) { |
| | |
| | | this.asideData.activeAreaKey = -1 |
| | | this.asideData.activeKey = index |
| | | |
| | | axios.get(`${requestObj.baseUrl}/queryTimeSlot`, { |
| | | axios.get('http://47.99.64.149:8081/api/uav/queryTimeSlot', { |
| | | params: { |
| | | organizationId: this.$store.state.orgId, |
| | | date: item |
| | |
| | | this.map.remove(this.textMarkers.markers) |
| | | } |
| | | this.asideData.activeAreaKey = index |
| | | axios.get(`${requestObj.baseUrl}/uav/queryDataByBatch`, { |
| | | axios.get('http://47.99.64.149:8081/api/uav/queryDataByBatch', { |
| | | params: { |
| | | batch: item.batch |
| | | }, |
| | |
| | | }, |
| | | // 获取组织下存在飞行记录的日期 |
| | | getDate() { |
| | | axios.get(`${requestObj.baseUrl}/uav/queryDate`, { |
| | | axios.get('http://47.99.64.149:8081/api/uav/queryDate', { |
| | | params: { |
| | | organizationId: this.$store.state.orgId |
| | | }, |