Browse Source

完播、频道、每日统计

xdd 1 week ago
parent
commit
9c42695105

+ 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;