Ver código fonte

修改执行率bug

guotianliang 4 anos atrás
pai
commit
4c5b20c152
1 arquivos alterados com 12 adições e 4 exclusões
  1. 12 4
      src/views/evaluate/evCard.vue

+ 12 - 4
src/views/evaluate/evCard.vue

@@ -101,8 +101,9 @@ export default {
     },
     methods: {
         lookQuickData(item) {
-            this.time = item.recommend.time
-            this.viewSnapshots = true
+            this.time = item.recommend.time;
+            this.date=item.recommend&&item.recommend.date ;
+            this.viewSnapshots = true;
         },
         formatterStr2(str) {
             if (str) {
@@ -132,8 +133,15 @@ export default {
         this.getAppealId()
     },
     watch: {
-        cardList(n, o) {
-            this.getAppealId()
+        cardList: {
+            handler(n){
+                this.cardList=n;
+                this.getAppealId()
+            },
+            deep:true
+        },
+        date(n){
+            this.date=n;
         }
     }
 }