班级评比代码提交

init
gongdi 4 years ago
parent 36b338eeca
commit cefb7dc730

@ -370,6 +370,11 @@
]
}
)
window.addEventListener("resize", () => {
if(echart){
echart.resize()
}
})
},
getStudentListByClass:function () {
this.showLoading = true;

@ -378,6 +378,11 @@
]
}
)
window.addEventListener("resize", () => {
if(echart){
echart.resize()
}
})
},
taskChange: function (value) {
let taskId = value.substring(0, value.indexOf('-'));

@ -3,12 +3,14 @@
<TabComp :tabArr="tabArr" showName="title" @tabChange="tabChange"></TabComp>
<TotalEvaluation v-if="tabIndex == 0"/>
<ClassEvaluation v-if="tabIndex == 1"/>
<ScoreRecord v-if="tabIndex == 2"/>
</div>
</template>
<script>
import TabComp from '../common/tabComp.vue';
import TotalEvaluation from './totalEva.vue';
import ClassEvaluation from './classEva.vue';
import ScoreRecord from './scoreRecord.vue';
export default{
data(){
return {
@ -32,7 +34,8 @@
components: {
TabComp,
TotalEvaluation,
ClassEvaluation
ClassEvaluation,
ScoreRecord
}
}
</script>

@ -0,0 +1,24 @@
<template>
<div class="score-record-div">
</div>
</template>
<script>
export default{
data(){
return {}
}
}
</script>
<style lang="scss">
.score-record-div{
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
}
</style>

@ -428,6 +428,11 @@
]
}
);
window.addEventListener("resize", () => {
if(echart){
echart.resize()
}
})
},
getTargetOption: function () {
this.showLoadingII = true;
@ -454,7 +459,6 @@
})
},
buildTargetEchart:function (data) {
console.log("班级指标对比:",data)
//
let echart = echarts.getInstanceByDom(document.getElementById("classTargetEchart"));
if (echart == null) {
@ -530,6 +534,11 @@
series: seriesData
}
);
window.addEventListener("resize", () => {
if(echart){
echart.resize()
}
})
},
getStudentRange:function () {
this.showLoadingIII = true;

Loading…
Cancel
Save