吉安感知网项目-前端
shuishen
2026-02-09 b1a6ae289775ce53cc2b5c60afcb107652ed86ba
feat:反无无用文件移除
4 files modified
24 files deleted
7495 ■■■■■ changed files
applications/drone-command/env/.env.development 2 ●●● patch | view | raw | blame | history
applications/drone-command/src/components/PlaybackVideo/PlaybackVideo.vue 141 ●●●●● patch | view | raw | blame | history
applications/drone-command/src/components/PlaybackVideo/components/MapContainer.vue 227 ●●●●● patch | view | raw | blame | history
applications/drone-command/src/components/PlaybackVideo/components/PhotoList.vue 187 ●●●●● patch | view | raw | blame | history
applications/drone-command/src/components/PlaybackVideo/components/VideoPlayer.vue 170 ●●●●● patch | view | raw | blame | history
applications/drone-command/src/components/map-container/mapContainer-copy.vue 264 ●●●●● patch | view | raw | blame | history
applications/drone-command/src/components/map-container/mapContainer.vue 172 ●●●●● patch | view | raw | blame | history
applications/drone-command/src/main.js 4 ●●● patch | view | raw | blame | history
applications/drone-command/src/router/views/index.js 27 ●●●●● patch | view | raw | blame | history
applications/drone-command/src/utils/cesium/publicCesium.js 33 ●●●●● patch | view | raw | blame | history
applications/drone-command/src/utils/cesium/useBoundary.js 432 ●●●●● patch | view | raw | blame | history
applications/drone-command/src/views/monitor/log/api.vue 218 ●●●●● patch | view | raw | blame | history
applications/drone-command/src/views/monitor/log/error.vue 173 ●●●●● patch | view | raw | blame | history
applications/drone-command/src/views/monitor/log/flightLog.vue 529 ●●●●● patch | view | raw | blame | history
applications/drone-command/src/views/monitor/log/usual.vue 164 ●●●●● patch | view | raw | blame | history
applications/drone-command/src/views/resource/attach.vue 327 ●●●●● patch | view | raw | blame | history
applications/drone-command/src/views/resource/components/BoxSelect.vue 250 ●●●●● patch | view | raw | blame | history
applications/drone-command/src/views/resource/components/DrawPolygon.vue 312 ●●●●● patch | view | raw | blame | history
applications/drone-command/src/views/resource/components/FunButton.vue 151 ●●●●● patch | view | raw | blame | history
applications/drone-command/src/views/resource/components/patchDetails.vue 15 ●●●●● patch | view | raw | blame | history
applications/drone-command/src/views/resource/components/spotDetails.vue 955 ●●●●● patch | view | raw | blame | history
applications/drone-command/src/views/resource/media.vue 361 ●●●●● patch | view | raw | blame | history
applications/drone-command/src/views/resource/oss.vue 479 ●●●●● patch | view | raw | blame | history
applications/drone-command/src/views/resource/patchManagement.vue 569 ●●●●● patch | view | raw | blame | history
applications/drone-command/src/views/resource/patchTypeManagement.vue 331 ●●●●● patch | view | raw | blame | history
applications/drone-command/src/views/resource/sms.vue 459 ●●●●● patch | view | raw | blame | history
applications/drone-command/src/views/resource/wayline.vue 308 ●●●●● patch | view | raw | blame | history
applications/drone-command/src/views/resource/waylineFile.vue 235 ●●●●● patch | view | raw | blame | history
applications/drone-command/env/.env.development
@@ -16,7 +16,7 @@
#开发环境代理地址(推荐本地新建文件 .env.development.local 来进行覆盖)
# VITE_APP_URL=https://wrj.shuixiongit.com/api
VITE_APP_URL=http://192.168.1.33
VITE_APP_URL=http://192.168.1.168
# 域名
VITE_APP_AREA_NAME=https://wrj.shuixiongit.com
applications/drone-command/src/components/PlaybackVideo/PlaybackVideo.vue
File was deleted
applications/drone-command/src/components/PlaybackVideo/components/MapContainer.vue
File was deleted
applications/drone-command/src/components/PlaybackVideo/components/PhotoList.vue
File was deleted
applications/drone-command/src/components/PlaybackVideo/components/VideoPlayer.vue
File was deleted
applications/drone-command/src/components/map-container/mapContainer-copy.vue
File was deleted
applications/drone-command/src/components/map-container/mapContainer.vue
File was deleted
applications/drone-command/src/main.js
@@ -49,8 +49,6 @@
// 业务组件
import tenantPackage from './views/system/tenantpackage.vue'
// 地图依赖
import mapContainer from './components/map-container/mapContainer.vue'
import * as DC from '@dvgis/dc-sdk'
import '@dvgis/dc-sdk/dist/dc.min.css'
@@ -102,7 +100,7 @@
app.component('thirdRegister', thirdRegister)
app.component('flowDesign', flowDesign)
app.component('tenantPackage', tenantPackage)
app.component('mapContainer', mapContainer)
app.config.globalProperties.$dayjs = dayjs
app.config.globalProperties.website = website
applications/drone-command/src/router/views/index.js
@@ -146,30 +146,5 @@
        component: () => import(/* webpackChunkName: "views" */ '@/views/system/helpCenter.vue'),
      },
    ],
  },
  {
    path: '/resource',
    component: Layout,
    redirect: '/resource/patchManagement',
    children: [
      {
        path: 'patchManagement',
        name: '图斑管理',
        meta: {
          i18n: 'info',
        },
        component: () => import(/* webpackChunkName: "views" */ '@/views/resource/patchManagement.vue'),
      },
      {
        path: 'patchTypeManagement',
        name: '图斑类型管理',
        meta: {
          i18n: 'info',
        },
        component: () => import(/* webpackChunkName: "views" */ '@/views/resource/patchTypeManagement.vue'),
      },
    ],
  },
  }
]
applications/drone-command/src/utils/cesium/publicCesium.js
@@ -20,7 +20,6 @@
} = getBaseConfig()
import { addBlueFilter } from '@/utils/cesium/common'
import { useBoundary } from '@/utils/cesium/useBoundary'
let smallMpaCenterDistance = null
let curCameraHpr = null
@@ -118,7 +117,6 @@
        this.terrainLoading = null
        this.terrainEnabled = false
        this.globalBaseMapLayers = []
        this.boundary = null
        this.init(options)
    }
