From 0bb93757edc4b32b7a00c393e36a0703178e9434 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com>
Date: Fri, 21 Jul 2023 17:40:07 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/system/kindergartenEcharts/index.vue | 4 ++--
src/views/system/physique/index.vue | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/views/system/kindergartenEcharts/index.vue b/src/views/system/kindergartenEcharts/index.vue
index 4a90f13..1b18c1a 100644
--- a/src/views/system/kindergartenEcharts/index.vue
+++ b/src/views/system/kindergartenEcharts/index.vue
@@ -265,7 +265,7 @@
>
-
+
-
+
-
-
+
+
- 查看
+ 查看
-
+
-
+
- 学校排名:学校排名:{{
analysislist.schoolRank
}}名 区域排名:{{
+ >名-->
+ 区域排名:
+
+ {{
analysislist.areaRank
- }}名 区域成绩占比:{{
+ }}
+ 名
+ 区域成绩占比:
+
+ {{
analysislist.areaProportion
- }}
+ }}
+
@@ -61,10 +47,7 @@
margin-top: 20px;
"
>
-
+
@@ -75,9 +58,12 @@
-

+

-
该学生此批次暂没数据
+
+
+ 该学生此批次暂没数据
+
@@ -93,7 +79,7 @@ import { constitution } from "@/api/system/constitution";
export default {
name: "constitution",
components: {
- student,
+ student
},
data() {
return {
@@ -106,8 +92,8 @@ export default {
//查询传值
analysisqueryParams: {
studentId: "",
- batchCode: "",
- },
+ batchCode: ""
+ }
};
},
mounted() {},
@@ -128,7 +114,7 @@ export default {
var ydata = [
this.analysislist.itemScoreList[i].itemScore,
this.analysislist.itemScoreList[i].schoolAvgScore,
- this.analysislist.itemScoreList[i].cityAvgScore,
+ this.analysislist.itemScoreList[i].cityAvgScore
];
var textname = this.analysislist.itemScoreList[i].itemName;
var myChart = echarts.init(myEchart[i]);
@@ -136,31 +122,31 @@ export default {
title: {
text: textname,
subtext: "",
- left: "50%",
+ left: "50%"
},
tooltip: {
trigger: "axis",
axisPointer: {
- type: "shadow",
+ type: "shadow"
},
- formatter: function (params) {
+ formatter: function(params) {
var tar = params[1];
return tar.name + "
" + tar.seriesName + " : " + tar.value;
- },
+ }
},
grid: {
left: "3%",
right: "4%",
bottom: "3%",
- containLabel: true,
+ containLabel: true
},
xAxis: {
type: "category",
splitLine: { show: false },
- data: this.analysislist.itemStudentList,
+ data: this.analysislist.itemStudentList
},
yAxis: {
- type: "value",
+ type: "value"
},
series: [
{
@@ -169,15 +155,15 @@ export default {
stack: "Total",
itemStyle: {
borderColor: "blue",
- color: "blue",
+ color: "blue"
},
emphasis: {
itemStyle: {
borderColor: "transparent",
- color: "transparent",
- },
+ color: "transparent"
+ }
},
- data: [0, 0, 0],
+ data: [0, 0, 0]
},
{
name: "分数",
@@ -187,31 +173,31 @@ export default {
barWidth: 35,
label: {
show: true,
- position: "inside",
+ position: "inside"
},
itemStyle: {
normal: {
- color: function (colors) {
+ color: function(colors) {
var colorList = [
"#91cd77",
"#5470c6",
"#fc8251",
"#ef6567",
"#f9c956",
- "#75bedc",
+ "#75bedc"
];
return colorList[i];
- },
- },
+ }
+ }
},
// itemStyle: {
// borderColor: "#94D8F6",
// color: "#94D8F6",
// },
- data: ydata,
- },
- ],
+ data: ydata
+ }
+ ]
};
myChart.setOption(option);
@@ -221,7 +207,7 @@ export default {
},
//综合体质分析
analysislists() {
- constitution(this.analysisqueryParams).then((res) => {
+ constitution(this.analysisqueryParams).then(res => {
if (!res.data || res.data == "") {
this.itemshow2 = true;
this.itemshow = false;
@@ -237,7 +223,7 @@ export default {
},
getList() {
//用户权限
- getRoleInfo().then((res) => {
+ getRoleInfo().then(res => {
this.classqueryParams.kindergartenId = res.data.kindergartenId;
var user = res.data.roleKeys;
if (user.includes("enchou")) {
@@ -253,8 +239,8 @@ export default {
reset() {
this.form = {};
this.resetForm("form");
- },
- },
+ }
+ }
};