diff --git a/acupuncture-前台/src/views/indexCom/XGZL.vue b/acupuncture-前台/src/views/indexCom/XGZL.vue
index 5d3846ca..6aa78b55 100644
--- a/acupuncture-前台/src/views/indexCom/XGZL.vue
+++ b/acupuncture-前台/src/views/indexCom/XGZL.vue
@@ -13,7 +13,7 @@
中西医结合
- 纯中医
+ 单纯中医
diff --git a/acupuncture-前台/src/views/indexCom/follow.vue b/acupuncture-前台/src/views/indexCom/follow.vue
index 3b16cc97..ad7bc7a6 100644
--- a/acupuncture-前台/src/views/indexCom/follow.vue
+++ b/acupuncture-前台/src/views/indexCom/follow.vue
@@ -156,9 +156,9 @@ export default {
lossFollowEcharts.series[0].data = this.lossFollowValue?.map((item) => {
return item.num;
});
- lossFollowEcharts.xAxis.data = this.lossFollowValue?.map((item) => {
- return item.reason;
- });
+ // lossFollowEcharts.xAxis.data = this.lossFollowValue?.map((item) => {
+ // return item.reason;
+ // });
this.$nextTick(() => {
var myChart = echarts.init(
document.getElementById("lossFollow"),
diff --git a/acupuncture-前台/src/views/indexCom/index.js b/acupuncture-前台/src/views/indexCom/index.js
index 0c0f6217..be75aed5 100644
--- a/acupuncture-前台/src/views/indexCom/index.js
+++ b/acupuncture-前台/src/views/indexCom/index.js
@@ -900,13 +900,11 @@ export const lossFollowEcharts = {
},
formatter: function (params) {
let res1 = params[0].name;
- var ret = ""; //拼接加\n返回的类目项
-
for (var i = 0, l = params.length; i < l; i++) {
res1 +=
"
" +
`` +
- params[i].seriesName.slice() +
+ params[i].seriesName +
" : " +
params[i].value +
"个";
@@ -916,7 +914,16 @@ export const lossFollowEcharts = {
},
xAxis: {
type: "category",
- data: [],
+ data: [
+ "社交人际",
+ "沟通交流",
+ "心理认知",
+ "游戏玩耍",
+ "大小运动",
+ "生活自理",
+ "执行管控",
+ "知识常识",
+ ],
axisLabel: {
show: true,
textStyle: {
@@ -925,9 +932,7 @@ export const lossFollowEcharts = {
},
},
axisLable: {
- formatter: function (
- value //X轴的内容
- ) {
+ formatter: function (value) {
console.log("value", value);
var ret = ""; //拼接加\n返回的类目项
diff --git a/acupuncture-后台/src/views/indexCom/XGZL.vue b/acupuncture-后台/src/views/indexCom/XGZL.vue
index 21410ba6..f556f7b6 100644
--- a/acupuncture-后台/src/views/indexCom/XGZL.vue
+++ b/acupuncture-后台/src/views/indexCom/XGZL.vue
@@ -13,7 +13,7 @@
中西医结合
- 纯中医
+ 单纯中医
@@ -196,7 +196,7 @@ export default {
},
{
value: zllxtj?.czy || 0,
- name: "纯中医",
+ name: "单纯中医",
},
];
this.handleHealType();