NobleLeong hai 3 días
pai
achega
5f7d3a44c0
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/pages/platform/view/calldata/index.vue

+ 2 - 2
src/pages/platform/view/calldata/index.vue

@@ -113,7 +113,7 @@ export default {
             this.$http.get(`/call/api/stats/total-count`, {
                 params: {
                     startDate: (this.curDate && this.curDate[0]) || getDateTime(-7),
-                    endDate: (this.curDate && this.curDate[7]) || getDateTime(-1),
+                    endDate: (this.curDate && this.curDate[1]) || getDateTime(-1),
                 }
             }).then((response) => {
                 let { data, code, msg } = response
@@ -134,7 +134,7 @@ export default {
             this.$http.get(`/call/api/stats/positions`, {
                 params: {
                     startDate: (this.curDate && this.curDate[0]) || getDateTime(-7),
-                    endDate: (this.curDate && this.curDate[7]) || getDateTime(-1),
+                    endDate: (this.curDate && this.curDate[1]) || getDateTime(-1),
                 }
             }).then((response) => {
                 let { data, code, msg } = response