From b2329d6973a268044164afd3ac6d3f663aa07fbc Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Sat, 04 Jan 2025 20:30:12 +0800
Subject: [PATCH] 应急空间和三级防控加载调整
---
src/views/pac/components/box/dataContent.vue | 68 ++++++++++++---------------------
1 files changed, 25 insertions(+), 43 deletions(-)
diff --git a/src/views/pac/components/box/dataContent.vue b/src/views/pac/components/box/dataContent.vue
index 010d075..0813940 100644
--- a/src/views/pac/components/box/dataContent.vue
+++ b/src/views/pac/components/box/dataContent.vue
@@ -2,7 +2,7 @@
* @Author: shuishen 1109946754@qq.com
* @Date: 2023-03-10 15:27:59
* @LastEditors: shuishen 1109946754@qq.com
- * @LastEditTime: 2024-11-27 14:49:05
+ * @LastEditTime: 2025-01-04 20:29:10
* @FilePath: \bigScreen\src\views\pac\components\box\dataContent.vue
* @Description:
*
@@ -57,44 +57,34 @@
},
{
type: 2,
+ backgroundIcon: VITE_APP_BASE + 'img/mapicon/yjc.png',
+ className: 'yjc-box',
+ },
+ {
+ type: 3,
backgroundIcon: VITE_APP_BASE + 'img/mapicon/ysf.png',
className: 'ysf-box',
},
{
- type: 5,
- backgroundIcon: VITE_APP_BASE + 'img/mapicon/sk.png',
+ type: 4,
+ backgroundIcon: VITE_APP_BASE + 'img/mapicon/zb.png',
className: 'sk-box',
},
{
- type: 6,
- backgroundIcon: VITE_APP_BASE + 'img/mapicon/yjb.png',
- className: 'yjb-box',
+ type: 5,
+ backgroundIcon: VITE_APP_BASE + 'img/mapicon/sd.png',
+ className: 'xfs-box',
},
{
- type: 7,
- backgroundIcon: VITE_APP_BASE + 'img/mapicon/xfs.png',
- className: 'xfs-box',
+ type: 6,
+ backgroundIcon: VITE_APP_BASE + 'img/mapicon/kt.png',
+ className: 'sk-box',
},
{
type: 8,
- backgroundIcon: VITE_APP_BASE + 'img/mapicon/gouqu.png',
+ backgroundIcon: VITE_APP_BASE + 'img/mapicon/ql.png',
className: 'xfs-box',
},
- {
- type: 9,
- backgroundIcon: VITE_APP_BASE + 'img/mapicon/wsclc.png',
- className: 'xfs-box',
- },
- {
- type: 10,
- backgroundIcon: VITE_APP_BASE + 'img/mapicon/psk.png',
- className: 'xfs-box',
- },
- {
- type: 11,
- backgroundIcon: VITE_APP_BASE + 'img/mapicon/wsc.png',
- className: 'xfs-box',
- }
]
getList({
@@ -116,19 +106,19 @@
</div>
`
}
- let divIcon = new DC.DivIcon(
- new DC.Position(i.lng, i.lat, i.ele || 64),
- `<div class="public-map-popup ${divclassName}">
+ let divIcon = new DC.DivIcon(
+ new DC.Position(i.lng, i.lat, i.ele || 64),
+ `<div class="public-map-popup ${divclassName}">
${iconEl}
</div>`
- )
- divIcon.attrParams = i
- let incident = () => { }
+ )
+ divIcon.attrParams = i
+ let incident = () => { }
- if (item.incident) incident = item.incident
- divIcon.on(DC.MouseEventType.CLICK, incident)
- addTileLayers[item.label].addOverlay(divIcon)
- }
+ if (item.incident) incident = item.incident
+ divIcon.on(DC.MouseEventType.CLICK, incident)
+ addTileLayers[item.label].addOverlay(divIcon)
+ }
})
})
} else {
@@ -142,22 +132,14 @@
})
if (row.type == 2) {
- EventBus.emit('restHandleCheckChange', `3-3-2`)
- EventBus.emit('restHandleCheckChange', `3-3-4`)
EventBus.emit('restHandleCheckChange', `3-9`)
} else {
- EventBus.emit('restHandleDelChange', `3-3-2`)
- EventBus.emit('restHandleDelChange', `3-3-4`)
EventBus.emit('restHandleDelChange', `3-9`)
}
if (row.type == 3) {
- EventBus.emit('restHandleCheckChange', `3-3-2`)
- EventBus.emit('restHandleCheckChange', `3-3-4`)
EventBus.emit('restHandleCheckChange', `3-8`)
} else {
- EventBus.emit('restHandleDelChange', `3-3-2`)
- EventBus.emit('restHandleDelChange', `3-3-4`)
EventBus.emit('restHandleDelChange', `3-8`)
}
}
--
Gitblit v1.9.3