From cc5d7bef99d0972fa6fab5e8a44686ad98563675 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Thu, 15 Sep 2022 18:30:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/area.js | 7 + src/views/assembly/kindergarten.vue | 12 +- src/views/assembly/student.vue | 170 +++++++- src/views/system/action/index.vue | 133 +++--- src/views/system/classconstitution/index.vue | 36 +- src/views/system/physique/index.vue | 45 +- src/views/system/quality/index.vue | 42 +- src/views/system/studentInfo/index.vue | 9 +- src/views/system/testItemCityScore/index.vue | 21 +- .../system/testItemCountryScore/index.vue | 1 - src/views/system/testItemScore/index.vue | 388 +++++++++++++++--- src/views/system/testItems/index.vue | 140 ++++--- 12 files changed, 733 insertions(+), 271 deletions(-) diff --git a/src/api/system/area.js b/src/api/system/area.js index f18bb18..050004f 100644 --- a/src/api/system/area.js +++ b/src/api/system/area.js @@ -9,6 +9,13 @@ export function listArea(query) { }) } +export function listCityInfo() { + return request({ + url: '/system/area/listCityInfo', + method: 'get' + }) +} + // 查询区域管理详细 export function getArea(id) { return request({ diff --git a/src/views/assembly/kindergarten.vue b/src/views/assembly/kindergarten.vue index e23d11f..d86038f 100644 --- a/src/views/assembly/kindergarten.vue +++ b/src/views/assembly/kindergarten.vue @@ -26,14 +26,14 @@ {{ batchCode }}{{ batchName }} {{ batchCode }}{{ batchName }} @@ -205,7 +205,8 @@ export default { //幼儿园ID kindergartenId: "", //批次名称 - batchCode: "请选择批次", + batchCode: "", + batchName:'请选择批次', //批次list testScorelist: [], //批次编号 @@ -223,6 +224,7 @@ export default { methods: { onshow() { this.batchCode = localStorage.getItem("batchCode2"); + this.batchName = localStorage.getItem("batchName2"); this.kindergartenId = localStorage.getItem("kindergartenId"); if (localStorage.getItem("kindergartenName") == null) { this.kindergartenName = "请选择幼儿园"; @@ -251,8 +253,10 @@ export default { //点击批次左边 batchCodeclick(row) { this.batchCode = row.batchCode; + this.batchName = row.batchName; this.batchCodeshow = false; localStorage.setItem("batchCode2", this.batchCode); + localStorage.setItem("batchName2", this.batchName); if (this.kindergartenId != "") { this.$emit("kinbatlist", this.kindergartenId, this.batchCode, 2); } diff --git a/src/views/assembly/student.vue b/src/views/assembly/student.vue index bc0ff2b..932bc26 100644 --- a/src/views/assembly/student.vue +++ b/src/views/assembly/student.vue @@ -21,30 +21,31 @@ >{{ studentname }} - + {{ batchCode }}{{ batchName }} {{ batchCode }}{{ batchName }} + {{ kindergartenName }} {{ kindergartenName }} - + {{ className }} {{ className }} + + + + + + + 搜索 + 重置 + - + + + + + + + 搜索 + 重置 + + +