From 66841e25778008be7ad88cc1fff05f9268c92e3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Tue, 30 Aug 2022 17:44:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A1=B5=E9=9D=A2=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/testItemScore.js | 10 + src/views/assembly/kindergarten.vue | 296 ++++++++ src/views/assembly/student.vue | 629 ++++++++++++++++ src/views/system/action/index.vue | 706 ++---------------- src/views/system/classconstitution/index.vue | 306 +------- src/views/system/classinfo/index.vue | 7 +- src/views/system/comprehensive/index.vue | 622 ++------------- src/views/system/constitution/index.vue | 585 +-------------- src/views/system/physique/index.vue | 456 +++-------- src/views/system/quality/index.vue | 632 ++-------------- src/views/system/shape/index.vue | 571 +------------- src/views/system/survey/index.vue | 531 +++++-------- src/views/system/testItemCityScore/index.vue | 66 +- .../system/testItemCountryScore/index.vue | 283 ++++--- src/views/system/testItemScore/index.vue | 279 ++++--- src/views/system/testScoreBatch/index.vue | 1 + 16 files changed, 1847 insertions(+), 4133 deletions(-) create mode 100644 src/views/assembly/kindergarten.vue create mode 100644 src/views/assembly/student.vue diff --git a/src/api/system/testItemScore.js b/src/api/system/testItemScore.js index dcb0b3a..9a899ff 100644 --- a/src/api/system/testItemScore.js +++ b/src/api/system/testItemScore.js @@ -9,6 +9,16 @@ export function listTestItemScore(query) { }) } +// 查询测试项目 +export function testItems(query) { + return request({ + url: '/system/testItems/list', + method: 'get', + params: query + }) +} + + // 查询班级信息列表 export function classInfo(query) { return request({ diff --git a/src/views/assembly/kindergarten.vue b/src/views/assembly/kindergarten.vue new file mode 100644 index 0000000..83d0d47 --- /dev/null +++ b/src/views/assembly/kindergarten.vue @@ -0,0 +1,296 @@ + + + diff --git a/src/views/assembly/student.vue b/src/views/assembly/student.vue new file mode 100644 index 0000000..a89c59a --- /dev/null +++ b/src/views/assembly/student.vue @@ -0,0 +1,629 @@ + + + diff --git a/src/views/system/action/index.vue b/src/views/system/action/index.vue index 9a11029..e8c3417 100644 --- a/src/views/system/action/index.vue +++ b/src/views/system/action/index.vue @@ -7,69 +7,18 @@ v-show="showSearch" label-width="90px" > - - {{ kindergartenName }} - {{ kindergartenName }} - + - + {{ className }} - - {{ className }} - - - - {{ studentname }} - {{ studentname }} - - - - {{ batchCodeName }} - {{ batchCodeName }}查看 @@ -79,360 +28,85 @@ @queryTable="getList" > - - - - - - - +
+ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + - - + + - - - - - - - - -
- -
-
- - - - - - - - - - - - - - - - - - - - - - -
- -
-
- +
@@ -448,106 +122,19 @@ + diff --git a/src/views/system/classinfo/index.vue b/src/views/system/classinfo/index.vue index 7e7f822..60e5ee2 100644 --- a/src/views/system/classinfo/index.vue +++ b/src/views/system/classinfo/index.vue @@ -247,7 +247,9 @@ 取 消 - + diff --git a/src/views/system/comprehensive/index.vue b/src/views/system/comprehensive/index.vue index 0cd6265..e8a38ec 100644 --- a/src/views/system/comprehensive/index.vue +++ b/src/views/system/comprehensive/index.vue @@ -7,72 +7,22 @@ v-show="showSearch" label-width="90px" > - - {{ kindergartenName }} - {{ kindergartenName }} - + - + {{ className }} - - {{ className }} - - - - {{ studentname }} - {{ studentname }} - - - - {{ batchCodeName }} - {{ batchCodeName }}查看 + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -356,15 +42,10 @@ margin-top: 10px; padding-bottom: 20px; border-bottom: 1px solid #f0f0f0; + padding-left: 20px; " > -
+
姓名:{{ sythesizestudent.studentName }}
@@ -383,12 +64,12 @@
-
+
所属幼儿园:{{ sythesizestudent.kindergartenName }}
班级:{{ sythesizestudent.className }}
-
+
地址:{{ sythesizestudent.kindergartenAddress }}
@@ -397,17 +78,20 @@ - +
+
+ 幼儿综合得分 +
{{ index == 0 ? null : "+" }} + - {{ item.categoryScore }} + {{ item.categoryName }}( {{ item.categoryScore }}) - {{ item.categoryName }}
= - {{ sythesizestudent.totalCategoryScore }} + 综合得分({{ sythesizestudent.totalCategoryScore }}) (综合得分) + >
-
+
获取徽章
-
{{ item }}
+
{{ item }}
- +
综合体质分析图 @@ -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 @@ > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -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" > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
身体素质测试
综合评价 @@ -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 @@ > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 == ''" > - + - +