NobleLeong 2 days ago
parent
commit
5f7d3a44c0
1 changed files with 2 additions and 2 deletions
  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