From a92fe2b1f4ce26bd730f58b4cc4fcfb314b4f015 Mon Sep 17 00:00:00 2001 From: fanjia <3278303149@qq.com> Date: Mon, 13 Apr 2026 14:54:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E5=B1=8F=E9=A1=B5=E9=9D=A2=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Dialog/impactPointDetailDialog.vue | 49 +++++++++++++------ .../RiskWarning/component/ChongqingMap.vue | 13 ++--- .../RiskWarning/component/baseDialog.vue | 7 ++- 3 files changed, 47 insertions(+), 22 deletions(-) diff --git a/packages/screen/src/views/RiskWarning/Dialog/impactPointDetailDialog.vue b/packages/screen/src/views/RiskWarning/Dialog/impactPointDetailDialog.vue index 89c72b2..e2ee0e8 100644 --- a/packages/screen/src/views/RiskWarning/Dialog/impactPointDetailDialog.vue +++ b/packages/screen/src/views/RiskWarning/Dialog/impactPointDetailDialog.vue @@ -30,7 +30,11 @@
影响点等级 - {{ basicInfo.level }} + {{ basicInfo.level }}
@@ -47,7 +51,11 @@
风险点描述 - {{ basicInfo.riskDesc }} + {{ basicInfo.riskDesc }}
@@ -83,7 +91,11 @@ 填报动态信息
-
+
{{ index + 1 }}
@@ -101,13 +113,21 @@
现场情况描述: {{ record.description }} -
+
现场照片
是否发现问题: - {{ record.hasProblem ? '是' : '否' }} + {{ record.hasProblem ? "是" : "否" }}
@@ -118,7 +138,11 @@ -
+
预览
@@ -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 @@
-
+
-