|
@@ -423,13 +423,13 @@ export default {
|
|
|
// 判断个人数据是否有效
|
|
// 判断个人数据是否有效
|
|
|
const hasPersonalData = this.personalList && this.personalList.length > 0 && this.personalList.some(data => data !== null && data !== undefined);
|
|
const hasPersonalData = this.personalList && this.personalList.length > 0 && this.personalList.some(data => data !== null && data !== undefined);
|
|
|
// 判断班级数据是否有效
|
|
// 判断班级数据是否有效
|
|
|
- const hasClassData = this.classList && this.classList.length > 0 && this.classList.some(score => score !== null && score !== undefined && score !== '');
|
|
|
|
|
|
|
+ //const hasClassData = this.classList && this.classList.length > 0 && this.classList.some(score => score !== null && score !== undefined && score !== '');
|
|
|
// 判断年级数据是否有效
|
|
// 判断年级数据是否有效
|
|
|
- const hasGradeData = this.gradeList && this.gradeList.length > 0 && this.gradeList.some(data => data !== null && data !== undefined);
|
|
|
|
|
|
|
+ //const hasGradeData = this.gradeList && this.gradeList.length > 0 && this.gradeList.some(data => data !== null && data !== undefined);
|
|
|
|
|
|
|
|
if (hasPersonalData) selected['个人'] = showAll;
|
|
if (hasPersonalData) selected['个人'] = showAll;
|
|
|
- if (hasClassData) selected['班级'] = showAll;
|
|
|
|
|
- if (hasGradeData) selected['年级'] = showAll;
|
|
|
|
|
|
|
+ //if (hasClassData) selected['班级'] = showAll;
|
|
|
|
|
+ //if (hasGradeData) selected['年级'] = showAll;
|
|
|
|
|
|
|
|
|
|
|
|
|
this.chart.setOption({
|
|
this.chart.setOption({
|