소스 검색

增加loading效果

duy 2 년 전
부모
커밋
67d186a397
3개의 변경된 파일14개의 추가작업 그리고 3개의 파일을 삭제
  1. 7 2
      src/views/manager/projectinfo/independent.vue
  2. 6 1
      src/views/manager/projectinfo/qutediaolog/qute1.vue
  3. 1 0
      src/views/manager/wbsinfo/element.vue

+ 7 - 2
src/views/manager/projectinfo/independent.vue

@@ -515,9 +515,14 @@ export default {
               this.tabloading=false
               
             }, 1000);
-        }else{
+        }else{   
+          this.tabloading=true;
            this.loadData=[]
-            this.page.total=0
+           this.page.total=0;
+            setTimeout(() => {
+              this.tabloading=false
+              
+            }, 1000);
         }
      
     },

+ 6 - 1
src/views/manager/projectinfo/qutediaolog/qute1.vue

@@ -237,8 +237,13 @@ export default {
               
             }, 1000);
         }else{
+           this.loading=true
            this.loadData=[]
-            this.page.total=0
+           this.page.total=0
+           setTimeout(() => {
+              this.loading=false
+              
+            }, 1000);
         }
       }else{
          this.$message.warning("请先选择左侧节点");  

+ 1 - 0
src/views/manager/wbsinfo/element.vue

@@ -949,6 +949,7 @@ export default {
               
             }, 1000);
         }else{
+           this.tabloading=true;
            this.loadData=[]
             this.page.total=0
             setTimeout(() => {