|
|
@@ -323,7 +323,7 @@ export default { |
|
|
|
selectDate: '', |
|
|
|
uid: '', |
|
|
|
advice: '', |
|
|
|
surveyTitle: '' || '本周概览', |
|
|
|
surveyTitle: '' || '7天概览', |
|
|
|
routeDate: '', |
|
|
|
params: {}, |
|
|
|
isPopup: false, |
|
|
@@ -1067,7 +1067,7 @@ export default { |
|
|
|
this.currentDays = value; |
|
|
|
let currentDate = new Date(); |
|
|
|
let leftText = value === 0 ? '今天' : value === 7 ? '7天' : '30天'; |
|
|
|
this.surveyTitle = value === 7 ? '本周概览' : '本月概览'; |
|
|
|
this.surveyTitle = value === 7 ? '7天概览' : '30天概览'; |
|
|
|
if (value === 7) { |
|
|
|
this.defaultOptions.xAxis.data = [ |
|
|
|
"周一", |
|
|
@@ -1093,7 +1093,7 @@ export default { |
|
|
|
this.defaultOptions.xAxis.data = this.xAxisData; |
|
|
|
this.defaultOptions.series = this.defaultSeries; |
|
|
|
this.defaultOptions.series[0].data = this.emotionData; |
|
|
|
let dateList = this.getCurrentMonthStaAndEnd(currentDate); |
|
|
|
let dateList = this.getPostDate(currentDate, 30, true); |
|
|
|
console.log("dateList", dateList); |
|
|
|
this.getPsychologiclData('', dateList[0], dateList[1]); |
|
|
|
} |
|
|
|