소스 검색

完播、频道、每日统计

xdd 1 주 전
부모
커밋
9c42695105
3개의 변경된 파일11개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 0
      src/views/statistics/section/channel.vue
  2. 3 1
      src/views/statistics/section/index.vue
  3. 4 0
      src/views/statistics/section/today.vue

+ 4 - 0
src/views/statistics/section/channel.vue

@@ -226,6 +226,10 @@ export default {
         this.queryParams.endDate = null;
       }
 
+      if(this.selectedCompanyList != null && this.selectedCompanyList.length > 0) {
+        this.queryParams.userIds = this.selectedCompanyList;
+      }
+
       listPeriodList(this.queryParams).then(response => {
         console.log(response)
         this.statsList = response.data;

+ 3 - 1
src/views/statistics/section/index.vue

@@ -200,9 +200,11 @@ export default {
         this.queryParams.startDate = null;
         this.queryParams.endDate = null;
       }
+      if(this.selectedCompanyList != null && this.selectedCompanyList.length > 0) {
+        this.queryParams.userIds = this.selectedCompanyList;
+      }
 
       listEmployeeStats(this.queryParams).then(response => {
-        console.log(response)
         this.statsList = response.data;
         this.loading = false;
       });

+ 4 - 0
src/views/statistics/section/today.vue

@@ -225,6 +225,10 @@ export default {
         this.queryParams.endDate = null;
       }
 
+      if(this.selectedCompanyList != null && this.selectedCompanyList.length > 0) {
+        this.queryParams.userIds = this.selectedCompanyList;
+      }
+
       listTodayList(this.queryParams).then(response => {
         console.log(response)
         this.statsList = response.data;