From 486d1af456868565bbae9ea5daffa80b8faa87f4 Mon Sep 17 00:00:00 2001 From: pengwei Date: Mon, 27 Oct 2025 10:33:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BC=98=E5=8C=96=E5=A4=A7=E5=B1=8F?= =?UTF-8?q?=EF=BC=8C=E4=BC=98=E5=8C=96=E7=BB=B4=E6=9D=83=E7=9D=A3=E5=8A=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/enums/JwpyOrgMapping.js | 2 +- src/views/datav/RightsComfort.vue | 2 +- src/views/datav/SceneInsp.vue | 1 - src/views/rightsComfort/Supervision.vue | 1 - 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/enums/JwpyOrgMapping.js b/src/enums/JwpyOrgMapping.js index 9dd78e8..b4fb6ad 100644 --- a/src/enums/JwpyOrgMapping.js +++ b/src/enums/JwpyOrgMapping.js @@ -42,7 +42,7 @@ export function mapOrgNameMapping(backendData, valueMapping) { } function setNameFun(name){ - if(name == '湘江新区公安局 '){ + if(name == '湘江新区公安局'){ return '湘江新区' } return name; diff --git a/src/views/datav/RightsComfort.vue b/src/views/datav/RightsComfort.vue index 4039c1a..21d84f2 100644 --- a/src/views/datav/RightsComfort.vue +++ b/src/views/datav/RightsComfort.vue @@ -645,7 +645,7 @@ const hurtNumOption = ref({ }); function setNameFun(name){ - if(name == '湘江新区公安局 '){ + if(name == '湘江新区公安局'){ return '湘江新区' } return name; diff --git a/src/views/datav/SceneInsp.vue b/src/views/datav/SceneInsp.vue index cd9d08d..6572d42 100644 --- a/src/views/datav/SceneInsp.vue +++ b/src/views/datav/SceneInsp.vue @@ -979,7 +979,6 @@ const getSupervisionNotifyMapData = async () => { res.superviseTempMapVoList, "totalPro" ); - console.log('mappedData',mappedData) const total = mappedData.reduce((sum, item) => sum + Number(item.value), 0); const avg = total / mappedData.length; // 计算平均值 const range30Percent = avg * 0.3; // 不用取整,小数也可以 diff --git a/src/views/rightsComfort/Supervision.vue b/src/views/rightsComfort/Supervision.vue index 6b7231b..a2d14fd 100644 --- a/src/views/rightsComfort/Supervision.vue +++ b/src/views/rightsComfort/Supervision.vue @@ -249,7 +249,6 @@ watch(()=>activeName,()=>{