综合体质分析图
@@ -501,122 +181,43 @@
+
\ No newline at end of file
diff --git a/src/views/system/constitution/index.vue b/src/views/system/constitution/index.vue
index d4ea718..3d0d1e7 100644
--- a/src/views/system/constitution/index.vue
+++ b/src/views/system/constitution/index.vue
@@ -7,69 +7,17 @@
v-show="showSearch"
label-width="90px"
>
-
+
+
{{ kindergartenName }}
- {{ kindergartenName }}
-
-
-
- {{ className }}
-
- {{ className }}
-
-
-
- {{ studentname }}
- {{ studentname }}
-
-
-
- {{ batchCodeName }}
- {{ batchCodeName }}查看
@@ -80,270 +28,6 @@
>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.studentSex == "MALE" ? "男" : "女" }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.classType == dictValue1 ? "大班" : "" }}
- {{ scope.row.classType == dictValue2 ? "中班" : "" }}
- {{ scope.row.classType == dictValue3 ? "小班" : "" }}
- {{ scope.row.classType == dictValue4 ? "毕业" : "" }}
-
-
-
-
-
-
-
-
-
-
-
@@ -394,122 +78,41 @@
diff --git a/src/views/system/quality/index.vue b/src/views/system/quality/index.vue
index c860454..4d05b11 100644
--- a/src/views/system/quality/index.vue
+++ b/src/views/system/quality/index.vue
@@ -7,69 +7,17 @@
v-show="showSearch"
label-width="90px"
>
-
+
+
{{ kindergartenName }}
- {{ kindergartenName }}
-
-
-
- {{ className }}
-
- {{ className }}
-
-
-
- {{ studentname }}
- {{ studentname }}
-
-
-
- {{ batchCodeName }}
- {{ batchCodeName }}查看
@@ -79,284 +27,19 @@
@queryTable="getList"
>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.studentSex == "MALE" ? "男" : "女" }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.classType == dictValue1 ? "大班" : "" }}
- {{ scope.row.classType == dictValue2 ? "中班" : "" }}
- {{ scope.row.classType == dictValue3 ? "小班" : "" }}
- {{ scope.row.classType == dictValue4 ? "毕业" : "" }}
-
-
-
-
-
-
-
-
-
-
-
-
+
身体素质测试
综合评价
@@ -399,6 +77,7 @@
>
{
@@ -796,155 +396,20 @@ export default {
}
});
},
- // 点击学生按钮
- studentshowclick() {
- if (this.studentqueryParams.classId == "") {
- this.$message.error("请先选择班级");
- } else {
- this.studentshow = true;
- this.studentlist();
- }
- },
- //点击批次
- batchCodeshowclick() {
- if (this.studentscore.studentId == "") {
- this.$message.error("请先选择学生");
- } else {
- this.testScore();
- this.batchCodeshow = true;
- }
- },
- //点击批次左边
- batchCodeclick(row) {
- this.batchCodeName = row.batchName;
- this.batchCodeId = row.id;
- this.studentscore.batchCode = row.batchCode;
- this.batchCodeshow = false;
- this.studenttext();
- },
- //批次
- testScore() {
- testScoreBatch(this.testqueryParams).then((res) => {
- this.testScorelist = res.rows;
- this.total4 = res.total;
- });
- },
- //学生左侧按钮
- studentclick(row) {
- this.studentname = row.studentName;
- this.studentId = row.id;
- this.studentshow = false;
- this.studentscore.studentId = row.id;
- if (this.studentscore.batchCode != "") {
- this.studenttext();
- }
- },
-
- //获取学生
- studentlist() {
- listStudentInfo(this.studentqueryParams).then((res) => {
- this.studentInfoList = res.rows;
- this.total3 = res.total;
-
- // console.log(this.studentInfoList);
- });
- },
- //点击所属班级
- classshowclick() {
- if (
- this.classqueryParams.kindergartenId == "" ||
- this.classqueryParams.kindergartenId == null
- ) {
- this.$message.error("请先选择幼儿园");
- } else {
- this.classshow = true;
- this.classinfo();
- }
- // console.log(this.classqueryParams);
- },
- //批次关闭
- batchCodecancel() {
- this.batchCodeshow = false;
- },
- //学生关闭
- studentcancel() {
- this.studentshow = false;
- },
- //幼儿园关闭
- kindergartencancel() {
- this.kindergartenshow = false;
- },
- //班级关闭
- classcancel() {
- this.classshow = false;
- },
- //班级左侧点击
- classclick(row) {
- // console.log(row);
- this.className = row.className;
- this.classId = row.id;
- this.studentqueryParams.classId = row.id;
- this.studentname = "请选择学生";
- this.studentId = "";
- this.studentscore.studentId = "";
- this.classshow = false;
- },
- //幼儿园左侧点击
- kindergartenNameclick(row) {
- this.classqueryParams.kindergartenId = row.id;
- this.kindergartenName = row.kindergartenName;
- this.kindergartenId = row.id;
- this.className = "请选择班级";
- this.classId = "";
- this.studentname = "请选择学生";
- this.studentId = "";
- this.studentscore.studentId = "";
- this.kindergartenshow = false;
- },
- //班级类型
- class() {
- tKindergartenInfo(this.ClassType).then((res) => {
- this.dictValue1 = res.data[0].dictValue;
- this.dictValue2 = res.data[1].dictValue;
- this.dictValue3 = res.data[2].dictValue;
- this.dictValue4 = res.data[3].dictValue;
- });
- },
- //班级list
- classinfo() {
- listClassinfo(this.classqueryParams).then((response) => {
- this.classinfoList = response.rows;
- this.total2 = response.total;
- // console.log(this.classinfoList);
- });
- },
-
getList() {
//用户权限
getRoleInfo().then((res) => {
console.log(res);
this.classqueryParams.kindergartenId = res.data.kindergartenId;
var user = res.data.roleKeys;
- console.log(user);
if (user.includes("enchou")) {
- this.showyey = false;
return;
} else if (user.includes("teacher")) {
- this.showyey = false;
return;
} else if (user.includes("parent")) {
- this.showyey = false;
- this.showbj = false;
return;
}
});
- //获取幼儿园list
- listKindergartenInfo(this.kqueryParams).then((response) => {
- this.kindergartenList = response.rows;
- this.total1 = response.total;
-
- // console.log(this.kindergartenList);
- });
},
// 表单重置
reset() {
@@ -955,6 +420,16 @@ export default {
};
diff --git a/src/views/system/shape/index.vue b/src/views/system/shape/index.vue
index a4a33f3..dea22a3 100644
--- a/src/views/system/shape/index.vue
+++ b/src/views/system/shape/index.vue
@@ -7,69 +7,17 @@
v-show="showSearch"
label-width="90px"
>
-
+
+
{{ kindergartenName }}
- {{ kindergartenName }}
-
-
-
- {{ className }}
-
- {{ className }}
-
-
-
- {{ studentname }}
- {{ studentname }}
-
-
-
- {{ batchCodeName }}
- {{ batchCodeName }}查看
@@ -80,270 +28,6 @@
>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.studentSex == "MALE" ? "男" : "女" }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.classType == dictValue1 ? "大班" : "" }}
- {{ scope.row.classType == dictValue2 ? "中班" : "" }}
- {{ scope.row.classType == dictValue3 ? "小班" : "" }}
- {{ scope.row.classType == dictValue4 ? "毕业" : "" }}
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/system/testItemCityScore/index.vue b/src/views/system/testItemCityScore/index.vue
index f0b2b5a..a76f121 100644
--- a/src/views/system/testItemCityScore/index.vue
+++ b/src/views/system/testItemCityScore/index.vue
@@ -212,11 +212,7 @@
:required="true"
v-if="form.resultDictType == ''"
>
-
+
-
+
diff --git a/src/views/system/testItemScore/index.vue b/src/views/system/testItemScore/index.vue
index 29ce9a5..a56a68c 100644
--- a/src/views/system/testItemScore/index.vue
+++ b/src/views/system/testItemScore/index.vue
@@ -6,8 +6,36 @@
size="small"
:inline="true"
v-show="showSearch"
- label-width="68px"
+ label-width="90px"
>
+
+ {{ kindergartenName }}
+
+ {{ kindergartenName }}
+
-
-
-
- {{ kindergartenName }}
-
- {{ kindergartenName }}
-
-
-
- {{ xmname }}
-
- {{ xmname }}
-
-
+
-
@@ -513,12 +481,12 @@
@click="handleQuery2"
>搜索
- 重置
-
+
+
+ {{ kindergartenName }}
+
+ {{ kindergartenName }}
+
+
+
+ {{ xmname }}
+
+ {{ xmname }}
+
+
搜索
- 重置
-
+
@@ -684,7 +713,7 @@
@@ -724,7 +753,7 @@
@@ -736,7 +765,7 @@
>
-
-
+ -->
@@ -910,9 +939,13 @@ import {
listKindergartenInfo,
} from "@/api/system/kindergartenInfo";
import Treeselect from "@riophae/vue-treeselect";
+
+import student from "@/views/assembly/student.vue";
+
export default {
name: "TestItemScore",
- components: { Treeselect },
+ components: { Treeselect, student },
+
data() {
return {
value: "",
@@ -1044,11 +1077,7 @@ export default {
methods: {
testclick() {
- if (this.addqueryParams.studentId == "") {
- this.$message.error("请先选择学生");
- } else {
- this.innerVisible4 = true;
- }
+ this.innerVisible4 = true;
},
delitem(item) {
console.log(item);
@@ -1067,15 +1096,13 @@ export default {
//幼儿园左侧点击
kindergartenNameclick(row) {
this.queryParams2.kindergartenId = row.id;
+ this.queryParams.kindergartenId = row.id;
this.kindergartenName = row.kindergartenName;
this.kindergartenId = row.id;
+ this.queryParams3.kindergartenId = row.id;
this.yryinnerVisible = false;
this.xmname = "请选择所属班级";
- this.stname = "请选择学生姓名";
this.itemId2 = "";
- this.itemId3 = "";
- this.form.classId = null;
- this.form.studentId = null;
},
//幼儿园关闭
kindergartencancel() {
@@ -1083,38 +1110,30 @@ export default {
},
// 班级信息
xmclick(row) {
- console.log(row);
this.xmname = row.className;
this.itemId2 = row.id;
- this.form.classId = row.id;
- console.log(this.form);
this.innerVisible = false;
- this.form.className = row.className;
this.queryParams3.classId = row.id;
- this.stname = "请选择学生姓名";
- this.itemId3 = "";
- this.form.studentId = null;
},
//打开选择学生页面
studentinfoclick() {
- if (this.queryParams3.classId == "" || !this.queryParams3.classId) {
- this.$message.error("请先选择班级");
- } else {
- //查询学生信息
- studentInfo(this.queryParams3).then((res) => {
- this.studentInfos = res.rows;
- this.total3 = res.total;
- this.innerVisible2 = true;
- this.itemId2 = this.queryParams3.classId;
- });
- }
+ //查询学生信息
+ studentInfo(this.queryParams3).then((res) => {
+ this.studentInfos = res.rows;
+ this.total3 = res.total;
+ this.innerVisible2 = true;
+ this.itemId2 = this.queryParams3.classId;
+ });
},
// 学生信息
studentclick(row) {
+ console.log(row);
this.stname = row.studentName;
this.itemId3 = row.id;
this.form.studentId = row.id;
+ this.form.className = row.className;
this.addqueryParams.studentId = row.id;
+ this.form.classId = row.id;
this.innerVisible2 = false;
this.form.studentName = row.studentName;
if (this.form.batchCode != null) {
@@ -1131,13 +1150,17 @@ export default {
console.log(this.addqueryParams);
this.innerVisible4 = false;
this.form.batchCode = row.batchCode;
- this.getAllTestItemScore();
+ if (this.addqueryParams.studentId != "") {
+ this.getAllTestItemScore();
+ }
},
/** 查询个人成绩录入管理列表 */
getList() {
//查询班级信息
this.loading = true;
+ console.log(this.queryParams);
+
//获取幼儿园list
listKindergartenInfo(this.kqueryParams).then((response) => {
this.kindergartenList = response.rows;
@@ -1198,7 +1221,7 @@ export default {
} else {
classInfo(this.queryParams2).then((response) => {
this.classInfos = response.rows;
- this.total = response.total;
+ this.total2 = response.total;
this.loading = false;
this.innerVisible = true;
});
@@ -1207,12 +1230,7 @@ export default {
// 学生姓名
handleQuery3() {
this.queryParams3.pageNum = 1;
- studentInfo(this.queryParams).then((response) => {
- this.studentInfo = response.rows;
- this.total = response.total;
- this.loading = false;
- this.getList();
- });
+ this.studentinfoclick();
},
// 批次编号
handleQuery5() {
@@ -1231,8 +1249,42 @@ export default {
/** 重置按钮操作 */
resetQuery() {
this.resetForm("queryForm");
- this.handleQuery();
+ this.kindergartenName = "请选择幼儿园";
+ //幼儿园ID
+ this.kindergartenId = "";
+ this.queryParams = {
+ pageNum: 1,
+ pageSize: 10,
+ className: null,
+ studentName: null,
+ itemName: null,
+ kindergartenId: null,
+ batchCode: null,
+ };
this.queryParams.className = "";
+ this.handleQuery();
+ },
+ classresetQuery() {
+ this.queryParams2.className = null;
+ classInfo(this.queryParams2).then((response) => {
+ this.classInfos = response.rows;
+ this.total2 = response.total;
+ this.loading = false;
+ this.innerVisible = true;
+ });
+ },
+ studentresetQuery() {
+ this.queryParams3 = {
+ pageNum: 1,
+ pageSize: 10,
+ studentName: null,
+ classId: "",
+ };
+ this.kindergartenName = "请选择幼儿园";
+ this.kindergartenId = "";
+ this.xmname = "请选择所属班级";
+ this.itemId2 = "";
+ this.studentinfoclick();
},
// 多选框选中数据
handleSelectionChange(selection) {
@@ -1271,6 +1323,7 @@ export default {
},
/** 提交按钮 */
submitForm() {
+ console.log(this.form);
this.$refs["form"].validate((valid) => {
if (valid) {
if (this.form.id == null) {
diff --git a/src/views/system/testScoreBatch/index.vue b/src/views/system/testScoreBatch/index.vue
index 9cddb1d..ebe7a84 100644
--- a/src/views/system/testScoreBatch/index.vue
+++ b/src/views/system/testScoreBatch/index.vue
@@ -637,6 +637,7 @@ export default {
});
// 查询测试项目
testItems(this.queryParams4).then((res) => {
+ // console.log(res)
this.testItemss = res.rows;
this.total4 = res.total;
this.loading = false;