X修改报错
This commit is contained in:
@@ -92,7 +92,7 @@ const form: any = ref({
|
|||||||
const height = mainHeight(10)
|
const height = mainHeight(10)
|
||||||
// 获取区域名称
|
// 获取区域名称
|
||||||
const changeValue = (e: any) => {
|
const changeValue = (e: any) => {
|
||||||
mapRef.value.locatePositions(e)
|
// mapRef.value.locatePositions(e)
|
||||||
form.value.orgNo = e.data.id //list.filter((item: any) => item.code == e.orgId)[0]?.id || dictData.state.area[0].id
|
form.value.orgNo = e.data.id //list.filter((item: any) => item.code == e.orgId)[0]?.id || dictData.state.area[0].id
|
||||||
options.value[0].name = e.data.areaName
|
options.value[0].name = e.data.areaName
|
||||||
|
|
||||||
@@ -116,7 +116,7 @@ const infoShow = (e: boolean) => {
|
|||||||
}
|
}
|
||||||
// 地图控制图层
|
// 地图控制图层
|
||||||
const LookMap = (row: any) => {
|
const LookMap = (row: any) => {
|
||||||
mapRef.value.addMarkers({ ...row, type: 1 })
|
// mapRef.value.addMarkers({ ...row, type: 1 })
|
||||||
}
|
}
|
||||||
const info = () => {
|
const info = () => {
|
||||||
form.value.startTime = datePickerRef.value.timeValue[0]
|
form.value.startTime = datePickerRef.value.timeValue[0]
|
||||||
@@ -128,7 +128,7 @@ const info = () => {
|
|||||||
// form.value.endTime = `2024-07-30`
|
// form.value.endTime = `2024-07-30`
|
||||||
// form.value.searchEndTime = `2024-07-30`
|
// form.value.searchEndTime = `2024-07-30`
|
||||||
form.value.type = datePickerRef.value.interval
|
form.value.type = datePickerRef.value.interval
|
||||||
mapRef.value.addMarkers()
|
// mapRef.value.addMarkers()
|
||||||
if (control.value == 1) {
|
if (control.value == 1) {
|
||||||
mapLRef.value.info(form.value)
|
mapLRef.value.info(form.value)
|
||||||
mapRRef.value.info(form.value)
|
mapRRef.value.info(form.value)
|
||||||
|
|||||||
Reference in New Issue
Block a user