This commit is contained in:
duanliang
2025-04-02 21:24:16 +08:00
parent 3029752b97
commit 15f15a9ee0
2 changed files with 5 additions and 2 deletions

View File

@@ -113,7 +113,7 @@
</div> </div>
<div class="box-2"> <div class="box-2">
<Title1 title="异常信息 " /> <Title1 title="异常信息 " />
<div class="count-box flex"> <div @click="handleToWorkOrder" class="count-box flex">
<count-item <count-item
v-for="item in scenicStore.secureData.headList" v-for="item in scenicStore.secureData.headList"
:label="item.name" :label="item.name"
@@ -342,6 +342,9 @@
router.replace('/traffic') router.replace('/traffic')
// traMapShow.value = true // traMapShow.value = true
} }
const handleToWorkOrder = ()=>{
router.replace('/workOrder')
}
const garageList = computed(() => { const garageList = computed(() => {
return scenicStore.stopCarData.headList return scenicStore.stopCarData.headList
}) })

View File

@@ -139,7 +139,7 @@
}) })
var opts = { var opts = {
position: new BMapGL.Point(item.longitude, item.latitude), // 指定文本标注所在的地理位置 position: new BMapGL.Point(item.longitude, item.latitude), // 指定文本标注所在的地理位置
offset: new BMapGL.Size(-100, 30) // 设置文本偏移量 offset: new BMapGL.Size(-50, 30) // 设置文本偏移量
}; };
// 创建文本标注对象 // 创建文本标注对象
var label = new BMapGL.Label(item.cameraName, opts); var label = new BMapGL.Label(item.cameraName, opts);