zhulizhen 5 years ago
parent
commit
12fb3e0307
2 changed files with 3 additions and 7 deletions
  1. 1 3
      src/views/evaluate/evRateTitle.vue
  2. 2 4
      src/views/evaluate/evTwoLevelMenu.vue

+ 1 - 3
src/views/evaluate/evRateTitle.vue

@@ -16,7 +16,6 @@
             <span class='span1'></span>
             <span class='span2 Micbold'>是否按策略执行</span>
             <img v-if='chillerExecuteRateReal>=75' class='span7' src='../../assets/finish.png' alt />
-            <img v-else-if='chillerExecuteRate>=75' class='span7' src='../../assets/processing.png' alt />
             <img v-else class='span7' src='../../assets/wrong.png' alt />
         </span>
     </div>
@@ -26,9 +25,8 @@ export default {
     data() {
         return {}
     },
-    props: ['chillerExecuteRate', 'chillerExecuteRateReal'],
     mounted() {},
-    props: ['tab', 'rate', 'accuracy']
+    props: ['tab', 'rate', 'accuracy', 'chillerExecuteRateReal']
 }
 </script>
 <style lang="scss" scoped>

+ 2 - 4
src/views/evaluate/evTwoLevelMenu.vue

@@ -54,7 +54,7 @@
                         </div>
                     </div>
                     <div v-show='num == 3'>
-                        <ev-rate-title :chillerExecuteRateReal='chillerExecuteRateReal' :chillerExecuteRate='chillerExecuteRate' :tab='3'></ev-rate-title>
+                        <ev-rate-title :chillerExecuteRateReal='chillerExecuteRateReal' :tab='3'></ev-rate-title>
                         <ev-card v-if='cardList.length>0' :cardList='cardList' :date='date'></ev-card>
                     </div>
                 </div>
@@ -94,7 +94,6 @@ export default {
             dateVal: '', //@
             stackArr: [],
             accuracy: '',
-            chillerExecuteRate: '',
             chillerExecuteRateReal: ''
         }
     },
@@ -227,8 +226,7 @@ export default {
                 // 准确率
                 this.accuracy = res.content[0].accuracy ? res.content[0].accuracy : '--'
                 //执行率
-                this.chillerExecuteRateReal = res.content[0].chillerExecuteRateReal || ''
-                this.chillerExecuteRate = res.content[0].chillerExecuteRate || '--'
+                this.chillerExecuteRateReal = res.content[0] ? res.content[0].chillerExecuteRateReal : ''
             })
         },
         // 点击tab @