刘恒 1 жил өмнө
parent
commit
2a04a3e6f7

+ 1 - 1
src/pages/wallet/partner/channel.vue

@@ -14,7 +14,7 @@
       <div class="back-line-main">
         <div class="back-line-header">
           <div class="back-line-header-title">
-            <h2>合伙人</h2>
+            <h2>团队</h2>
             <div>
               <span>时间筛选</span>
               <a-range-picker

+ 15 - 3
src/pages/wallet/partner/message.vue

@@ -275,11 +275,17 @@
           key: "id",
         },
         deptId: "",
+        tabType:"1"
       };
     },
     watch: {
       "formState.days"() {
-        this.getList();
+        if(this.tabType==2){
+            this.getStudioInfo()
+        }else{
+            this.getList();  
+        }
+        
       },
     },
     async mounted() {
@@ -325,7 +331,7 @@
             });
     },
         tabChange(type){
-           
+           this.tabType=type
             if(type==2){
                 this.getStudioInfo()
             }else{
@@ -408,7 +414,13 @@
         this.formState.beginDate = val[0];
         this.formState.endDate = val[1];
         this.formState.days = undefined;
-        this.getList();
+        // this.tabType=type
+        if(this.tabType==2){
+            this.getStudioInfo()
+        }else{
+            this.getList();  
+        }
+        // this.getList();
       },
       handleFinish() {
         //

+ 13 - 4
src/pages/wallet/partner/partnerInfo.vue

@@ -285,12 +285,17 @@
           key: "id",
         },
         deptId: "",
-        manyObj:{}
+        manyObj:{},
+        tabType:"1"
       };
     },
     watch: {
       "formState.days"() {
-        this.getList();
+        if(this.tabType==2){
+            this.getStudioInfo()
+        }else{
+            this.getList();  
+        }
       },
     },
     async mounted() {
@@ -336,7 +341,7 @@
         });
     },
     tabChange(type){
-           
+      this.tabType=type
            if(type==2){
                this.getStudioInfo()
            }else{
@@ -421,7 +426,11 @@
         this.formState.beginDate = val[0];
         this.formState.endDate = val[1];
         this.formState.days = undefined;
-        this.getList();
+        if(this.tabType==2){
+            this.getStudioInfo()
+        }else{
+            this.getList();  
+        }
       },
       handleFinish() {
         //

+ 1 - 1
src/pages/wallet/partner/studioInfo.vue

@@ -14,7 +14,7 @@
       <div class="back-line-main">
         <div class="back-line-header">
           <div class="back-line-header-title">
-            <h2>合伙人</h2>
+            <h2>工作室</h2>
             <div>
               <span>时间筛选</span>
               <a-range-picker