|
@@ -36,7 +36,7 @@ const getChartsListApi = async () => {
|
|
|
if (code == 200) {
|
|
|
setTimeout(() => {
|
|
|
nextTick(() => {
|
|
|
- if (data) {
|
|
|
+ if (data && data.length > 0) {
|
|
|
showLength.value = data?.length;
|
|
|
rankTableRefList.data = data;
|
|
|
rankTableRefList.dept = "科室";
|
|
@@ -220,12 +220,16 @@ const fullBig = (item: any) => {
|
|
|
</div>
|
|
|
<!-- 总得分 -->
|
|
|
<div class="mt-5 pr-8 w-full h-60">
|
|
|
- <barEcharts ref="barEchartsRef" :title="'总得分'" />
|
|
|
+ <barEcharts
|
|
|
+ ref="barEchartsRef"
|
|
|
+ :title="'总得分'"
|
|
|
+ :barDimEchartsList="barDimEchartsList"
|
|
|
+ />
|
|
|
</div>
|
|
|
<!-- 维度得分 -->
|
|
|
<div class="flex justify-between flex-wrap items-center">
|
|
|
<div v-for="(item, index) in dataList.dimName" :key="index">
|
|
|
- <div class="mt-5 pr-8 h-60 w-[650px]">
|
|
|
+ <div class="mt-5 pr-8 h-60 w-[600px]">
|
|
|
<barDimEcharts
|
|
|
ref="barDimEchartsRef"
|
|
|
:title="item.name"
|