Browse Source

'转换率百分比修改'

蒋珅 1 year ago
parent
commit
a294157a17
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/views/Decision/slgl/ztzhl.vue

+ 4 - 4
src/views/Decision/slgl/ztzhl.vue

@@ -180,10 +180,10 @@ export default {
             // if (vs == "小于3米风速") {
             that.tableData.data = res.data
            res.data.forEach((ele)=>{
-              ele.rateAll5 = ele.rateAll5.toFixed(2)+'%'
-              ele.rateAl20 = ele.rateAl20.toFixed(2)+'%'
-              ele.rateAll10 = ele.rateAll10.toFixed(2)+'%'
-              ele.rateAll15 = ele.rateAll15.toFixed(2)+'%'
+              ele.rateAll5 = ele.rateAll5.toFixed(2)*100+'%'
+              ele.rateAl20 = ele.rateAl20.toFixed(2)*100+'%'
+              ele.rateAll10 = ele.rateAll10.toFixed(2)*100+'%'
+              ele.rateAll15 = ele.rateAll15.toFixed(2)*100+'%'
             })
 
             // } else if (vs == "大于3米风速") {