Explorar el Código

完播、频道、每日统计

xdd hace 1 semana
padre
commit
65567d2349

+ 2 - 1
src/views/statistics/section/channel.vue

@@ -232,7 +232,8 @@ export default {
 
       listPeriodList(this.queryParams).then(response => {
         console.log(response)
-        this.statsList = response.data;
+        this.statsList = response.data.list;
+        this.total = response.data.total;
         this.loading = false;
       });
     },

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

@@ -205,7 +205,8 @@ export default {
       }
 
       listEmployeeStats(this.queryParams).then(response => {
-        this.statsList = response.data;
+        this.statsList = response.data.list;
+        this.total = response.data.total;
         this.loading = false;
       });
     },

+ 2 - 2
src/views/statistics/section/today.vue

@@ -230,8 +230,8 @@ export default {
       }
 
       listTodayList(this.queryParams).then(response => {
-        console.log(response)
-        this.statsList = response.data;
+        this.statsList = response.data.list;
+        this.total = response.data.total;
         this.loading = false;
       });
     },