吉安感知网项目-前端
张含笑
2026-01-14 b787a9ce7788cc320b1682bfb1b0353b89e48a8c
applications/mobile-web-view/src/appPages/work/workDetail/mapWork/index.vue
@@ -1,5 +1,5 @@
<template>
   <div class="wrapper" :style="{ paddingTop: route.query.topMargin + 'px' }">
   <div class="wrapper" >
      <WorkMap
         :weatherShow="true"
         :layerShow="true"
@@ -7,9 +7,9 @@
         :workNavigationShow="true"
         :mapCurrentDetail="mapCurrentDetail"
      >
         <template #eventNav>
            <EventNavigation :mapCurrentDetail="mapCurrentDetail"></EventNavigation>
         </template>
<!--         <template #eventNav>-->
<!--            <EventNavigation :mapCurrentDetail="mapCurrentDetail"></EventNavigation>-->
<!--         </template>-->
      </WorkMap>
   </div>
</template>
@@ -25,7 +25,39 @@
const store = useStore()
const userInfo = computed(() => store?.state?.user?.userInfo)
const route = useRoute()
const mapCurrentDetail = ref({})
const mapCurrentDetail = ref({
   "id": 8474,
   "wayline_job_id": "51835088-cd94-42f8-b2ec-a9069ced4e7b",
   "event_name": "测试",
   "device_sn": "7CTDM5E00B3H61",
   "status": 3,
   "photo_url": "https://wrj.shuixiongit.com/minio/cloud-bucket/upload/20260113/f090f03fdc52499473ab9cbfcdc0876d.jpeg",
   "file_path": "upload/20260113/f090f03fdc52499473ab9cbfcdc0876d.jpeg",
   "longitude": "115.85649472222222",
   "latitude": "28.624301527777778",
   "create_time": "2026-01-13 16:51:57",
   "media_type": "PHOTO_TYPE",
   "event_num": "BHJC20260113002",
   "ai_types": "道路裂缝",
   "ai_type_key_list": [
      "DLLFSB"
   ],
   "work_order_type_dict_key": "ZHZLL",
   "work_order_type": "交通运输与交管​",
   "create_user": "曾超杰",
   "update_user": "管理员",
   "dept_name": "中图智飞(江西省)",
   "create_user_id": "2009140684346388482",
   "user_id": "1991745495648227330",
   "handle_user_id": "1123598821738675201",
   "address": "江西省南昌市西湖区朝农街道抚生南路1806号南昌台湾健康产业城",
   "update_photo_url": "https://wrj.shuixiongit.com/minio/cloud-bucket/upload/20260113/f090f03fdc52499473ab9cbfcdc0876d.jpeg",
   "content": "测试",
   "work_type": "3",
   "job_name": "定向拍照2",
   "is_review": 0,
   "job_create_time": "2026-01-13 16:51:57"
})
const eventNum = ref('')
// 机巢数据
let machineData = ref([]);
@@ -54,9 +86,9 @@
   }
}
onMounted(async () => {
  handleNodeClick()
  // handleNodeClick()
   eventNum.value = route.query.currentItem
   await getDataList(eventNum.value)
   // await getDataList(eventNum.value)
})
</script>