| | |
| | | :workNavigationShow="true" |
| | | :mapCurrentDetail="mapCurrentDetail" |
| | | > |
| | | <!-- <template #eventNav>--> |
| | | <!-- <EventNavigation :mapCurrentDetail="mapCurrentDetail"></EventNavigation>--> |
| | | <!-- </template>--> |
| | | </WorkMap> |
| | | </div> |
| | | </template> |
| | | |
| | | <script setup> |
| | | import { getDeviceRegion } from '@/api/home/aggregation' |
| | | import WorkMap from '@/appComponents/workMap/index.vue' |
| | | import EventNavigation from '@/appPages/work/workDetail/mapWork/eventNavigation.vue' |
| | | import { useRoute } from 'vue-router' |
| | | import { showToast } from 'vant' |
| | | import { getList } from '/src/api/work/index.js' |
| | |
| | | const userInfo = computed(() => store?.state?.user?.userInfo) |
| | | const route = useRoute() |
| | | const mapCurrentDetail = ref({}) |
| | | const eventNum = ref('') |
| | | |
| | | |
| | | onMounted(async () => { |
| | | eventNum.value = route.query.currentItem |
| | | mapCurrentDetail.value = eventNum.value |
| | | mapCurrentDetail.value =JSON.parse(route.query.currentItem) |
| | | console.log('参数',mapCurrentDetail.value ) |
| | | |
| | | }) |
| | | </script> |