Sfoglia il codice sorgente

单链接接口请求优化

liyanyan 6 giorni fa
parent
commit
c9b8818758

+ 1 - 0
src/views/allcase/caseControl.vue

@@ -19,6 +19,7 @@ import CaseQualityBox from './components/CaseQualityBox2.vue';
     mounted() {
       if(this.$route.query.id) {
         const self = this
+        self.$refs.CaseQualityBoxRef.getTableData(true);
         this.timer = setInterval(() => {
           self.$refs.CaseQualityBoxRef.getTableData(true);
         }, 15000); 

+ 3 - 1
src/views/allcase/components/CaseQualityBox2.vue

@@ -276,7 +276,9 @@ import { examineAppeal, getAppealData, getBrry } from '@/api/qc';
       }
     },
     mounted(){
-      this.getTableData();
+      if(this.$route.path != '/whitelist-caseControl' ) {
+        this.getTableData();
+      }
       this.getTaskNameList();
       this.getBaseInfo();
     },