|
@@ -908,10 +908,8 @@ export default { |
|
|
this.getCalendarData(); |
|
|
this.getCalendarData(); |
|
|
|
|
|
|
|
|
this.$nextTick(()=>{ |
|
|
this.$nextTick(()=>{ |
|
|
this.getPsychologiclData(); |
|
|
|
|
|
this.getWeekResultDetail(); |
|
|
|
|
|
this.getWeekResult(); |
|
|
this.getWeekResult(); |
|
|
/* this.initEchart(); */ |
|
|
|
|
|
|
|
|
this.getWeekResultDetail(); |
|
|
if(this.params.current) { |
|
|
if(this.params.current) { |
|
|
this.current = Number(this.params.current); |
|
|
this.current = Number(this.params.current); |
|
|
this.currentDays = this.calcDaysByTabClick( |
|
|
this.currentDays = this.calcDaysByTabClick( |
|
@@ -2038,7 +2036,6 @@ export default { |
|
|
}, |
|
|
}, |
|
|
}; |
|
|
}; |
|
|
}); |
|
|
}); |
|
|
console.log("emotionData", this.emotionData); |
|
|
|
|
|
this.weekAndMonData = chartData.map((item, index) => { |
|
|
this.weekAndMonData = chartData.map((item, index) => { |
|
|
return { |
|
|
return { |
|
|
value: [index, item.MinValue, item.MaxValue], |
|
|
value: [index, item.MinValue, item.MaxValue], |
|
@@ -2047,7 +2044,7 @@ export default { |
|
|
this.xAxisData = chartData.map((item) => { |
|
|
this.xAxisData = chartData.map((item) => { |
|
|
return item.Key |
|
|
return item.Key |
|
|
? this.$dayjs(item.Key.replace(/-/g, "/")).format("MM/DD") |
|
|
? this.$dayjs(item.Key.replace(/-/g, "/")).format("MM/DD") |
|
|
: item.key; |
|
|
|
|
|
|
|
|
: item.Key; |
|
|
}); |
|
|
}); |
|
|
let emphasisStyle = { |
|
|
let emphasisStyle = { |
|
|
itemStyle: { |
|
|
itemStyle: { |
|
|