diff --git a/acupuncture-前台/src/views/indexCom/JM.vue b/acupuncture-前台/src/views/indexCom/JM.vue index fe4ca143..dba1dbe9 100644 --- a/acupuncture-前台/src/views/indexCom/JM.vue +++ b/acupuncture-前台/src/views/indexCom/JM.vue @@ -246,7 +246,7 @@ export default { return item.total; }); diagnoseEcharts.yAxis.data = this.diagnoseValue?.map((item) => { - return item.type; + return item.diseaseName; }); this.$nextTick(() => { var myChart = echarts.init(document.getElementById("diagnose"), null, { diff --git a/acupuncture-后台/src/views/indexCom/JM.vue b/acupuncture-后台/src/views/indexCom/JM.vue index fe4ca143..dba1dbe9 100644 --- a/acupuncture-后台/src/views/indexCom/JM.vue +++ b/acupuncture-后台/src/views/indexCom/JM.vue @@ -246,7 +246,7 @@ export default { return item.total; }); diagnoseEcharts.yAxis.data = this.diagnoseValue?.map((item) => { - return item.type; + return item.diseaseName; }); this.$nextTick(() => { var myChart = echarts.init(document.getElementById("diagnose"), null, {