@@ -154,7 +178,8 @@ const basicInfo = ref({
roadCode: "G348",
location: "丁吴路(K116+656至K116+739)",
riskDesc: "未回应",
- discoverTime: "立即启动防汛Ⅰ级应急响应,立即转移危险区群众,医疗机构做好应急准备",
+ discoverTime:
+ "立即启动防汛Ⅰ级应急响应,立即转移危险区群众,医疗机构做好应急准备",
});
// 照片列表
@@ -165,7 +190,7 @@ const photoList = ref([
// 动态记录
const dynamicRecords = ref([
{
- type: "隐患",
+ type: "首报",
patrolTime: "2026-03-28 14:30:00",
patrolPerson: "刘伟",
description: "设置警示标识,半幅通行",
@@ -173,7 +198,7 @@ const dynamicRecords = ref([
image: "https://via.placeholder.com/80x60/40a9ff/ffffff?text=现场",
},
{
- type: "隐患",
+ type: "续报",
patrolTime: "2026-03-28 14:30:00",
patrolPerson: "刘伟",
description: "设置警示标识,半幅通行",
@@ -218,13 +243,11 @@ watch(
if (newVal && props.pointData) {
Object.assign(basicInfo.value, props.pointData);
}
- }
+ },
);
diff --git a/packages/screen/src/views/RiskWarning/component/ChongqingMap.vue b/packages/screen/src/views/RiskWarning/component/ChongqingMap.vue
index 8f7e72b..47b2e6a 100644
--- a/packages/screen/src/views/RiskWarning/component/ChongqingMap.vue
+++ b/packages/screen/src/views/RiskWarning/component/ChongqingMap.vue
@@ -219,6 +219,7 @@ const showCountyCardsOnMap = (dataList) => {
emit("districtClick", {
name: countyName,
data: item,
+ type: item.type,
});
});
@@ -1171,12 +1172,12 @@ const locateToDistrict = (countyName) => {
if (selectedLayer) {
geoJsonLayer.resetStyle(selectedLayer);
}
- targetLayer.setStyle({
- fillColor: "#ff7a00",
- fillOpacity: 0.6,
- weight: 3,
- color: "#ff4d4f",
- });
+ // targetLayer.setStyle({
+ // fillColor: "#ff7a00",
+ // fillOpacity: 0.6,
+ // weight: 3,
+ // color: "#ff4d4f",
+ // });
selectedLayer = targetLayer;
console.log("已定位到区县:", countyName, "中心点:", center);
diff --git a/packages/screen/src/views/RiskWarning/component/baseDialog.vue b/packages/screen/src/views/RiskWarning/component/baseDialog.vue
index 8aa6c34..75adc73 100644
--- a/packages/screen/src/views/RiskWarning/component/baseDialog.vue
+++ b/packages/screen/src/views/RiskWarning/component/baseDialog.vue
@@ -34,7 +34,7 @@
-