=
-
{{ totalAvgFraction }}
+
{{
+ totalAvgFraction
+ }}
(综合得分)
@@ -252,7 +256,8 @@
width: 120px;
line-height: 60px;
border: 1px solid #f0f0f0;
- background: #f0f0f0;
+ background: #27848b;
+ color: #fff;
"
>
年龄
@@ -262,7 +267,8 @@
width: 120px;
line-height: 60px;
border: 1px solid #f0f0f0;
- background: #f0f0f0;
+ background: #27848b;
+ color: #fff;
"
>
平均总分
@@ -273,7 +279,8 @@
text-align: center;
line-height: 30px;
border: 1px solid #f0f0f0;
- background: #f0f0f0;
+ background: #27848b;
+ color: #fff;
"
>
{{ item.parentName }}
@@ -283,7 +290,8 @@
display: flex;
line-height: 30px;
border: 1px solid #f0f0f0;
- background: #f0f0f0;
+ background: #27848b;
+ color: #fff;
"
>
- {{ analysislist.heightName }}:
- {{ analysislist.heightScore
+ {{
+ analysislist.heightName
+ ? analysislist.heightName
+ : "身高"
+ }}: {{ analysislist.heightScore
}}{{ analysislist.heightMeasureUnit }}
@@ -397,8 +400,11 @@
style="text-align: center"
>
- {{ analysislist.weightName }}:
- {{ analysislist.weightScore
+ {{
+ analysislist.weightName
+ ? analysislist.weightName
+ : "体重"
+ }}: {{ analysislist.weightScore
}}{{ analysislist.weightMeasureUnit }}
@@ -435,6 +441,7 @@
style="height: 310px"
>
@@ -610,6 +617,7 @@
{
if (!res.data || res.data == "") {
+ this.itemshow2 = true;
+ this.itemshow3 = false;
+ this.itemshow = false;
+ } else if (res.data.weightScore == 0 || res.data.weightScore == null) {
+ this.weightshow = false;
+ this.analysislist = res.data;
+ this.itemheight = res.data.heightScore;
+ this.bmiItemLevel = res.data.bmiItemLevel;
+ this.itemweight = res.data.weightScore;
+ this.itemshow2 = false;
+ this.itemshow3 = false;
+ this.itemshow = true;
+ } else if (res.data.heightScore == 0 || res.data.heightScore == null) {
+ this.heightshow = false;
+ this.analysislist = res.data;
+ this.itemheight = res.data.heightScore;
+ this.bmiItemLevel = res.data.bmiItemLevel;
+ this.itemweight = res.data.weightScore;
+ this.itemshow2 = false;
+ this.itemshow3 = false;
+ this.itemshow = true;
} else if (res.data.bmiItemLevel == null) {
this.analysislist = res.data;
this.itemheight = res.data.heightScore;
@@ -1186,6 +1217,9 @@ export default {
this.studentId = row.id;
this.studentshow = false;
this.analysisstudent.studentId = row.id;
+ if (this.analysisstudent.batchCode != "") {
+ this.studentanalysis();
+ }
},
//获取学生
studentlist() {
@@ -1227,6 +1261,9 @@ export default {
this.className = row.className;
this.classId = row.id;
this.studentqueryParams.classId = row.id;
+ this.studentname = "请选择学生";
+ this.studentId = "";
+ this.analysisstudent.studentId = "";
this.classshow = false;
},
//幼儿园左侧点击
@@ -1234,6 +1271,11 @@ export default {
this.classqueryParams.kindergartenId = row.id;
this.kindergartenName = row.kindergartenName;
this.kindergartenId = row.id;
+ this.className = "请选择班级";
+ this.classId = "";
+ this.studentname = "请选择学生";
+ this.studentId = "";
+ this.analysisstudent.studentId = "";
this.kindergartenshow = false;
},
//班级类型
diff --git a/src/views/system/survey/index.vue b/src/views/system/survey/index.vue
index e0c7109..900be7e 100644
--- a/src/views/system/survey/index.vue
+++ b/src/views/system/survey/index.vue
@@ -211,7 +211,7 @@
>
{
- if (res.rows == [] || !res.rows) {
+ if (res.rows.length == 0) {
this.itemshow2 = true;
this.itemshow = false;
} else {
@@ -643,7 +643,10 @@ export default {
},
//点击批次
batchCodeshowclick() {
- if (this.classqueryParams.kindergartenId == "") {
+ if (
+ this.classqueryParams.kindergartenId == "" ||
+ this.classqueryParams.kindergartenId == null
+ ) {
this.$message.error("请先选择幼儿园");
} else {
this.testScore();
@@ -671,6 +674,13 @@ export default {
this.studentlistqueryParams.kindergartenId = row.id;
this.kindergartenName = row.kindergartenName;
this.kindergartenId = row.id;
+ if (
+ this.studentlistqueryParams.batchCode != "" &&
+ this.classqueryParams.batchCode != ""
+ ) {
+ this.StudentListinfo();
+ this.ClassListinfo();
+ }
this.kindergartenshow = false;
},
diff --git a/src/views/system/testItemScore/index.vue b/src/views/system/testItemScore/index.vue
index cf68a59..706eae3 100644
--- a/src/views/system/testItemScore/index.vue
+++ b/src/views/system/testItemScore/index.vue
@@ -302,18 +302,24 @@
-
+
+ {{ itemNumbername }}
+ {{ itemNumbername }}
+
+
+
+
+ 项目名称:
+
+
+
+
+
+
+
+
+
-
- {{ itemNumbername }}
- {{ itemNumbername }}
-
0
- // ? value.split(".")[0].substring(0, 10) + "." + value.split(".")[1]
- // : value.substring(0, 10);
- // return value;
- // },
- // checkInput1() {
- // this.form.maxScore = this.dealInputVal(this.form.maxScore);
- // },
- // dealInputVal(value) {
- // value = value.replace(/^0*(0\.|[1-9])/, "$1");
- // value = value.replace(/[^\d.]/g, ""); //清除"数字"和"."以外的字符
- // value = value.replace(/^\./g, ""); //验证第一个字符是数字而不是字符
- // value = value.replace(/\.{1,}/g, "."); //只保留第一个.清除多余的
- // value = value.replace(".", "$#$").replace(/\./g, "").replace("$#$", ".");
- // value = value.replace(/^(\-)*(\d*)\.(\d\d).*$/, "$1$2.$3"); //只能输入两个小数
- // value =
- // value.indexOf(".") > 0
- // ? value.split(".")[0].substring(0, 10) + "." + value.split(".")[1]
- // : value.substring(0, 10);
- // return value;
- // },
- // checkInput2() {
- // this.form.largeStandardScore = this.dealInputVal(
- // this.form.largeStandardScore
- // );
- // },
- // dealInputVal(value) {
- // value = value.replace(/^0*(0\.|[1-9])/, "$1");
- // value = value.replace(/[^\d.]/g, ""); //清除"数字"和"."以外的字符
- // value = value.replace(/^\./g, ""); //验证第一个字符是数字而不是字符
- // value = value.replace(/\.{1,}/g, "."); //只保留第一个.清除多余的
- // value = value.replace(".", "$#$").replace(/\./g, "").replace("$#$", ".");
- // value = value.replace(/^(\-)*(\d*)\.(\d\d).*$/, "$1$2.$3"); //只能输入两个小数
- // value =
- // value.indexOf(".") > 0
- // ? value.split(".")[0].substring(0, 10) + "." + value.split(".")[1]
- // : value.substring(0, 10);
- // return value;
- // },
- // checkInput3() {
- // this.form.middleStandardScore = this.dealInputVal(
- // this.form.middleStandardScore
- // );
- // },
- // dealInputVal(value) {
- // value = value.replace(/^0*(0\.|[1-9])/, "$1");
- // value = value.replace(/[^\d.]/g, ""); //清除"数字"和"."以外的字符
- // value = value.replace(/^\./g, ""); //验证第一个字符是数字而不是字符
- // value = value.replace(/\.{1,}/g, "."); //只保留第一个.清除多余的
- // value = value.replace(".", "$#$").replace(/\./g, "").replace("$#$", ".");
- // value = value.replace(/^(\-)*(\d*)\.(\d\d).*$/, "$1$2.$3"); //只能输入两个小数
- // value =
- // value.indexOf(".") > 0
- // ? value.split(".")[0].substring(0, 10) + "." + value.split(".")[1]
- // : value.substring(0, 10);
- // return value;
- // },
- // checkInput4() {
- // this.form.smallStandardScore = this.dealInputVal(
- // this.form.smallStandardScore
- // );
- // },
- // dealInputVal(value) {
- // value = value.replace(/^0*(0\.|[1-9])/, "$1");
- // value = value.replace(/[^\d.]/g, ""); //清除"数字"和"."以外的字符
- // value = value.replace(/^\./g, ""); //验证第一个字符是数字而不是字符
- // value = value.replace(/\.{1,}/g, "."); //只保留第一个.清除多余的
- // value = value.replace(".", "$#$").replace(/\./g, "").replace("$#$", ".");
- // value = value.replace(/^(\-)*(\d*)\.(\d\d).*$/, "$1$2.$3"); //只能输入两个小数
- // value =
- // value.indexOf(".") > 0
- // ? value.split(".")[0].substring(0, 10) + "." + value.split(".")[1]
- // : value.substring(0, 10);
- // return value;
- // },
-
- // checkInput5() {
- // this.form.unifiedStandardScore = this.dealInputVal(
- // this.form.unifiedStandardScore
- // );
- // },
- // dealInputVal(value) {
- // value = value.replace(/^0*(0\.|[1-9])/, "$1");
- // value = value.replace(/[^\d.]/g, ""); //清除"数字"和"."以外的字符
- // value = value.replace(/^\./g, ""); //验证第一个字符是数字而不是字符
- // value = value.replace(/\.{1,}/g, "."); //只保留第一个.清除多余的
- // value = value.replace(".", "$#$").replace(/\./g, "").replace("$#$", ".");
- // value = value.replace(/^(\-)*(\d*)\.(\d\d).*$/, "$1$2.$3"); //只能输入两个小数
- // value =
- // value.indexOf(".") > 0
- // ? value.split(".")[0].substring(0, 10) + "." + value.split(".")[1]
- // : value.substring(0, 10);
- // return value;
- // },
-
delInput(index) {
this.form.itemLevelList.splice(index, 1);
console.log(this.form.itemLevelList);
diff --git a/src/views/system/testScoreBatch/index.vue b/src/views/system/testScoreBatch/index.vue
index 37a07d7..ff8c238 100644
--- a/src/views/system/testScoreBatch/index.vue
+++ b/src/views/system/testScoreBatch/index.vue
@@ -1,6 +1,13 @@
-
+
- 搜索
- 重置
+ 搜索
+ 重置
@@ -32,7 +47,8 @@
size="mini"
@click="handleAdd"
v-hasPermi="['system:testScoreBatch:add']"
- >新增
+ >新增
修改
+ >修改
删除
+ >删除
-
+
-
+
@@ -79,65 +104,312 @@
-
+
+ 查看
修改
+ >修改
删除
+ >删除
-
+
-
-
-
+
+
+
-
+
-
+
+
+ {{ testname }}
+
+ 继续添加测试项目
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{
+ scope.row.resultDictType == ResultType1.dictCode
+ ? ResultType1.dictLabel
+ : ""
+ }}{{
+ scope.row.resultDictType == ResultType2.dictCode
+ ? ResultType2.dictLabel
+ : ""
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+