Bladeren bron

Merge branch 'release' of gitadmin/tuoheng_lc_web into master

master
zhangtao 1 jaar geleden
bovenliggende
commit
b4a7e8354b
9 gewijzigde bestanden met toevoegingen van 26 en 18 verwijderingen
  1. BIN
      src/assets/images/smoke.png
  2. +1
    -1
      src/components/BaseMap/BaseMap.vue
  3. +1
    -1
      src/components/PositionMsg/index.vue
  4. +4
    -0
      src/views/dashboard/components/FireAlarm.vue
  5. +5
    -0
      src/views/dashboard/components/OneMap.vue
  6. +12
    -13
      src/views/dashboard/components/WarningDrawer.vue
  7. +1
    -1
      src/views/task-manage/all-task/components/BaseMap.vue
  8. +1
    -1
      src/views/task-manage/all-task/components/DemandDrawer.vue
  9. +1
    -1
      src/views/task-manage/all-task/components/LiveDrawer.vue

BIN
src/assets/images/smoke.png Bestand weergeven

Before After
Width: 32  |  Height: 32  |  Size: 1003B Width: 32  |  Height: 32  |  Size: 1.3KB

+ 1
- 1
src/components/BaseMap/BaseMap.vue Bestand weergeven

@@ -48,7 +48,7 @@ export default {
new Tile({
visible: true,
source: new XYZ({
url: 'https://tianditu.t-aaron.com/DataServer?T=img_w&x={x}&y={y}&l={z}&tk=f634525a82da65f715d168d7ba1899c0'
url: 'https://t0.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk=f634525a82da65f715d168d7ba1899c0'
})
})
]

+ 1
- 1
src/components/PositionMsg/index.vue Bestand weergeven

@@ -72,7 +72,7 @@ export default {
new Tile({
visible: true,
source: new XYZ({
url: 'https://tianditu.t-aaron.com/DataServer?T=img_w&x={x}&y={y}&l={z}&tk=f634525a82da65f715d168d7ba1899c0'
url: 'https://t0.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk=f634525a82da65f715d168d7ba1899c0'
})
})
]

+ 4
- 0
src/views/dashboard/components/FireAlarm.vue Bestand weergeven

@@ -270,6 +270,10 @@ export default {
}

const executeNow = async() => {
if (data.airportId === null) {
$message.warning('当前无在线机场!')
return
}
var airportName = ''
data.airpotOptions?.map((item) => {
if (item.value === data.airportId) {

+ 5
- 0
src/views/dashboard/components/OneMap.vue Bestand weergeven

@@ -35,6 +35,7 @@ import { Tile, Vector as VectorLayer } from 'ol/layer'
import { transform, fromLonLat } from 'ol/proj'
import { Style, Icon, Text, Fill, Circle } from 'ol/style'
import * as control from 'ol/control'
import * as interaction from 'ol/interaction'
import uav_icon from '@/assets/images/airport.png'
import warningIcon from '@/assets/gis/images/fire.png'
import warningSelectIcon from '@/assets/gis/images/fire_select.png'
@@ -205,6 +206,10 @@ export default {
attribution: false,
rotate: false,
zoom: false
}),
interactions: interaction.defaults({
// 禁止地图双击放大事件
doubleClickZoom: false
})
})
data.map.addLayer(wmsSource)

+ 12
- 13
src/views/dashboard/components/WarningDrawer.vue Bestand weergeven

@@ -65,7 +65,7 @@
</template>

<script>
import { defineComponent, ref, reactive, toRefs, computed, watch, nextTick, onBeforeUnmount, onMounted } from 'vue'
import { defineComponent, ref, reactive, toRefs, computed, watch, nextTick, onBeforeUnmount, onMounted, onUnmounted } from 'vue'
import Underlay from './Underlay.vue'
import ControlPanel from './ControlPanel.vue'
import SpeedChart from './SpeedChart.vue'
@@ -373,18 +373,12 @@ export default defineComponent({
}

const clearTimer = () => {
if (data.chartTimer) {
clearInterval(data.chartTimer)
data.chartTimer = null
}
if (data.liveTimer) {
clearInterval(data.liveTimer)
data.liveTimer = null
}
if (data.failTimer) {
clearInterval(data.failTimer)
data.failTimer = null
}
clearInterval(data.chartTimer)
data.chartTimer = null
clearInterval(data.liveTimer)
data.liveTimer = null
clearInterval(data.failTimer)
data.failTimer = null
}

function handleVideoStatus(status) {
@@ -405,6 +399,11 @@ export default defineComponent({
clearTimer()
})

onUnmounted(() => {
clearInterval(data.failTimer)
data.failTimer = null
})

return {
containerRef,
sideRef,

+ 1
- 1
src/views/task-manage/all-task/components/BaseMap.vue Bestand weergeven

@@ -37,7 +37,7 @@ export default {
new Tile({
visible: true,
source: new XYZ({
url: 'https://tianditu.t-aaron.com/DataServer?T=img_w&x={x}&y={y}&l={z}&tk=f634525a82da65f715d168d7ba1899c0'
url: 'https://t0.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk=f634525a82da65f715d168d7ba1899c0'
})
})
]

+ 1
- 1
src/views/task-manage/all-task/components/DemandDrawer.vue Bestand weergeven

@@ -182,7 +182,7 @@ export default defineComponent({
new Tile({
visible: true,
source: new XYZ({
url: 'https://tianditu.t-aaron.com/DataServer?T=img_w&x={x}&y={y}&l={z}&tk=f634525a82da65f715d168d7ba1899c0'
url: 'https://t0.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk=f634525a82da65f715d168d7ba1899c0'
})
})
]

+ 1
- 1
src/views/task-manage/all-task/components/LiveDrawer.vue Bestand weergeven

@@ -226,7 +226,7 @@ export default defineComponent({
new Tile({
visible: true,
source: new XYZ({
url: 'https://tianditu.t-aaron.com/DataServer?T=img_w&x={x}&y={y}&l={z}&tk=f634525a82da65f715d168d7ba1899c0'
url: 'https://t0.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk=f634525a82da65f715d168d7ba1899c0'
})
})
]

Laden…
Annuleren
Opslaan