修改bug
This commit is contained in:
parent
679c8d1560
commit
cc5d7bef99
@ -9,6 +9,13 @@ export function listArea(query) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function listCityInfo() {
|
||||||
|
return request({
|
||||||
|
url: '/system/area/listCityInfo',
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
// 查询区域管理详细
|
// 查询区域管理详细
|
||||||
export function getArea(id) {
|
export function getArea(id) {
|
||||||
return request({
|
return request({
|
||||||
|
|||||||
@ -26,14 +26,14 @@
|
|||||||
<el-button
|
<el-button
|
||||||
@click="batchCodeshowclick"
|
@click="batchCodeshowclick"
|
||||||
style="width: 250px; text-align: left; height: 32px; color: #c0c4cc"
|
style="width: 250px; text-align: left; height: 32px; color: #c0c4cc"
|
||||||
v-if="batchCode == '请选择批次'"
|
v-if="batchName == '请选择批次'"
|
||||||
>{{ batchCode }}</el-button
|
>{{ batchName }}</el-button
|
||||||
>
|
>
|
||||||
<el-button
|
<el-button
|
||||||
@click="batchCodeshowclick"
|
@click="batchCodeshowclick"
|
||||||
style="width: 250px; text-align: left; height: 32px"
|
style="width: 250px; text-align: left; height: 32px"
|
||||||
v-else
|
v-else
|
||||||
>{{ batchCode }}</el-button
|
>{{ batchName }}</el-button
|
||||||
>
|
>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
@ -205,7 +205,8 @@ export default {
|
|||||||
//幼儿园ID
|
//幼儿园ID
|
||||||
kindergartenId: "",
|
kindergartenId: "",
|
||||||
//批次名称
|
//批次名称
|
||||||
batchCode: "请选择批次",
|
batchCode: "",
|
||||||
|
batchName:'请选择批次',
|
||||||
//批次list
|
//批次list
|
||||||
testScorelist: [],
|
testScorelist: [],
|
||||||
//批次编号
|
//批次编号
|
||||||
@ -223,6 +224,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
onshow() {
|
onshow() {
|
||||||
this.batchCode = localStorage.getItem("batchCode2");
|
this.batchCode = localStorage.getItem("batchCode2");
|
||||||
|
this.batchName = localStorage.getItem("batchName2");
|
||||||
this.kindergartenId = localStorage.getItem("kindergartenId");
|
this.kindergartenId = localStorage.getItem("kindergartenId");
|
||||||
if (localStorage.getItem("kindergartenName") == null) {
|
if (localStorage.getItem("kindergartenName") == null) {
|
||||||
this.kindergartenName = "请选择幼儿园";
|
this.kindergartenName = "请选择幼儿园";
|
||||||
@ -251,8 +253,10 @@ export default {
|
|||||||
//点击批次左边
|
//点击批次左边
|
||||||
batchCodeclick(row) {
|
batchCodeclick(row) {
|
||||||
this.batchCode = row.batchCode;
|
this.batchCode = row.batchCode;
|
||||||
|
this.batchName = row.batchName;
|
||||||
this.batchCodeshow = false;
|
this.batchCodeshow = false;
|
||||||
localStorage.setItem("batchCode2", this.batchCode);
|
localStorage.setItem("batchCode2", this.batchCode);
|
||||||
|
localStorage.setItem("batchName2", this.batchName);
|
||||||
if (this.kindergartenId != "") {
|
if (this.kindergartenId != "") {
|
||||||
this.$emit("kinbatlist", this.kindergartenId, this.batchCode, 2);
|
this.$emit("kinbatlist", this.kindergartenId, this.batchCode, 2);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -21,30 +21,31 @@
|
|||||||
>{{ studentname }}</el-button
|
>{{ studentname }}</el-button
|
||||||
>
|
>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="批次成绩" prop="categoryName" label-width="70px">
|
<el-form-item label="所属批次" prop="categoryName" label-width="70px">
|
||||||
<el-button
|
<el-button
|
||||||
@click="batchCodeshowclick"
|
@click="batchCodeshowclick"
|
||||||
style="width: 250px; text-align: left; height: 32px; color: #c0c4cc"
|
style="width: 250px; text-align: left; height: 32px; color: #c0c4cc"
|
||||||
v-if="batchCode == '请选择批次'"
|
v-if="batchName == '请选择批次'"
|
||||||
>{{ batchCode }}</el-button
|
>{{ batchName }}</el-button
|
||||||
>
|
>
|
||||||
<el-button
|
<el-button
|
||||||
@click="batchCodeshowclick"
|
@click="batchCodeshowclick"
|
||||||
style="width: 250px; text-align: left; height: 32px"
|
style="width: 250px; text-align: left; height: 32px"
|
||||||
v-else
|
v-else
|
||||||
>{{ batchCode }}</el-button
|
>{{ batchName }}</el-button
|
||||||
>
|
>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
<!-- //学生 -->
|
<!-- //学生 -->
|
||||||
<el-dialog
|
<el-dialog
|
||||||
width="880px"
|
width="950px"
|
||||||
title="选择学生"
|
title="选择学生"
|
||||||
:visible.sync="studentshow"
|
:visible.sync="studentshow"
|
||||||
append-to-body
|
append-to-body
|
||||||
:before-close="studentcancel"
|
:before-close="studentcancel"
|
||||||
><el-form
|
>
|
||||||
|
<el-form
|
||||||
ref="queryForm"
|
ref="queryForm"
|
||||||
size="small"
|
size="small"
|
||||||
:inline="true"
|
:inline="true"
|
||||||
@ -55,32 +56,53 @@
|
|||||||
<el-button
|
<el-button
|
||||||
@click="kindergartenshow = true"
|
@click="kindergartenshow = true"
|
||||||
v-if="kindergartenName == '请选择幼儿园'"
|
v-if="kindergartenName == '请选择幼儿园'"
|
||||||
style="width: 250px; text-align: left; height: 32px; color: #c0c4cc"
|
style="width: 200px; text-align: left; height: 32px; color: #c0c4cc"
|
||||||
>{{ kindergartenName }}</el-button
|
>{{ kindergartenName }}</el-button
|
||||||
>
|
>
|
||||||
<el-button
|
<el-button
|
||||||
@click="kindergartenshow = true"
|
@click="kindergartenshow = true"
|
||||||
style="width: 250px; text-align: left; height: 32px"
|
style="width: 200px; text-align: left; height: 32px"
|
||||||
v-else
|
v-else
|
||||||
>{{ kindergartenName }}</el-button
|
>{{ kindergartenName }}</el-button
|
||||||
>
|
>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item label="所属班级" prop="categoryName" label-width="70px">
|
<el-form-item label="所属班级" prop="categoryName" label-width="80px">
|
||||||
<el-button
|
<el-button
|
||||||
@click="classshowclick"
|
@click="classshowclick"
|
||||||
style="width: 250px; text-align: left; height: 32px; color: #c0c4cc"
|
style="width: 200px; text-align: left; height: 32px; color: #c0c4cc"
|
||||||
v-if="className == '请选择班级'"
|
v-if="className == '请选择班级'"
|
||||||
>{{ className }}</el-button
|
>{{ className }}</el-button
|
||||||
>
|
>
|
||||||
|
|
||||||
<el-button
|
<el-button
|
||||||
@click="classshowclick"
|
@click="classshowclick"
|
||||||
style="width: 250px; text-align: left; height: 32px"
|
style="width: 200px; text-align: left; height: 32px"
|
||||||
v-else
|
v-else
|
||||||
>{{ className }}</el-button
|
>{{ className }}</el-button
|
||||||
>
|
>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
|
<el-form-item label="学生姓名" prop="studentName" label-width="80px">
|
||||||
|
<el-input
|
||||||
|
style="width: 200px"
|
||||||
|
v-model="studentqueryParams.studentName"
|
||||||
|
placeholder="请输入学生姓名"
|
||||||
|
></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
|
||||||
|
<el-form-item>
|
||||||
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
icon="el-icon-search"
|
||||||
|
size="mini"
|
||||||
|
@click="handleQuery"
|
||||||
|
>搜索</el-button
|
||||||
|
>
|
||||||
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
|
||||||
|
>重置</el-button
|
||||||
|
>
|
||||||
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<el-table
|
<el-table
|
||||||
:data="studentInfoList"
|
:data="studentInfoList"
|
||||||
@ -151,7 +173,35 @@
|
|||||||
append-to-body
|
append-to-body
|
||||||
:before-close="kindergartencancel"
|
:before-close="kindergartencancel"
|
||||||
>
|
>
|
||||||
<el-table :data="kindergartenList" @cell-dblclick="kindergartenNameclick" >
|
<el-form
|
||||||
|
ref="queryForm"
|
||||||
|
size="small"
|
||||||
|
:inline="true"
|
||||||
|
v-show="showSearch"
|
||||||
|
label-width="110px"
|
||||||
|
>
|
||||||
|
<el-form-item label="幼儿园名称" prop="kindergartenName">
|
||||||
|
<el-input
|
||||||
|
style="width: 200px"
|
||||||
|
v-model="kqueryParams.kindergartenName"
|
||||||
|
placeholder="请输入幼儿园名称"
|
||||||
|
></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
|
||||||
|
<el-form-item>
|
||||||
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
icon="el-icon-search"
|
||||||
|
size="mini"
|
||||||
|
@click="kinhandleQuery"
|
||||||
|
>搜索</el-button
|
||||||
|
>
|
||||||
|
<el-button icon="el-icon-refresh" size="mini" @click="kinresetQuery"
|
||||||
|
>重置</el-button
|
||||||
|
>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
<el-table :data="kindergartenList" @cell-dblclick="kindergartenNameclick">
|
||||||
<el-table-column label="请选择" width="70" align="center">
|
<el-table-column label="请选择" width="70" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
@ -224,6 +274,34 @@
|
|||||||
append-to-body
|
append-to-body
|
||||||
:before-close="classcancel"
|
:before-close="classcancel"
|
||||||
>
|
>
|
||||||
|
<el-form
|
||||||
|
ref="queryForm"
|
||||||
|
size="small"
|
||||||
|
:inline="true"
|
||||||
|
v-show="showSearch"
|
||||||
|
label-width="110px"
|
||||||
|
>
|
||||||
|
<el-form-item label="班级名称" prop="className">
|
||||||
|
<el-input
|
||||||
|
style="width: 200px"
|
||||||
|
v-model="classqueryParams.className"
|
||||||
|
placeholder="请输入班级名称"
|
||||||
|
></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
|
||||||
|
<el-form-item>
|
||||||
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
icon="el-icon-search"
|
||||||
|
size="mini"
|
||||||
|
@click="classhandleQuery"
|
||||||
|
>搜索</el-button
|
||||||
|
>
|
||||||
|
<el-button icon="el-icon-refresh" size="mini" @click="classresetQuery"
|
||||||
|
>重置</el-button
|
||||||
|
>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
<el-table
|
<el-table
|
||||||
:data="classinfoList"
|
:data="classinfoList"
|
||||||
align="center"
|
align="center"
|
||||||
@ -440,7 +518,8 @@ export default {
|
|||||||
//学生ID
|
//学生ID
|
||||||
studentId: "",
|
studentId: "",
|
||||||
//批次名称
|
//批次名称
|
||||||
batchCode: "请选择批次",
|
batchCode: "",
|
||||||
|
batchName: "请选择批次",
|
||||||
//批次list
|
//批次list
|
||||||
testScorelist: [],
|
testScorelist: [],
|
||||||
//学生基本信息
|
//学生基本信息
|
||||||
@ -458,13 +537,72 @@ export default {
|
|||||||
this.onshow();
|
this.onshow();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
//班级
|
||||||
|
classresetQuery() {
|
||||||
|
this.classqueryParams.className = "";
|
||||||
|
this.classinfo();
|
||||||
|
},
|
||||||
|
classhandleQuery() {
|
||||||
|
this.classinfo();
|
||||||
|
},
|
||||||
|
|
||||||
|
//幼儿园
|
||||||
|
kinresetQuery() {
|
||||||
|
this.kqueryParams = {
|
||||||
|
pageNum: 1,
|
||||||
|
pageSize: 10,
|
||||||
|
organizeId: null,
|
||||||
|
kindergartenName: null,
|
||||||
|
kindergartenAddress: null,
|
||||||
|
kindergartenType: null,
|
||||||
|
phone: null,
|
||||||
|
contacts: null,
|
||||||
|
};
|
||||||
|
this.kinhandleQuery();
|
||||||
|
},
|
||||||
|
kinhandleQuery() {
|
||||||
|
listKindergartenInfo(this.kqueryParams).then((response) => {
|
||||||
|
this.kindergartenList = response.rows;
|
||||||
|
this.total1 = response.total;
|
||||||
|
// console.log(this.kindergartenList);
|
||||||
|
});
|
||||||
|
},
|
||||||
|
//重置学生搜素
|
||||||
|
resetQuery() {
|
||||||
|
this.kindergartenName = "请选择幼儿园";
|
||||||
|
this.kindergartenId = "";
|
||||||
|
this.className = "请选择班级";
|
||||||
|
this.classId = "";
|
||||||
|
this.studentname = "请选择学生";
|
||||||
|
this.studentId = "";
|
||||||
|
this.studentqueryParams = {
|
||||||
|
pageNum: 1,
|
||||||
|
pageSize: 10,
|
||||||
|
classId: "",
|
||||||
|
nationDictId: null,
|
||||||
|
studentName: null,
|
||||||
|
studentSex: null,
|
||||||
|
studentNumber: null,
|
||||||
|
birthDate: null,
|
||||||
|
cardNumber: null,
|
||||||
|
onceName: null,
|
||||||
|
homeAddress: null,
|
||||||
|
kindergartenId: null,
|
||||||
|
};
|
||||||
|
this.studentlist();
|
||||||
|
},
|
||||||
|
//学生搜索
|
||||||
|
handleQuery() {
|
||||||
|
this.studentlist();
|
||||||
|
},
|
||||||
onshow() {
|
onshow() {
|
||||||
this.batchCode = localStorage.getItem("batchCode");
|
this.batchCode = localStorage.getItem("batchCode");
|
||||||
this.studentId = localStorage.getItem("studentId");
|
this.studentId = localStorage.getItem("studentId");
|
||||||
|
this.batchName = localStorage.getItem("batchName");
|
||||||
console.log(localStorage.getItem("studentname"));
|
console.log(localStorage.getItem("studentname"));
|
||||||
|
|
||||||
if (localStorage.getItem("batchCode") == null) {
|
if (localStorage.getItem("batchCode") == null) {
|
||||||
this.batchCode = "请选择批次";
|
this.batchName = "请选择批次";
|
||||||
} else {
|
} else {
|
||||||
this.batchCode = localStorage.getItem("batchCode");
|
this.batchCode = localStorage.getItem("batchCode");
|
||||||
}
|
}
|
||||||
@ -491,8 +629,10 @@ export default {
|
|||||||
batchCodeclick(row) {
|
batchCodeclick(row) {
|
||||||
console.log(row);
|
console.log(row);
|
||||||
this.batchCode = row.batchCode;
|
this.batchCode = row.batchCode;
|
||||||
|
this.batchName = row.batchName;
|
||||||
this.batchCodeshow = false;
|
this.batchCodeshow = false;
|
||||||
localStorage.setItem("batchCode", this.batchCode);
|
localStorage.setItem("batchCode", this.batchCode);
|
||||||
|
localStorage.setItem("batchName", this.batchName);
|
||||||
if (this.studentId != "") {
|
if (this.studentId != "") {
|
||||||
this.$emit("itemlist", this.studentId, this.batchCode);
|
this.$emit("itemlist", this.studentId, this.batchCode);
|
||||||
}
|
}
|
||||||
@ -571,7 +711,6 @@ export default {
|
|||||||
this.classshow = false;
|
this.classshow = false;
|
||||||
this.studentname = "请选择学生";
|
this.studentname = "请选择学生";
|
||||||
this.studentId = "";
|
this.studentId = "";
|
||||||
this.studentlist();
|
|
||||||
},
|
},
|
||||||
//幼儿园左侧点击
|
//幼儿园左侧点击
|
||||||
kindergartenNameclick(row) {
|
kindergartenNameclick(row) {
|
||||||
@ -618,7 +757,6 @@ export default {
|
|||||||
console.log(1, this.kindergartenName);
|
console.log(1, this.kindergartenName);
|
||||||
return;
|
return;
|
||||||
} else if (user.includes("parent")) {
|
} else if (user.includes("parent")) {
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@ -28,85 +28,62 @@
|
|||||||
@queryTable="getList"
|
@queryTable="getList"
|
||||||
></right-toolbar>
|
></right-toolbar>
|
||||||
</el-row>
|
</el-row>
|
||||||
<div v-if="itemshow" style="width:1361px;margin: 10px auto">
|
<el-row :gutter="24">
|
||||||
<el-table
|
<div v-if="itemshow" style="margin: 10px auto; width: 100%">
|
||||||
:data="actionlist"
|
<el-table
|
||||||
border
|
:data="actionlist"
|
||||||
:span-method="arraySpanMethod"
|
border
|
||||||
style="width:100%"
|
:span-method="arraySpanMethod"
|
||||||
>
|
style="width: 95%; margin: 0 auto"
|
||||||
<el-table-column
|
|
||||||
prop="categoryName"
|
|
||||||
label="测试分类"
|
|
||||||
width="140"
|
|
||||||
align="center"
|
|
||||||
>
|
>
|
||||||
</el-table-column>
|
<el-table-column prop="categoryName" label="测试分类" align="center">
|
||||||
<el-table-column
|
</el-table-column>
|
||||||
prop="itemName"
|
<el-table-column prop="itemName" label="测试项目" align="center">
|
||||||
label="测试项目"
|
</el-table-column>
|
||||||
width="135"
|
<el-table-column
|
||||||
align="center"
|
prop="itemFraction"
|
||||||
>
|
label="动作技能总分"
|
||||||
</el-table-column>
|
align="center"
|
||||||
<el-table-column
|
>
|
||||||
prop="itemFraction"
|
</el-table-column>
|
||||||
label="动作技能总分"
|
<el-table-column
|
||||||
width="115"
|
prop="unifiedStandardScore"
|
||||||
align="center"
|
label="统一最高得分"
|
||||||
>
|
align="center"
|
||||||
</el-table-column>
|
>
|
||||||
<el-table-column
|
</el-table-column>
|
||||||
prop="unifiedStandardScore"
|
<el-table-column
|
||||||
label="统一最高得分"
|
prop="smallStandardScore"
|
||||||
width="115"
|
label="小班最高得分"
|
||||||
align="center"
|
align="center"
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="smallStandardScore"
|
prop="middleStandardScore"
|
||||||
label="小班最高得分"
|
label="中班最高得分"
|
||||||
width="115"
|
align="center"
|
||||||
align="center"
|
>
|
||||||
>
|
</el-table-column>
|
||||||
</el-table-column>
|
<el-table-column
|
||||||
<el-table-column
|
prop="largeStandardScore"
|
||||||
prop="middleStandardScore"
|
label="大班最高得分"
|
||||||
label="中班最高得分"
|
align="center"
|
||||||
width="115"
|
>
|
||||||
align="center"
|
</el-table-column>
|
||||||
>
|
<el-table-column prop="itemScoreAll" label="综合得分" align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="largeStandardScore"
|
prop="syntheticalAssess"
|
||||||
label="大班最高得分"
|
label="综合评价"
|
||||||
width="115"
|
align="center"
|
||||||
align="center"
|
>
|
||||||
>
|
</el-table-column>
|
||||||
</el-table-column>
|
<el-table-column prop="remark" label="测试目的" align="center">
|
||||||
<el-table-column
|
</el-table-column>
|
||||||
prop="itemScoreAll"
|
</el-table>
|
||||||
label="综合得分"
|
</div>
|
||||||
width="160"
|
</el-row>
|
||||||
align="center"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="syntheticalAssess"
|
|
||||||
label="综合评价"
|
|
||||||
width="170"
|
|
||||||
align="center"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="remark"
|
|
||||||
label="测试目的"
|
|
||||||
width="180"
|
|
||||||
align="center"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
</el-table>
|
|
||||||
</div>
|
|
||||||
<el-row :gutter="20" v-if="itemshow2">
|
<el-row :gutter="20" v-if="itemshow2">
|
||||||
<el-col :span="24" :offset="0">
|
<el-col :span="24" :offset="0">
|
||||||
<el-card>
|
<el-card>
|
||||||
|
|||||||
@ -127,21 +127,22 @@
|
|||||||
|
|
||||||
<el-row v-show="itemshow">
|
<el-row v-show="itemshow">
|
||||||
<el-col :span="24" :offset="0">
|
<el-col :span="24" :offset="0">
|
||||||
<div style="margin: 0 auto">
|
<div style="margin: 0 autu; font-size: 14px">
|
||||||
<div
|
<div
|
||||||
style="
|
style="
|
||||||
|
line-height: 60px;
|
||||||
display: flex;
|
display: flex;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
color: #fff;
|
color: black;
|
||||||
|
font-weight:550;
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
style="
|
style="
|
||||||
width: 120px;
|
width: 120px;
|
||||||
line-height: 60px;
|
|
||||||
border: 1px solid #f0f0f0;
|
border: 1px solid #f0f0f0;
|
||||||
background: #3c9299;
|
background: #F5F7FA;
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
年龄
|
年龄
|
||||||
@ -149,9 +150,8 @@
|
|||||||
<div
|
<div
|
||||||
style="
|
style="
|
||||||
width: 120px;
|
width: 120px;
|
||||||
line-height: 60px;
|
|
||||||
border: 1px solid #f0f0f0;
|
border: 1px solid #f0f0f0;
|
||||||
background: #3c9299;
|
background: #F5F7FA;
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
平均总分
|
平均总分
|
||||||
@ -162,7 +162,7 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
border: 1px solid #f0f0f0;
|
border: 1px solid #f0f0f0;
|
||||||
background: #3c9299;
|
background: #F5F7FA;
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
{{ item.parentName }}
|
{{ item.parentName }}
|
||||||
@ -172,8 +172,8 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
border: 1px solid #f0f0f0;
|
border: 1px solid #f0f0f0;
|
||||||
background: #3c9299;
|
background: #F5F7FA;
|
||||||
font-size: 14px;
|
font-size: 12px;
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
@ -186,28 +186,26 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="font-size:15px">
|
<div style="font-size: 14px">
|
||||||
<div
|
<div
|
||||||
style="text-align: center; display: flex; justify-content: center"
|
style="
|
||||||
|
text-align: center;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
line-height: 50px;
|
||||||
|
"
|
||||||
v-for="item in categoryScoreList"
|
v-for="item in categoryScoreList"
|
||||||
:key="item.prentId"
|
:key="item.prentId"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
style="
|
style="
|
||||||
width: 120px;
|
width: 120px;
|
||||||
line-height: 60px;
|
|
||||||
border: 1px solid #f0f0f0;
|
border: 1px solid #f0f0f0;
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
{{ item.className }}
|
{{ item.className }}
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div style="width: 120px; border: 1px solid #f0f0f0">
|
||||||
style="
|
|
||||||
width: 120px;
|
|
||||||
line-height: 60px;
|
|
||||||
border: 1px solid #f0f0f0;
|
|
||||||
"
|
|
||||||
>
|
|
||||||
{{ item.totalAvScore }}
|
{{ item.totalAvScore }}
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<el-form
|
<el-form
|
||||||
ref="queryForm"
|
ref="queryForm"
|
||||||
@ -109,22 +109,26 @@
|
|||||||
<div
|
<div
|
||||||
ref="chart"
|
ref="chart"
|
||||||
id="chart"
|
id="chart"
|
||||||
style="width: 1000px; height: 600px; margin: 0 auto"
|
style="width: 600px; height: 600px; margin: 0 auto"
|
||||||
></div>
|
></div>
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="24" :offset="0">
|
<el-col :span="24" :offset="0">
|
||||||
<div style="margin: 0 auto">
|
<div style="margin: 0 auto">
|
||||||
<div
|
<div
|
||||||
style="display: flex; text-align: center; justify-content: center"
|
style="
|
||||||
|
display: flex;
|
||||||
|
text-align: center;
|
||||||
|
justify-content: center;
|
||||||
|
color: black;
|
||||||
|
"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
style="
|
style="
|
||||||
width: 120px;
|
width: 120px;
|
||||||
line-height: 60px;
|
line-height: 60px;
|
||||||
border: 1px solid #f0f0f0;
|
border: 1px solid #f0f0f0;
|
||||||
background: #27848b;
|
background: #f5f7fa;
|
||||||
color: #fff;
|
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
年龄
|
年龄
|
||||||
@ -134,8 +138,8 @@
|
|||||||
width: 120px;
|
width: 120px;
|
||||||
line-height: 60px;
|
line-height: 60px;
|
||||||
border: 1px solid #f0f0f0;
|
border: 1px solid #f0f0f0;
|
||||||
background: #27848b;
|
background: #f5f7fa;
|
||||||
color: #fff;
|
color: black;
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
平均总分
|
平均总分
|
||||||
@ -146,8 +150,8 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
border: 1px solid #f0f0f0;
|
border: 1px solid #f0f0f0;
|
||||||
background: #27848b;
|
background: #f5f7fa;
|
||||||
color: #fff;
|
color: black;
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
{{ item.parentName }}
|
{{ item.parentName }}
|
||||||
@ -157,8 +161,8 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
border: 1px solid #f0f0f0;
|
border: 1px solid #f0f0f0;
|
||||||
background: #27848b;
|
background: #f5f7fa;
|
||||||
color: #fff;
|
color: black;
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
@ -173,14 +177,19 @@
|
|||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div
|
<div
|
||||||
style="text-align: center; display: flex; justify-content: center"
|
style="
|
||||||
|
text-align: center;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
font-size: 14px;
|
||||||
|
"
|
||||||
v-for="item in categoryAgeFractionList"
|
v-for="item in categoryAgeFractionList"
|
||||||
:key="item.prentId"
|
:key="item.prentId"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
style="
|
style="
|
||||||
width: 120px;
|
width: 120px;
|
||||||
line-height: 60px;
|
line-height: 50px;
|
||||||
border: 1px solid #f0f0f0;
|
border: 1px solid #f0f0f0;
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
@ -189,14 +198,14 @@
|
|||||||
<div
|
<div
|
||||||
style="
|
style="
|
||||||
width: 120px;
|
width: 120px;
|
||||||
line-height: 60px;
|
line-height: 50px;
|
||||||
border: 1px solid #f0f0f0;
|
border: 1px solid #f0f0f0;
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
{{ item.totalAvgFraction }}
|
{{ item.totalAvgFraction }}
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div style="display: flex; line-height: 60px">
|
<div style="display: flex; line-height: 50px">
|
||||||
<div
|
<div
|
||||||
v-for="uitem in item.list"
|
v-for="uitem in item.list"
|
||||||
:key="uitem.categoryId"
|
:key="uitem.categoryId"
|
||||||
@ -280,10 +289,10 @@ export default {
|
|||||||
kinbatlist(kin, batchCode) {
|
kinbatlist(kin, batchCode) {
|
||||||
console.log(kin);
|
console.log(kin);
|
||||||
var a = kin;
|
var a = kin;
|
||||||
console.log(a)
|
console.log(a);
|
||||||
this.analysisqueryParams.kindergartenId = a;
|
this.analysisqueryParams.kindergartenId = a;
|
||||||
this.analysisqueryParams.batchCode = batchCode;
|
this.analysisqueryParams.batchCode = batchCode;
|
||||||
console.log(this.analysisqueryParams)
|
console.log(this.analysisqueryParams);
|
||||||
},
|
},
|
||||||
|
|
||||||
analysisinfo() {
|
analysisinfo() {
|
||||||
@ -442,7 +451,7 @@ export default {
|
|||||||
/* width: 70%; */
|
/* width: 70%; */
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
/* background-color: #f0f0f0; */
|
/* background-color: #f0f0f0; */
|
||||||
color: #27848B;
|
color: #27848b;
|
||||||
}
|
}
|
||||||
::v-deep .el-form {
|
::v-deep .el-form {
|
||||||
display: inline;
|
display: inline;
|
||||||
|
|||||||
@ -32,9 +32,7 @@
|
|||||||
class="box-card"
|
class="box-card"
|
||||||
style="width: 95%; margin: 0 auto"
|
style="width: 95%; margin: 0 auto"
|
||||||
>
|
>
|
||||||
<div slot="header" style="text-align: center; ">
|
<div slot="header" style="text-align: center">身体素质测试</div>
|
||||||
身体素质测试
|
|
||||||
</div>
|
|
||||||
<el-row style="text-align: center">
|
<el-row style="text-align: center">
|
||||||
<el-col
|
<el-col
|
||||||
:span="5"
|
:span="5"
|
||||||
@ -141,10 +139,15 @@
|
|||||||
left: 75%;
|
left: 75%;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
width: 32px;
|
width: 40px;
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
{{ ((item.maxScore - item.minScore) / 5) * 4 + item.minScore }}
|
{{
|
||||||
|
(
|
||||||
|
((item.maxScore - item.minScore) / 5) * 4 +
|
||||||
|
item.minScore
|
||||||
|
).toFixed(1)
|
||||||
|
}}
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
style="
|
style="
|
||||||
@ -163,10 +166,15 @@
|
|||||||
left: 55%;
|
left: 55%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
width: 32px;
|
width: 40px;
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
{{ ((item.maxScore - item.minScore) / 5) * 3 + item.minScore }}
|
{{
|
||||||
|
(
|
||||||
|
((item.maxScore - item.minScore) / 5) * 3 +
|
||||||
|
item.minScore
|
||||||
|
).toFixed(1)
|
||||||
|
}}
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
style="
|
style="
|
||||||
@ -185,10 +193,15 @@
|
|||||||
left: 35%;
|
left: 35%;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
width: 32px;
|
width: 40px;
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
{{ ((item.maxScore - item.minScore) / 5) * 2 + item.minScore }}
|
{{
|
||||||
|
(
|
||||||
|
((item.maxScore - item.minScore) / 5) * 2 +
|
||||||
|
item.minScore
|
||||||
|
).toFixed(1)
|
||||||
|
}}
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
style="
|
style="
|
||||||
@ -208,10 +221,15 @@
|
|||||||
left: 15%;
|
left: 15%;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
width: 32px;
|
width: 40px;
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
{{ ((item.maxScore - item.minScore) / 5) * 1 + item.minScore }}
|
{{
|
||||||
|
(
|
||||||
|
((item.maxScore - item.minScore) / 5) * 1 +
|
||||||
|
item.minScore
|
||||||
|
).toFixed(1)
|
||||||
|
}}
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
style="
|
style="
|
||||||
@ -421,7 +439,7 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
<style scoped='scss'>
|
<style scoped='scss'>
|
||||||
.text {
|
.text {
|
||||||
font-size:14px
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
.toptitle {
|
.toptitle {
|
||||||
height: 50px;
|
height: 50px;
|
||||||
|
|||||||
@ -1295,7 +1295,8 @@ export default {
|
|||||||
this.classinfoName = this.form.className;
|
this.classinfoName = this.form.className;
|
||||||
this.classinfoId = this.form.classId;
|
this.classinfoId = this.form.classId;
|
||||||
console.log(this.form);
|
console.log(this.form);
|
||||||
|
this.kindergartenName=response.data.kindergartenName
|
||||||
|
this.kindergartenid=response.data.kindergartenId
|
||||||
if (this.form.parentStudentInfoList == null) {
|
if (this.form.parentStudentInfoList == null) {
|
||||||
} else if (this.form.parentStudentInfoList.length == 0) {
|
} else if (this.form.parentStudentInfoList.length == 0) {
|
||||||
} else if (this.form.parentStudentInfoList.length == 1) {
|
} else if (this.form.parentStudentInfoList.length == 1) {
|
||||||
@ -1304,7 +1305,6 @@ export default {
|
|||||||
this.parentlist.push(this.form.parentStudentInfoList[0]);
|
this.parentlist.push(this.form.parentStudentInfoList[0]);
|
||||||
this.parentlist.push(this.form.parentStudentInfoList[1]);
|
this.parentlist.push(this.form.parentStudentInfoList[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.parentlist.length == 0) {
|
if (this.parentlist.length == 0) {
|
||||||
this.parentInfoName = "请选择学生家长";
|
this.parentInfoName = "请选择学生家长";
|
||||||
this.parentInfoId = "";
|
this.parentInfoId = "";
|
||||||
@ -1330,7 +1330,6 @@ export default {
|
|||||||
this.parent1 = this.parentlist[0].id;
|
this.parent1 = this.parentlist[0].id;
|
||||||
this.parent2 = this.parentlist[1].id;
|
this.parent2 = this.parentlist[1].id;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.tags.length == 0) {
|
if (this.tags.length == 0) {
|
||||||
this.parentInfoName = "请选择学生家长";
|
this.parentInfoName = "请选择学生家长";
|
||||||
this.parentInfoId = "";
|
this.parentInfoId = "";
|
||||||
@ -1340,7 +1339,6 @@ export default {
|
|||||||
console.log(this.tags);
|
console.log(this.tags);
|
||||||
console.log(this.form);
|
console.log(this.form);
|
||||||
console.log(this.parent1, this.parent2);
|
console.log(this.parent1, this.parent2);
|
||||||
|
|
||||||
// if (this.form.parentStudentInfoList.length == 0) {
|
// if (this.form.parentStudentInfoList.length == 0) {
|
||||||
// this.parentInfoName = "请选择学生家长";
|
// this.parentInfoName = "请选择学生家长";
|
||||||
// this.parentInfoId = "";
|
// this.parentInfoId = "";
|
||||||
@ -1381,7 +1379,6 @@ export default {
|
|||||||
// console.log(this.parent1, this.parent2);
|
// console.log(this.parent1, this.parent2);
|
||||||
console.log(this.form);
|
console.log(this.form);
|
||||||
console.log(this.form2);
|
console.log(this.form2);
|
||||||
|
|
||||||
this.open = true;
|
this.open = true;
|
||||||
this.title = "修改学生信息";
|
this.title = "修改学生信息";
|
||||||
});
|
});
|
||||||
@ -1720,6 +1717,8 @@ export default {
|
|||||||
this.getList();
|
this.getList();
|
||||||
this.parent1 = "";
|
this.parent1 = "";
|
||||||
this.parent2 = "";
|
this.parent2 = "";
|
||||||
|
this.kindergartenName='请选择所在幼儿园'
|
||||||
|
this.kindergartenid=''
|
||||||
this.parentlist = [];
|
this.parentlist = [];
|
||||||
this.tags = [];
|
this.tags = [];
|
||||||
});
|
});
|
||||||
|
|||||||
@ -489,10 +489,10 @@
|
|||||||
</el-table>
|
</el-table>
|
||||||
|
|
||||||
<pagination
|
<pagination
|
||||||
v-show="total > 0"
|
v-show="total2 > 0"
|
||||||
:total="total"
|
:total="total2"
|
||||||
:page.sync="queryParams.pageNum"
|
:page.sync="queryParams2.pageNum"
|
||||||
:limit.sync="queryParams.pageSize"
|
:limit.sync="queryParams2.pageSize"
|
||||||
@pagination="getList"
|
@pagination="getList"
|
||||||
/>
|
/>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
@ -511,7 +511,7 @@ import {
|
|||||||
import { tKindergartenInfo } from "@/api/system/kindergartenInfo";
|
import { tKindergartenInfo } from "@/api/system/kindergartenInfo";
|
||||||
import { listItemCategory } from "@/api/system/itemCategory";
|
import { listItemCategory } from "@/api/system/itemCategory";
|
||||||
import { listTestItems } from "@/api/system/testItems";
|
import { listTestItems } from "@/api/system/testItems";
|
||||||
import { listArea } from "@/api/system/area.js";
|
import { listCityInfo } from "@/api/system/area.js";
|
||||||
import Treeselect from "@riophae/vue-treeselect";
|
import Treeselect from "@riophae/vue-treeselect";
|
||||||
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
||||||
export default {
|
export default {
|
||||||
@ -630,6 +630,7 @@ export default {
|
|||||||
itemResultType: "item_result_type",
|
itemResultType: "item_result_type",
|
||||||
// 总条数
|
// 总条数
|
||||||
total: 0,
|
total: 0,
|
||||||
|
total2: 0,
|
||||||
// 全市平均成绩表格数据
|
// 全市平均成绩表格数据
|
||||||
testItemCityScoreList: [],
|
testItemCityScoreList: [],
|
||||||
//区域列表
|
//区域列表
|
||||||
@ -663,6 +664,7 @@ export default {
|
|||||||
itemName: null,
|
itemName: null,
|
||||||
itemCode: null,
|
itemCode: null,
|
||||||
},
|
},
|
||||||
|
queryParams3: {},
|
||||||
getItemCityScorelist: {
|
getItemCityScorelist: {
|
||||||
areaId: null,
|
areaId: null,
|
||||||
itemId: null,
|
itemId: null,
|
||||||
@ -721,10 +723,10 @@ export default {
|
|||||||
getItemCityScore() {
|
getItemCityScore() {
|
||||||
getItemCityScoreInfo(this.getItemCityScorelist).then((res) => {
|
getItemCityScoreInfo(this.getItemCityScorelist).then((res) => {
|
||||||
if (res.data) {
|
if (res.data) {
|
||||||
if (res.data.itemAvgScore == null) {
|
if (res.data.itemAvgScore == null||res.data.itemAvgScore == '') {
|
||||||
this.form.itemAvgText = res.data.itemAvgText;
|
this.form.itemAvgText = res.data.itemAvgText;
|
||||||
this.form.itemAvgScore = null;
|
this.form.itemAvgScore = null;
|
||||||
} else if (res.data.itemAvgText == null) {
|
} else if (res.data.itemAvgText == null||res.data.itemAvgText == '') {
|
||||||
this.form.itemAvgScore = res.data.itemAvgScore;
|
this.form.itemAvgScore = res.data.itemAvgScore;
|
||||||
this.form.itemAvgText = null;
|
this.form.itemAvgText = null;
|
||||||
}
|
}
|
||||||
@ -732,7 +734,6 @@ export default {
|
|||||||
this.form.itemAvgScore = null;
|
this.form.itemAvgScore = null;
|
||||||
this.form.itemAvgText = null;
|
this.form.itemAvgText = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(this.form);
|
console.log(this.form);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@ -791,7 +792,8 @@ export default {
|
|||||||
/** 查询全市平均成绩列表 */
|
/** 查询全市平均成绩列表 */
|
||||||
getList() {
|
getList() {
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
listArea(this.queryParams2).then((response) => {
|
listCityInfo().then((response) => {
|
||||||
|
console.log(response);
|
||||||
// this.areaList = response.data.forEach((e) => {
|
// this.areaList = response.data.forEach((e) => {
|
||||||
// e.code = Number(e.code);
|
// e.code = Number(e.code);
|
||||||
// });
|
// });
|
||||||
@ -807,6 +809,7 @@ export default {
|
|||||||
listTestItems(this.queryParams2).then((response) => {
|
listTestItems(this.queryParams2).then((response) => {
|
||||||
this.testItemsList = response.rows;
|
this.testItemsList = response.rows;
|
||||||
this.testItemsList2 = this.handleTree(response.rows);
|
this.testItemsList2 = this.handleTree(response.rows);
|
||||||
|
this.total2=response.total
|
||||||
// console.log(this.testItemsList);
|
// console.log(this.testItemsList);
|
||||||
});
|
});
|
||||||
listItemCategory(this.queryParams2).then((response) => {
|
listItemCategory(this.queryParams2).then((response) => {
|
||||||
|
|||||||
@ -885,7 +885,6 @@ export default {
|
|||||||
getTestItemCountryScore(id).then((response) => {
|
getTestItemCountryScore(id).then((response) => {
|
||||||
this.form = response.data;
|
this.form = response.data;
|
||||||
console.log(this.form);
|
console.log(this.form);
|
||||||
|
|
||||||
this.xmname = response.data.itemName;
|
this.xmname = response.data.itemName;
|
||||||
this.open2 = true;
|
this.open2 = true;
|
||||||
this.title = "修改全国平均成绩";
|
this.title = "修改全国平均成绩";
|
||||||
|
|||||||
@ -32,10 +32,10 @@
|
|||||||
@keyup.enter.native="handleQuery"
|
@keyup.enter.native="handleQuery"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="批次编号" prop="batchCode">
|
<el-form-item label="批次名称" prop="batchCode">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="queryParams.batchCode"
|
v-model="queryParams.batchName"
|
||||||
placeholder="请输入批次编号"
|
placeholder="请输入批次名称"
|
||||||
clearable
|
clearable
|
||||||
@keyup.enter.native="handleQuery"
|
@keyup.enter.native="handleQuery"
|
||||||
/>
|
/>
|
||||||
@ -74,7 +74,7 @@
|
|||||||
icon="el-icon-edit"
|
icon="el-icon-edit"
|
||||||
size="mini"
|
size="mini"
|
||||||
:disabled="single"
|
:disabled="single"
|
||||||
@click="handleUpdate"
|
@click="handleUpdate2"
|
||||||
v-hasPermi="['system:testItemScore:edit']"
|
v-hasPermi="['system:testItemScore:edit']"
|
||||||
>修改</el-button
|
>修改</el-button
|
||||||
>
|
>
|
||||||
@ -112,7 +112,6 @@
|
|||||||
v-loading="loading"
|
v-loading="loading"
|
||||||
:data="testItemScoreList"
|
:data="testItemScoreList"
|
||||||
@selection-change="handleSelectionChange"
|
@selection-change="handleSelectionChange"
|
||||||
@row-dblclick="seepraent"
|
|
||||||
ref="table"
|
ref="table"
|
||||||
>
|
>
|
||||||
<el-table-column type="selection" width="50" align="center" />
|
<el-table-column type="selection" width="50" align="center" />
|
||||||
@ -176,7 +175,7 @@
|
|||||||
<el-dialog
|
<el-dialog
|
||||||
:title="title"
|
:title="title"
|
||||||
:visible.sync="open"
|
:visible.sync="open"
|
||||||
width="1000px"
|
width="1300px"
|
||||||
append-to-body
|
append-to-body
|
||||||
:before-close="cancel"
|
:before-close="cancel"
|
||||||
>
|
>
|
||||||
@ -184,7 +183,7 @@
|
|||||||
ref="form"
|
ref="form"
|
||||||
:model="form"
|
:model="form"
|
||||||
:rules="rules"
|
:rules="rules"
|
||||||
label-width="110px"
|
label-width="105px"
|
||||||
:inline="true"
|
:inline="true"
|
||||||
>
|
>
|
||||||
<el-form-item label="所属幼儿园" prop="classId" v-if="form.id == ''">
|
<el-form-item label="所属幼儿园" prop="classId" v-if="form.id == ''">
|
||||||
@ -211,12 +210,20 @@
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
padding-left: -10px;
|
padding-left: -10px;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
"
|
"
|
||||||
>{{ kindergartenName }}</el-button
|
>{{ kindergartenName }}</el-button
|
||||||
>
|
>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item label="所属班级" prop="classId" v-if="form.id == ''">
|
<el-form-item
|
||||||
|
label="所属班级"
|
||||||
|
prop="classId"
|
||||||
|
v-if="form.id == ''"
|
||||||
|
label-width="90px"
|
||||||
|
>
|
||||||
<el-button
|
<el-button
|
||||||
type=""
|
type=""
|
||||||
@click="handleQuery2"
|
@click="handleQuery2"
|
||||||
@ -240,11 +247,19 @@
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
padding-left: -10px;
|
padding-left: -10px;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
"
|
"
|
||||||
>{{ xmname }}</el-button
|
>{{ xmname }}</el-button
|
||||||
>
|
>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="学生姓名" prop="studentId" v-if="form.id == null">
|
<el-form-item
|
||||||
|
label="学生姓名"
|
||||||
|
prop="studentId"
|
||||||
|
v-if="form.id == null"
|
||||||
|
label-width="90px"
|
||||||
|
>
|
||||||
<el-button
|
<el-button
|
||||||
disabled
|
disabled
|
||||||
type=""
|
type=""
|
||||||
@ -257,7 +272,12 @@
|
|||||||
>{{ stname }}</el-button
|
>{{ stname }}</el-button
|
||||||
>
|
>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="学生姓名" prop="studentId" v-else>
|
<el-form-item
|
||||||
|
label="学生姓名"
|
||||||
|
prop="studentId"
|
||||||
|
v-else
|
||||||
|
label-width="90px"
|
||||||
|
>
|
||||||
<el-button
|
<el-button
|
||||||
this.stname="row.studentName;"
|
this.stname="row.studentName;"
|
||||||
type=""
|
type=""
|
||||||
@ -286,7 +306,12 @@
|
|||||||
>{{ stname }}</el-button
|
>{{ stname }}</el-button
|
||||||
>
|
>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="批次编号" prop="batchCode" v-if="form.id == null">
|
<el-form-item
|
||||||
|
label="所属批次"
|
||||||
|
prop="batchCode"
|
||||||
|
v-if="form.id == null"
|
||||||
|
label-width="90px"
|
||||||
|
>
|
||||||
<el-button
|
<el-button
|
||||||
type=""
|
type=""
|
||||||
disabled
|
disabled
|
||||||
@ -299,7 +324,12 @@
|
|||||||
>{{ itemNumbername }}</el-button
|
>{{ itemNumbername }}</el-button
|
||||||
>
|
>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="批次编号" prop="batchCode" v-else>
|
<el-form-item
|
||||||
|
label="所属批次"
|
||||||
|
prop="batchCode"
|
||||||
|
v-else
|
||||||
|
label-width="90px"
|
||||||
|
>
|
||||||
<el-button
|
<el-button
|
||||||
this.itemNumbername="row.batchCode;"
|
this.itemNumbername="row.batchCode;"
|
||||||
type=""
|
type=""
|
||||||
@ -318,6 +348,146 @@
|
|||||||
type=""
|
type=""
|
||||||
@click="testclick"
|
@click="testclick"
|
||||||
v-else
|
v-else
|
||||||
|
style="
|
||||||
|
width: 200px;
|
||||||
|
text-align: left;
|
||||||
|
height: 36px;
|
||||||
|
padding-left: -10px;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
"
|
||||||
|
>{{ itemNumbername }}</el-button
|
||||||
|
>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
<el-table
|
||||||
|
ref="singleTable"
|
||||||
|
:data="form.itemScoreList"
|
||||||
|
style="width: 93%; margin: 20px auto"
|
||||||
|
>
|
||||||
|
<el-table-column
|
||||||
|
property="itemCode"
|
||||||
|
label="项目编号"
|
||||||
|
width="230"
|
||||||
|
align="center"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
property="itemName"
|
||||||
|
label="项目名称"
|
||||||
|
width="230"
|
||||||
|
align="center"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<!-- <el-table-column
|
||||||
|
property="scoreDictId"
|
||||||
|
label="字典类型"
|
||||||
|
align="center"
|
||||||
|
width="120"
|
||||||
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{
|
||||||
|
scope.row.scoreDictId == ResultType1.dictCode
|
||||||
|
? ResultType1.dictLabel
|
||||||
|
: ""
|
||||||
|
}}{{
|
||||||
|
scope.row.scoreDictId == ResultType2.dictCode
|
||||||
|
? ResultType2.dictLabel
|
||||||
|
: ""
|
||||||
|
}}</template
|
||||||
|
>
|
||||||
|
</el-table-column> -->
|
||||||
|
<el-table-column
|
||||||
|
property="itemScore"
|
||||||
|
label="个人成绩"
|
||||||
|
width="230"
|
||||||
|
align="center"
|
||||||
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-input
|
||||||
|
type="number"
|
||||||
|
v-model="scope.row.itemScore"
|
||||||
|
v-if="
|
||||||
|
scope.row.itemScore != null ||
|
||||||
|
scope.row.scoreDictId == ResultType1.dictCode
|
||||||
|
"
|
||||||
|
></el-input>
|
||||||
|
<el-input
|
||||||
|
v-model="scope.row.scoreDictValue"
|
||||||
|
v-if="
|
||||||
|
scope.row.scoreDictValue != null ||
|
||||||
|
scope.row.scoreDictId == ResultType2.dictCode
|
||||||
|
"
|
||||||
|
></el-input>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
property="itemFraction"
|
||||||
|
label="个人成绩得分"
|
||||||
|
width="230"
|
||||||
|
align="center"
|
||||||
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-input type="number" v-model="scope.row.itemFraction"></el-input>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
|
||||||
|
<el-table-column
|
||||||
|
property="syntheticalAssess"
|
||||||
|
label="综合评价"
|
||||||
|
width="230"
|
||||||
|
align="center"
|
||||||
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-input v-model="scope.row.syntheticalAssess"></el-input>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
|
||||||
|
<div slot="footer" class="dialog-footer">
|
||||||
|
<el-button type="primary" @click="submitForm">确 定</el-button>
|
||||||
|
<el-button @click="cancel">取 消</el-button>
|
||||||
|
</div>
|
||||||
|
</el-dialog>
|
||||||
|
<!-- //修改 -->
|
||||||
|
<el-dialog
|
||||||
|
:title="title"
|
||||||
|
:visible.sync="open2"
|
||||||
|
width="1000px"
|
||||||
|
append-to-body
|
||||||
|
:before-close="cancel"
|
||||||
|
>
|
||||||
|
<el-form
|
||||||
|
ref="form"
|
||||||
|
:model="form"
|
||||||
|
:rules="rules"
|
||||||
|
label-width="105px"
|
||||||
|
:inline="true"
|
||||||
|
>
|
||||||
|
<el-form-item label="学生姓名" prop="studentId" label-width="90px">
|
||||||
|
<el-button
|
||||||
|
disabled
|
||||||
|
type=""
|
||||||
|
style="
|
||||||
|
width: 200px;
|
||||||
|
text-align: left;
|
||||||
|
height: 36px;
|
||||||
|
padding-left: -10px;
|
||||||
|
"
|
||||||
|
>{{ stname }}</el-button
|
||||||
|
>
|
||||||
|
</el-form-item>
|
||||||
|
|
||||||
|
<el-form-item
|
||||||
|
label="所属批次"
|
||||||
|
prop="batchCode"
|
||||||
|
v-if="form.id == null"
|
||||||
|
label-width="90px"
|
||||||
|
>
|
||||||
|
<el-button
|
||||||
|
type=""
|
||||||
|
disabled
|
||||||
style="
|
style="
|
||||||
width: 200px;
|
width: 200px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
@ -417,7 +587,6 @@
|
|||||||
<el-button @click="cancel">取 消</el-button>
|
<el-button @click="cancel">取 消</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
<!-- //幼儿园 -->
|
<!-- //幼儿园 -->
|
||||||
<el-dialog
|
<el-dialog
|
||||||
width="850px"
|
width="850px"
|
||||||
@ -426,8 +595,37 @@
|
|||||||
append-to-body
|
append-to-body
|
||||||
:before-close="kindergartencancel"
|
:before-close="kindergartencancel"
|
||||||
>
|
>
|
||||||
<el-table :data="kindergartenList"
|
<el-form
|
||||||
@cell-dblclick="kindergartenNameclick">
|
:model="kqueryParams"
|
||||||
|
ref="queryForm"
|
||||||
|
size="small"
|
||||||
|
:inline="true"
|
||||||
|
v-show="showSearch"
|
||||||
|
label-width="100px"
|
||||||
|
>
|
||||||
|
<el-form-item label="幼儿园名称" prop="className">
|
||||||
|
<el-input
|
||||||
|
v-model="kqueryParams.kindergartenName"
|
||||||
|
placeholder="请输入幼儿园名称"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="kinhandleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item>
|
||||||
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
icon="el-icon-search"
|
||||||
|
size="mini"
|
||||||
|
@click="kinhandleQuery"
|
||||||
|
>搜索</el-button
|
||||||
|
>
|
||||||
|
<el-button icon="el-icon-refresh" size="mini" @click="kinresetQuery"
|
||||||
|
>重置</el-button
|
||||||
|
>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
|
||||||
|
<el-table :data="kindergartenList" @cell-dblclick="kindergartenNameclick">
|
||||||
<el-table-column label="请选择" width="70" align="center">
|
<el-table-column label="请选择" width="70" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
@ -488,7 +686,7 @@
|
|||||||
:total="total6"
|
:total="total6"
|
||||||
:page.sync="kqueryParams.pageNum"
|
:page.sync="kqueryParams.pageNum"
|
||||||
:limit.sync="kqueryParams.pageSize"
|
:limit.sync="kqueryParams.pageSize"
|
||||||
@pagination="getList"
|
@pagination="kininfo"
|
||||||
/>
|
/>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
@ -511,9 +709,9 @@
|
|||||||
<el-form-item label="班级名称" prop="className">
|
<el-form-item label="班级名称" prop="className">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="queryParams2.className"
|
v-model="queryParams2.className"
|
||||||
placeholder="请输入项目名称"
|
placeholder="请输入班级名称"
|
||||||
clearable
|
clearable
|
||||||
@keyup.enter.native="handleQuery"
|
@keyup.enter.native="handleQuery2"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
@ -524,12 +722,12 @@
|
|||||||
@click="handleQuery2"
|
@click="handleQuery2"
|
||||||
>搜索</el-button
|
>搜索</el-button
|
||||||
>
|
>
|
||||||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
|
<el-button icon="el-icon-refresh" size="mini" @click="classresetQuery"
|
||||||
>重置</el-button
|
>重置</el-button
|
||||||
>
|
>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<el-table :data="classInfos">
|
<el-table :data="classInfos" @cell-dblclick="xmclick">
|
||||||
<el-table-column label="请选择" width="70" align="center">
|
<el-table-column label="请选择" width="70" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
@ -625,7 +823,7 @@
|
|||||||
:total="total2"
|
:total="total2"
|
||||||
:page.sync="queryParams2.pageNum"
|
:page.sync="queryParams2.pageNum"
|
||||||
:limit.sync="queryParams2.pageSize"
|
:limit.sync="queryParams2.pageSize"
|
||||||
@pagination="getList"
|
@pagination="classinfo"
|
||||||
/>
|
/>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
@ -665,7 +863,7 @@
|
|||||||
>
|
>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<el-table :data="studentInfos">
|
<el-table :data="studentInfos" @cell-dblclick="studentclick">
|
||||||
<el-table-column label="请选择" width="70" align="center">
|
<el-table-column label="请选择" width="70" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
@ -781,7 +979,7 @@
|
|||||||
:total="total3"
|
:total="total3"
|
||||||
:page.sync="queryParams3.pageNum"
|
:page.sync="queryParams3.pageNum"
|
||||||
:limit.sync="queryParams3.pageSize"
|
:limit.sync="queryParams3.pageSize"
|
||||||
@pagination="getList"
|
@pagination="studentinfo"
|
||||||
/>
|
/>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
@ -789,7 +987,7 @@
|
|||||||
|
|
||||||
<el-dialog
|
<el-dialog
|
||||||
width="850px"
|
width="850px"
|
||||||
title="选择批次编号"
|
title="选择所属批次"
|
||||||
:visible.sync="innerVisible4"
|
:visible.sync="innerVisible4"
|
||||||
append-to-body
|
append-to-body
|
||||||
>
|
>
|
||||||
@ -809,6 +1007,14 @@
|
|||||||
@keyup.enter.native="handleQuery"
|
@keyup.enter.native="handleQuery"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="批次名称" prop="batchCode">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams5.batchName"
|
||||||
|
placeholder="请输入批次编号"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
@ -822,7 +1028,7 @@
|
|||||||
>
|
>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<el-table :data="testScoreBatchs">
|
<el-table :data="testScoreBatchs" @cell-dblclick="batchCodeclick">
|
||||||
<el-table-column label="请选择" width="70" align="center">
|
<el-table-column label="请选择" width="70" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
@ -1086,6 +1292,7 @@ export default {
|
|||||||
title: "",
|
title: "",
|
||||||
// 是否显示弹出层
|
// 是否显示弹出层
|
||||||
open: false,
|
open: false,
|
||||||
|
open2: false,
|
||||||
itemId2: "",
|
itemId2: "",
|
||||||
itemId3: "",
|
itemId3: "",
|
||||||
// 查询参数
|
// 查询参数
|
||||||
@ -1117,6 +1324,7 @@ export default {
|
|||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
batchCode: null,
|
batchCode: null,
|
||||||
|
batchName: "",
|
||||||
},
|
},
|
||||||
addqueryParams: {
|
addqueryParams: {
|
||||||
studentId: "",
|
studentId: "",
|
||||||
@ -1145,6 +1353,7 @@ export default {
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
testitems: [],
|
testitems: [],
|
||||||
|
selection2: {},
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
@ -1160,7 +1369,7 @@ export default {
|
|||||||
seepraent(row) {
|
seepraent(row) {
|
||||||
this.reset();
|
this.reset();
|
||||||
getAllTestItemScoreInfo(row).then((res) => {
|
getAllTestItemScoreInfo(row).then((res) => {
|
||||||
console.log(res)
|
console.log(res);
|
||||||
this.getAllTestItemScore = res.data;
|
this.getAllTestItemScore = res.data;
|
||||||
console.log(this.getAllTestItemScore);
|
console.log(this.getAllTestItemScore);
|
||||||
this.innerVisible5 = true;
|
this.innerVisible5 = true;
|
||||||
@ -1198,6 +1407,9 @@ export default {
|
|||||||
this.itemId2 = "";
|
this.itemId2 = "";
|
||||||
this.itemId3 = "";
|
this.itemId3 = "";
|
||||||
this.form.classId = null;
|
this.form.classId = null;
|
||||||
|
this.queryParams3.classId = "";
|
||||||
|
this.addqueryParams.studentId = "";
|
||||||
|
console.log(this.queryParams3);
|
||||||
this.form.studentId = null;
|
this.form.studentId = null;
|
||||||
},
|
},
|
||||||
//幼儿园关闭
|
//幼儿园关闭
|
||||||
@ -1216,7 +1428,9 @@ export default {
|
|||||||
this.queryParams3.classId = row.id;
|
this.queryParams3.classId = row.id;
|
||||||
this.stname = "请选择学生姓名";
|
this.stname = "请选择学生姓名";
|
||||||
this.itemId3 = "";
|
this.itemId3 = "";
|
||||||
|
this.addqueryParams.studentId = "";
|
||||||
this.form.studentId = null;
|
this.form.studentId = null;
|
||||||
|
console.log(this.addqueryParams);
|
||||||
},
|
},
|
||||||
//打开选择学生页面
|
//打开选择学生页面
|
||||||
studentinfoclick() {
|
studentinfoclick() {
|
||||||
@ -1290,6 +1504,7 @@ export default {
|
|||||||
// 取消按钮
|
// 取消按钮
|
||||||
cancel() {
|
cancel() {
|
||||||
this.open = false;
|
this.open = false;
|
||||||
|
this.open2 = false;
|
||||||
this.reset();
|
this.reset();
|
||||||
this.kindergartenName = "请选择幼儿园";
|
this.kindergartenName = "请选择幼儿园";
|
||||||
this.kindergartenId = "";
|
this.kindergartenId = "";
|
||||||
@ -1309,8 +1524,8 @@ export default {
|
|||||||
studentId: null,
|
studentId: null,
|
||||||
batchCode: null,
|
batchCode: null,
|
||||||
itemScoreList: [],
|
itemScoreList: [],
|
||||||
batchId:null,
|
batchId: null,
|
||||||
batchCode:null,
|
batchCode: null,
|
||||||
};
|
};
|
||||||
this.resetForm("form");
|
this.resetForm("form");
|
||||||
},
|
},
|
||||||
@ -1321,49 +1536,110 @@ export default {
|
|||||||
if (this.queryParams2.kindergartenId == "") {
|
if (this.queryParams2.kindergartenId == "") {
|
||||||
this.$message.error("请先选择幼儿园");
|
this.$message.error("请先选择幼儿园");
|
||||||
} else {
|
} else {
|
||||||
classInfo(this.queryParams2).then((response) => {
|
this.classinfo();
|
||||||
this.classInfos = response.rows;
|
this.innerVisible = true;
|
||||||
this.total = response.total;
|
this.loading = false;
|
||||||
this.loading = false;
|
|
||||||
this.innerVisible = true;
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 学生姓名
|
// 学生姓名
|
||||||
|
studentinfo() {
|
||||||
|
studentInfo(this.queryParams3).then((response) => {
|
||||||
|
this.studentInfos = response.rows;
|
||||||
|
this.total3 = response.total;
|
||||||
|
});
|
||||||
|
},
|
||||||
handleQuery3() {
|
handleQuery3() {
|
||||||
this.queryParams3.pageNum = 1;
|
this.queryParams3.pageNum = 1;
|
||||||
studentInfo(this.queryParams).then((response) => {
|
this.studentinfo();
|
||||||
this.studentInfo = response.rows;
|
this.loading = false;
|
||||||
this.total = response.total;
|
|
||||||
this.loading = false;
|
|
||||||
this.getList();
|
|
||||||
});
|
|
||||||
},
|
},
|
||||||
// 批次编号
|
// 批次编号
|
||||||
handleQuery5() {
|
handleQuery5() {
|
||||||
this.queryParams5.pageNum = 1;
|
this.queryParams5.pageNum = 1;
|
||||||
testScoreBatch(this.queryParams).then((response) => {
|
testScoreBatch(this.queryParams5).then((response) => {
|
||||||
this.testScoreBatch = response.rows;
|
this.testScoreBatchs = response.rows;
|
||||||
this.total = response.total;
|
this.total5 = response.total;
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
this.getList();
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
kinhandleQuery() {
|
||||||
|
listKindergartenInfo(this.kqueryParams).then((response) => {
|
||||||
|
this.kindergartenList = response.rows;
|
||||||
|
this.total6 = response.total;
|
||||||
|
});
|
||||||
|
},
|
||||||
|
|
||||||
handleQuery() {
|
handleQuery() {
|
||||||
this.queryParams.pageNum = 1;
|
this.queryParams.pageNum = 1;
|
||||||
this.getList();
|
listTestItemScore(this.queryParams).then((response) => {
|
||||||
|
this.testItemScoreList = response.rows;
|
||||||
|
this.total = response.total;
|
||||||
|
this.loading = false;
|
||||||
|
});
|
||||||
},
|
},
|
||||||
/** 重置按钮操作 */
|
/** 重置按钮操作 */
|
||||||
|
classinfo() {
|
||||||
|
classInfo(this.queryParams2).then((response) => {
|
||||||
|
this.classInfos = response.rows;
|
||||||
|
this.total2 = response.total;
|
||||||
|
this.queryParams3.studentName = null;
|
||||||
|
});
|
||||||
|
},
|
||||||
|
classresetQuery() {
|
||||||
|
this.queryParams2.className = null;
|
||||||
|
this.queryParams3.classId == "";
|
||||||
|
this.classinfo();
|
||||||
|
},
|
||||||
|
kininfo() {
|
||||||
|
listKindergartenInfo(this.kqueryParams).then((response) => {
|
||||||
|
this.kindergartenList = response.rows;
|
||||||
|
this.total6 = response.total;
|
||||||
|
});
|
||||||
|
},
|
||||||
|
kinresetQuery() {
|
||||||
|
this.kqueryParams.kindergartenName = "";
|
||||||
|
this.queryParams2.kindergartenId = "";
|
||||||
|
},
|
||||||
resetQuery() {
|
resetQuery() {
|
||||||
this.resetForm("queryForm");
|
this.resetForm("queryForm");
|
||||||
|
this.kqueryParams.kindergartenName = "";
|
||||||
|
// 班级
|
||||||
|
this.queryParams2.className = null;
|
||||||
|
// 学生姓名
|
||||||
|
this.queryParams5 = {
|
||||||
|
pageNum: 1,
|
||||||
|
pageSize: 10,
|
||||||
|
batchCode: null,
|
||||||
|
batchName: "",
|
||||||
|
};
|
||||||
|
this.queryParams = {
|
||||||
|
pageNum: 1,
|
||||||
|
pageSize: 10,
|
||||||
|
className: null,
|
||||||
|
studentName: null,
|
||||||
|
itemName: null,
|
||||||
|
batchCode: null,
|
||||||
|
};
|
||||||
this.handleQuery();
|
this.handleQuery();
|
||||||
this.queryParams.className = "";
|
|
||||||
|
studentInfo(this.queryParams3).then((response) => {
|
||||||
|
this.studentInfos = response.rows;
|
||||||
|
this.total3 = response.total;
|
||||||
|
});
|
||||||
},
|
},
|
||||||
// 多选框选中数据
|
// 多选框选中数据
|
||||||
handleSelectionChange(selection) {
|
handleSelectionChange(selection) {
|
||||||
this.ids = selection.map((item) => item.id);
|
this.ids = selection.map((item) => item.id);
|
||||||
this.single = selection.length !== 1;
|
this.single = selection.length !== 1;
|
||||||
this.multiple = !selection.length;
|
this.multiple = !selection.length;
|
||||||
|
if (selection.length == 1) {
|
||||||
|
console.log(selection.studentId);
|
||||||
|
selection.forEach((e) => {
|
||||||
|
this.selection2.studentId = e.studentId;
|
||||||
|
this.selection2.batchCode = e.batchCode;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
console.log(this.selection2);
|
||||||
},
|
},
|
||||||
/** 新增按钮操作 */
|
/** 新增按钮操作 */
|
||||||
handleAdd() {
|
handleAdd() {
|
||||||
@ -1374,6 +1650,21 @@ export default {
|
|||||||
this.title = "添加个人成绩录入管理";
|
this.title = "添加个人成绩录入管理";
|
||||||
},
|
},
|
||||||
/** 修改按钮操作 */
|
/** 修改按钮操作 */
|
||||||
|
handleUpdate2() {
|
||||||
|
this.reset();
|
||||||
|
getTestItemScore(this.selection2).then((response) => {
|
||||||
|
console.log();
|
||||||
|
this.form = response.data;
|
||||||
|
this.open2 = true;
|
||||||
|
this.queryParams3.classId = response.data.classId;
|
||||||
|
this.stname = response.data.studentName;
|
||||||
|
this.itemId3 = response.data.studentId;
|
||||||
|
this.addqueryParams.studentId = response.data.studentId;
|
||||||
|
this.itemNumbername = response.data.batchCode;
|
||||||
|
console.log(this.form);
|
||||||
|
});
|
||||||
|
},
|
||||||
|
|
||||||
handleUpdate(row) {
|
handleUpdate(row) {
|
||||||
this.reset();
|
this.reset();
|
||||||
const id = row.id || this.ids;
|
const id = row.id || this.ids;
|
||||||
@ -1382,10 +1673,11 @@ export default {
|
|||||||
batchCode: row.batchCode,
|
batchCode: row.batchCode,
|
||||||
};
|
};
|
||||||
this.form.itemScoreList = [];
|
this.form.itemScoreList = [];
|
||||||
|
console.log(list);
|
||||||
getTestItemScore(list).then((response) => {
|
getTestItemScore(list).then((response) => {
|
||||||
console.log();
|
console.log();
|
||||||
this.form = response.data;
|
this.form = response.data;
|
||||||
this.open = true;
|
this.open2 = true;
|
||||||
this.queryParams3.classId = response.data.classId;
|
this.queryParams3.classId = response.data.classId;
|
||||||
this.stname = response.data.studentName;
|
this.stname = response.data.studentName;
|
||||||
this.itemId3 = response.data.studentId;
|
this.itemId3 = response.data.studentId;
|
||||||
@ -1401,7 +1693,7 @@ export default {
|
|||||||
if (this.form.id == null) {
|
if (this.form.id == null) {
|
||||||
updateTestItemScore(this.form).then((response) => {
|
updateTestItemScore(this.form).then((response) => {
|
||||||
this.$modal.msgSuccess("修改成功");
|
this.$modal.msgSuccess("修改成功");
|
||||||
this.open = false;
|
this.open2 = false;
|
||||||
this.getList();
|
this.getList();
|
||||||
this.xmname = "请选择所属班级";
|
this.xmname = "请选择所属班级";
|
||||||
this.stname = "请选择学生姓名";
|
this.stname = "请选择学生姓名";
|
||||||
|
|||||||
@ -210,31 +210,77 @@
|
|||||||
label-width="160px"
|
label-width="160px"
|
||||||
:inline="true"
|
:inline="true"
|
||||||
>
|
>
|
||||||
<el-form-item label="所属分类" prop="itemCategoryId">
|
<div style="border-bottom: 1px solid #f1f1f1; margin-bottom: 20px">
|
||||||
<treeselect
|
<el-form-item label="所属分类" prop="itemCategoryId">
|
||||||
:normalizer="normalizer"
|
<treeselect
|
||||||
:options="itemCategoryList"
|
:normalizer="normalizer"
|
||||||
placeholder="请选择所属项目分类"
|
:options="itemCategoryList"
|
||||||
v-model="form.itemCategoryId"
|
placeholder="请选择所属项目分类"
|
||||||
style="width: 300px"
|
v-model="form.itemCategoryId"
|
||||||
/>
|
style="width: 300px"
|
||||||
</el-form-item>
|
/>
|
||||||
<el-form-item label="项目名称" prop="itemName">
|
</el-form-item>
|
||||||
<el-input
|
</div>
|
||||||
style="width: 300px"
|
<div style="border-bottom: 1px solid #f1f1f1; margin-bottom: 20px">
|
||||||
v-model="form.itemName"
|
<el-form-item label="项目名称" prop="itemName">
|
||||||
placeholder="请输入项目名称"
|
<el-input
|
||||||
maxlength="40"
|
style="width: 300px"
|
||||||
/>
|
v-model="form.itemName"
|
||||||
</el-form-item>
|
placeholder="请输入项目名称"
|
||||||
<el-form-item label="项目编号" prop="itemCode">
|
maxlength="40"
|
||||||
<el-input
|
/>
|
||||||
v-model="form.itemCode"
|
</el-form-item>
|
||||||
maxlength="20"
|
<el-form-item label="项目编号" prop="itemCode">
|
||||||
placeholder="请输入测试项目编号"
|
<el-input
|
||||||
style="width: 300px"
|
v-model="form.itemCode"
|
||||||
/>
|
maxlength="20"
|
||||||
</el-form-item>
|
placeholder="请输入测试项目编号"
|
||||||
|
style="width: 300px"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="测试项目成绩类型" prop="resultDictType">
|
||||||
|
<el-select
|
||||||
|
v-model="form.resultDictType"
|
||||||
|
clearable
|
||||||
|
placeholder="请选择字典类型"
|
||||||
|
style="width: 300px"
|
||||||
|
>
|
||||||
|
<el-option
|
||||||
|
v-for="item in itemResultTypelist"
|
||||||
|
:key="item.value"
|
||||||
|
:label="item.dictLabel"
|
||||||
|
:value="item.dictCode"
|
||||||
|
>
|
||||||
|
</el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="项目概述" prop="remark">
|
||||||
|
<el-input
|
||||||
|
v-model="form.remark"
|
||||||
|
placeholder="请输入项目概述"
|
||||||
|
style="width: 300px"
|
||||||
|
maxlength="200"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="项目内容" prop="itemContent">
|
||||||
|
<el-input
|
||||||
|
type="textarea"
|
||||||
|
:autosize="{ minRows: 6, maxRows: 8 }"
|
||||||
|
v-model.number="form.itemContent"
|
||||||
|
placeholder="项目内容"
|
||||||
|
maxlength="200"
|
||||||
|
style="width: 500px"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<!-- <editor
|
||||||
|
v-model="form.itemContent"
|
||||||
|
:min-height="190"
|
||||||
|
style="margin-left: 80px"
|
||||||
|
maxlength="200"
|
||||||
|
/> -->
|
||||||
|
</el-form-item>
|
||||||
|
</div>
|
||||||
|
|
||||||
<el-form-item label="排序" prop="sorting">
|
<el-form-item label="排序" prop="sorting">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="form.sorting"
|
v-model="form.sorting"
|
||||||
@ -243,22 +289,7 @@
|
|||||||
style="width: 300px"
|
style="width: 300px"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="测试项目成绩类型" prop="resultDictType">
|
|
||||||
<el-select
|
|
||||||
v-model="form.resultDictType"
|
|
||||||
clearable
|
|
||||||
placeholder="请选择字典类型"
|
|
||||||
style="width: 300px"
|
|
||||||
>
|
|
||||||
<el-option
|
|
||||||
v-for="item in itemResultTypelist"
|
|
||||||
:key="item.value"
|
|
||||||
:label="item.dictLabel"
|
|
||||||
:value="item.dictCode"
|
|
||||||
>
|
|
||||||
</el-option>
|
|
||||||
</el-select>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item label="度量单位" prop="measureUnit">
|
<el-form-item label="度量单位" prop="measureUnit">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="form.measureUnit"
|
v-model="form.measureUnit"
|
||||||
@ -293,9 +324,12 @@
|
|||||||
style="width: 300px"
|
style="width: 300px"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item label="标准最高得分类型" prop="standardType">
|
<el-form-item label="标准最高得分类型" prop="standardType">
|
||||||
<el-select
|
<el-radio-group v-model="form.standardType" style="width: 300px">
|
||||||
|
<el-radio :label="ty">统一指标</el-radio>
|
||||||
|
<el-radio :label="fty">非统一指标</el-radio>
|
||||||
|
</el-radio-group>
|
||||||
|
<!-- <el-select
|
||||||
v-model="form.standardType"
|
v-model="form.standardType"
|
||||||
clearable
|
clearable
|
||||||
placeholder="请选择指标类型"
|
placeholder="请选择指标类型"
|
||||||
@ -308,7 +342,7 @@
|
|||||||
:value="item.dictValue"
|
:value="item.dictValue"
|
||||||
>
|
>
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select> -->
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item
|
<el-form-item
|
||||||
label="大班标准最高得分"
|
label="大班标准最高得分"
|
||||||
@ -371,15 +405,7 @@
|
|||||||
maxlength="50"
|
maxlength="50"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="测试目的" prop="remark">
|
<el-form-item label="成绩级别" prop="itemLevelList">
|
||||||
<el-input
|
|
||||||
v-model="form.remark"
|
|
||||||
placeholder="请输入项目概述"
|
|
||||||
style="width: 300px"
|
|
||||||
maxlength="200"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item label="项目成绩级别" prop="itemLevelList">
|
|
||||||
<div
|
<div
|
||||||
v-for="(item, index) in form.itemLevelList"
|
v-for="(item, index) in form.itemLevelList"
|
||||||
:key="item.id"
|
:key="item.id"
|
||||||
@ -436,14 +462,6 @@
|
|||||||
></el-button>
|
></el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="项目内容" prop="itemContent">
|
|
||||||
<editor
|
|
||||||
v-model="form.itemContent"
|
|
||||||
:min-height="190"
|
|
||||||
style="margin-left: 80px"
|
|
||||||
maxlength="200"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
<div slot="footer" class="dialog-footer" style="margin-right: 80px">
|
<div slot="footer" class="dialog-footer" style="margin-right: 80px">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user