Sfoglia il codice sorgente

调整显示百分比

fengxu 1 anno fa
parent
commit
cf4bf16816
3 ha cambiato i file con 5 aggiunte e 5 eliminazioni
  1. 1 1
      cokingCoal/index.html
  2. 1 1
      cokingCoal/js/humanResources.js
  3. 3 3
      cokingCoal/js/newIndex.js

+ 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;
                         }
                     })
                 }