Browse Source

纯中医改为单纯中医

newMaster
1747191978@qq.com 3 months ago
parent
commit
7bea8a9210
  1. 2
      acupuncture-前台/src/views/indexCom/XGZL.vue
  2. 6
      acupuncture-前台/src/views/indexCom/follow.vue
  3. 19
      acupuncture-前台/src/views/indexCom/index.js
  4. 4
      acupuncture-后台/src/views/indexCom/XGZL.vue

2
acupuncture-前台/src/views/indexCom/XGZL.vue

@ -13,7 +13,7 @@
中西医结合
</div>
<span class="dian" style="background: #d8d8d8"></span>
纯中医
纯中医
</div>
</div>
</div>

6
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"),

19
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 +=
"<br/>" +
`<span style="background:${params[i].color};width:12px;display:inline-block;height:12px;border-radius:50%;margin-right:5px;"></span>` +
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返回的类目项

4
acupuncture-后台/src/views/indexCom/XGZL.vue

@ -13,7 +13,7 @@
中西医结合
</div>
<span class="dian" style="background: #d8d8d8"></span>
纯中医
纯中医
</div>
</div>
</div>
@ -196,7 +196,7 @@ export default {
},
{
value: zllxtj?.czy || 0,
name: "纯中医",
name: "纯中医",
},
];
this.handleHealType();

Loading…
Cancel
Save