diff --git a/src/views/supControl/supStatisPanel.vue b/src/views/supControl/supStatisPanel.vue index 85934ef..7f3946b 100644 --- a/src/views/supControl/supStatisPanel.vue +++ b/src/views/supControl/supStatisPanel.vue @@ -239,23 +239,23 @@ } else if (this.timeTerm === '2') { // 前三个月 this.caseCounts.labelText = '本期' - this.query.begTime = getDate(-3, 'yyyy-MM-dd') + this.query.begTime = getDate(-90, 'yyyy-MM-dd') this.query.endTime = getDate(1, 'yyyy-MM-dd') - this.query4Regist.beginDate = getDate(-3, 'yyyy-MM-dd') + this.query4Regist.beginDate = getDate(-90, 'yyyy-MM-dd') this.query4Regist.endDate = getDate(1, 'yyyy-MM-dd') } else if (this.timeTerm === '3') { // 前半年 this.caseCounts.labelText = '本期' - this.query.begTime = getDate(-5, 'yyyy-MM-dd') + this.query.begTime = getDate(-180, 'yyyy-MM-dd') this.query.endTime = getDate(1, 'yyyy-MM-dd') - this.query4Regist.beginDate = getDate(-5, 'yyyy-MM-dd') + this.query4Regist.beginDate = getDate(-180, 'yyyy-MM-dd') this.query4Regist.endDate = getDate(1, 'yyyy-MM-dd') } else if (this.timeTerm === '4') { // 前一年 this.caseCounts.labelText = '本期' - this.query.begTime = getDate(-7, 'yyyy-MM-dd') + this.query.begTime = getDate(-365, 'yyyy-MM-dd') this.query.endTime = getDate(1, 'yyyy-MM-dd') - this.query4Regist.beginDate = getDate(-7, 'yyyy-MM-dd') + this.query4Regist.beginDate = getDate(-365, 'yyyy-MM-dd') this.query4Regist.endDate = getDate(1, 'yyyy-MM-dd') }