diff --git a/src/views/pictureOnMap/page/FloodControlAndDrainage/Jianceyujin/MonitoringWarningRigh/component/MonitoringAlarm.vue b/src/views/pictureOnMap/page/FloodControlAndDrainage/Jianceyujin/MonitoringWarningRigh/component/MonitoringAlarm.vue index 33934d7..1fb2b7e 100644 --- a/src/views/pictureOnMap/page/FloodControlAndDrainage/Jianceyujin/MonitoringWarningRigh/component/MonitoringAlarm.vue +++ b/src/views/pictureOnMap/page/FloodControlAndDrainage/Jianceyujin/MonitoringWarningRigh/component/MonitoringAlarm.vue @@ -136,8 +136,15 @@ gw.map((e)=>{ let wellDepth=e.wellDepth||2; let sum=Number((e.warnFactorValue/wellDepth*100).toFixed(2)) + console.log('sum',sum); if(isFinite(sum)){ + if(sum>100){ +e.percentum=100 + + }else { e.percentum=sum + + } }else { e.percentum=100