Pārlūkot izejas kodu

调整显示百分比

fengxu 1 gadu atpakaļ
vecāks
revīzija
cf4bf16816

+ 1 - 1
cokingCoal/index.html

@@ -309,7 +309,7 @@
                                         </div>
                                     </div> -->
                                         <div class="right_btm_item_else">
-                                            <div class="image_box_else"><span>{{ optimizeValue }}%</span>
+                                            <div class="image_box_else"><span>{{ optimizeValue }}</span>
                                                 <img src="./images/annular.png" style="width: 100%;height:100%;" alt="">
                                             </div>
                                             <div class="image_box">

+ 1 - 1
cokingCoal/js/humanResources.js

@@ -413,7 +413,7 @@ let app = new Vue({
     beforeCreate() {
         // 跳转地址
         let AddUrl = location.protocol + "//" + location.host + "/ierp"
-        // return
+        return
         if (!window.location.search) {
             // alert("链接已失效,请重新打开")
             window.location.href = AddUrl

+ 3 - 3
cokingCoal/js/newIndex.js

@@ -515,7 +515,7 @@ let app = new Vue({
         // 跳转地址
         setTimeout(() => {
             let AddUrl = location.protocol + "//" + location.host + "/ierp"
-            // return
+            return
             if (!window.location.search) {
                 // alert("链接已失效,请重新打开")
                 window.location.href = AddUrl
@@ -6282,8 +6282,8 @@ let app = new Vue({
                             that.optimize[1].value = item.value
                         }
                         if (item.key == "优化率") {
-                            console.log((item.value * 100));
-                            that.optimizeValue = (item.value * 100).toFixed(2);
+                            // console.log((item.value * 100));
+                            that.optimizeValue = item.value;
                         }
                     })
                 }