Преглед на файлове

完播、频道、每日统计

xdd преди 1 седмица
родител
ревизия
65567d2349
променени са 3 файла, в които са добавени 6 реда и са изтрити 4 реда
  1. 2 1
      src/views/statistics/section/channel.vue
  2. 2 1
      src/views/statistics/section/index.vue
  3. 2 2
      src/views/statistics/section/today.vue

+ 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;
       });
     },