소스 검색

修复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'
        }
      }