diff --git a/src/views/organization/studentStatistics/examStatistic.vue b/src/views/organization/studentStatistics/examStatistic.vue index 7a748f473..6aaeff268 100644 --- a/src/views/organization/studentStatistics/examStatistic.vue +++ b/src/views/organization/studentStatistics/examStatistic.vue @@ -47,7 +47,8 @@ export default { // minu=minu>9?minu:'0'+minu; // seconds=seconds>9?seconds:'0'+seconds; let temp=hour+'时'+minu+"分"+seconds+'秒'; - return '
'+params.data.name+': '+temp+'
' + let start=params.data.name?params.data.name+': ':params.data.name; + return ''+start+temp+'
' } }, color:['#358ff8','#91cb74','#f7c757','#ec6566','#73c0de','#4ca273','#ee8250','#9a60b4','#ea7ccc','#59eca9'], diff --git a/src/views/organization/studentStatistics/index.vue b/src/views/organization/studentStatistics/index.vue index fa0a85ae8..ff15d7367 100644 --- a/src/views/organization/studentStatistics/index.vue +++ b/src/views/organization/studentStatistics/index.vue @@ -73,7 +73,8 @@ export default { // minu=minu>9?minu:'0'+minu; // seconds=seconds>9?seconds:'0'+seconds; let temp=hour+'时'+minu+"分"+seconds+'秒'; - return ''+params.data.name+': '+temp+'
' + let start=params.data.name?params.data.name+': ':params.data.name; + return ''+start+temp+'
' } }, color:['#358ff8','#91cb74','#f7c757','#ec6566','#73c0de','#4ca273','#ee8250','#9a60b4','#ea7ccc','#59eca9'],