Commit f10bcbba authored by 袁玲利's avatar 袁玲利

确认日期时根据会员状态判断是否调用接口

parent f3e79f50
......@@ -468,11 +468,11 @@
this.shareDate = moment(this.dataRangeArr[this.dataRangeIndex].startDate).format('YYYY-MM-DD 00:00:00')
console.log(this.currentDate, 'currentDate222222222222222', this.shareDate)
console.log(obj, 'obj', this.dataRangeIndex)
await this.getCampusConsumerReport()
await this.initPieCharts()
this.getCampusConsumerReport()
if (this.homeDataInfo.vipStatus === 1) {
this.initPieCharts()
this.getCateringAbnormalTypeGroupList()
// this.getUserDealReportListAndSum()
// this.dataRangeIndex = indexOf(this.dataRangeArr, obj[0])
}
this.pickerShow = !this.pickerShow;
},
choosePicker() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment