浏览代码

修复bug

hwy 6 月之前
父节点
当前提交
14cce4604b
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      component/statistics/XiaoXiMx/index.js

+ 4 - 4
component/statistics/XiaoXiMx/index.js

@ -138,12 +138,12 @@ Vue.component('xx-situation', {
        size: this.size
      }
      if (this.yearType == '1') {
        params.startDate = this.chooseYear + '-01-01'
        params.endDate = this.chooseYear + '-12-31'
        params.startTime = this.chooseYear + '-01-01' + ' 00:00:00'
        params.endTime = this.chooseYear + '-12-31' + ' 11:59:59'
      } else {
        if (this.chooseTime) {
          params.startDate = this.chooseTime[0]
          params.endDate = this.chooseTime[1]
          params.startTime = this.chooseTime[0] + ' 00:00:00'
          params.endTime = this.chooseTime[1] + ' 11:59:59'
        }
      }