walter преди 8 месеца
родител
ревизия
a76480137b
променени са 1 файла, в които са добавени 4 реда и са изтрити 3 реда
  1. 4 3
      src/point/view/pointHome.vue

+ 4 - 3
src/point/view/pointHome.vue

@@ -609,7 +609,7 @@ export default {
       var http1 = this.$axiosUser('get', '/api/pro/integral/statistics', { employee_id: this.userInfo.id, month: this.month }, 'v3'); // 获取个人统计
       this.rankingListname(); //排行榜
       this.$socketApiTow.authWebSocket(() =>{
-        this.getPkDocList();    //团队pk
+        // this.getPkDocList();    //团队pk
         this.opneWebSocket();   //本月B分奖扣
       });
 
@@ -636,12 +636,13 @@ export default {
               target_ratio: target_ratio
             }
             this.userMonth=data;
+            console.log(this.userMonth)
 
             //ws数据初始化完成,部门排名才可以点击
-            this.deptRank = true;
+            // this.deptRank = true;
             // this.$socketApiTow.closewebsocket();
-
         }
+        this.getPkDocList()   //团队pk
       }, true);
     },
     viewDetail () {