吉安感知网项目-前端
shuishen
2026-02-03 89380e6260a75d1d3b94de687ebcc2f50d50659d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<template>
    <div class="wrapper" >
        <WorkMap
            :weatherShow="true"
            :layerShow="true"
            :locationShow="true"
            :workNavigationShow="true"
            :mapCurrentDetail="mapCurrentDetail"
        >
        </WorkMap>
    </div>
</template>
 
<script setup>
import WorkMap from '@/appComponents/workMap/index.vue'
import { useRoute } from 'vue-router'
import { showToast } from 'vant'
import { useStore } from 'vuex'
const store = useStore()
const userInfo = computed(() => store?.state?.user?.userInfo)
const route = useRoute()
const mapCurrentDetail = ref({})
onMounted(async () => {
mapCurrentDetail.value = JSON.parse(decodeURIComponent(route.query.currentItem))
 
})
</script>
 
<style lang="scss" scoped>
.wrapper {
    width: 100%;
    height: 100%;
}
</style>