quanyawei
2023-10-08 d1b793c51a67e7aebf04d35c0200b21681337024
src/views/UVA/index1.vue
@@ -90,7 +90,7 @@
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) {
@@ -139,7 +139,8 @@
    getTimeAreaData(item, index) {
      this.asideData.activeAreaKey = -1
      this.asideData.activeKey = index
      axios.get('http://47.99.64.149:8081/api/uav/queryTimeSlot', {
      axios.get(`${requestObj.baseUrl}/queryTimeSlot`, {
        params: {
          organizationId: this.$store.state.orgId,
          date: item
@@ -196,7 +197,7 @@
        this.map.remove(this.textMarkers.markers)
      }
      this.asideData.activeAreaKey = index
      axios.get('http://47.99.64.149:8081/api/uav/queryDataByBatch', {
      axios.get(`${requestObj.baseUrl}/uav/queryDataByBatch`, {
        params: {
          batch: item.batch
        },
@@ -371,7 +372,7 @@
    },
    // 获取组织下存在飞行记录的日期
    getDate() {
      axios.get('http://47.99.64.149:8081/api/uav/queryDate', {
      axios.get(`${requestObj.baseUrl}/uav/queryDate`, {
        params: {
          organizationId: this.$store.state.orgId
        },