@@ -130,13 +128,7 @@
            layerMode = 17,
            contour = true,
            flyToContour = false,
            multiple = 1.4,
            dockOptions = {},
            boundaryChange,
            terrainLoadCallback,
            boundaryColor = '#00F9EC',
            dockRangeType = 1,
            useDockHeight = false
        } = options
        Cesium.Camera.DEFAULT_VIEW_FACTOR = -0.45
        // 西南东北,默认显示中国
@@ -168,8 +160,6 @@
        this.setFixedNoonLighting()
        // 边界,机巢
        this.boundary = useBoundary(this.viewer, { multiple, dockOptions, boundaryChange, boundaryColor, dockRangeType, useDockHeight })
        this.viewer?.imageryLayers.removeAll()
        this.viewer._cesiumWidget._creditContainer.style.display = 'none'
        handler = new Cesium.ScreenSpaceEventHandler(this.viewer?.scene.canvas)
@@ -181,9 +171,7 @@
        this.viewer.scene.screenSpaceCameraController.maximumZoomDistance = 4500000
        this.switchLayers(layerMode)
        this.switchFlatMode(flatMode)
        this.switchContour(contour)
        flyToContour && this.flyToContour(contour)
        if (Cesium.FeatureDetection.supportsImageRenderingPixelated()) {
            let dpr = window.devicePixelRatio
            while (dpr >= 2.0) dpr /= 2.0 // 避免过高缩放导致模糊
@@ -277,25 +265,6 @@
            cesiumContainer.remove() // 移除与地图相关的DOM元素
            this.viewerDom = null
        }
    }
    setShowDock (sns) {
        this.boundary?.setShowDock(sns)
    }
    setDockCoverColor (sns) {
        this.boundary?.setDockCoverColor(sns)
    }
    // 切换轮廓显示
    async switchContour (open) {
        if (open) {
            await this.boundary?.openContour()
        } else {
            this.boundary?.closeContour()
        }
    }
    // 飞向轮廓居中
    flyToContour () {
        this.boundary?.flyToBoundary()
    }
    // 飞行 flyto
applications/drone-command/src/utils/cesium/useBoundary.js
File was deleted
applications/drone-command/src/views/monitor/log/api.vue
File was deleted
applications/drone-command/src/views/monitor/log/error.vue
File was deleted
applications/drone-command/src/views/monitor/log/flightLog.vue
File was deleted
applications/drone-command/src/views/monitor/log/usual.vue
File was deleted
applications/drone-command/src/views/resource/attach.vue
File was deleted
applications/drone-command/src/views/resource/components/BoxSelect.vue
File was deleted
applications/drone-command/src/views/resource/components/DrawPolygon.vue
File was deleted
applications/drone-command/src/views/resource/components/FunButton.vue
File was deleted
applications/drone-command/src/views/resource/components/patchDetails.vue
File was deleted
applications/drone-command/src/views/resource/components/spotDetails.vue
File was deleted
applications/drone-command/src/views/resource/media.vue
File was deleted
applications/drone-command/src/views/resource/oss.vue
File was deleted
applications/drone-command/src/views/resource/patchManagement.vue
File was deleted
applications/drone-command/src/views/resource/patchTypeManagement.vue
File was deleted
applications/drone-command/src/views/resource/sms.vue
File was deleted
applications/drone-command/src/views/resource/wayline.vue
File was deleted
applications/drone-command/src/views/resource/waylineFile.vue
File was deleted