成绩评价
-
- {{ item.leveName }}
+
+ {{ item.scoreDictValue }}
{
@@ -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/teacherInfo/index.vue b/src/views/system/teacherInfo/index.vue
index a4e1cea..c9cabb7 100644
--- a/src/views/system/teacherInfo/index.vue
+++ b/src/views/system/teacherInfo/index.vue
@@ -9,7 +9,13 @@
label-width="68px"
>
-
+
{{ kindergartenName }}
-
+
-
+
-
+
@@ -302,7 +308,10 @@
-
+
-
+
@@ -494,21 +508,26 @@
>
- 选择完成
+ 选择完成
{
// 验证手机号的正则表达式
@@ -700,6 +719,7 @@ export default {
cardNo: "",
teacherPhone: "",
teacherSex: "",
+ kindergartenName: "",
},
queryParams2: {
pageNum: 1,
@@ -795,18 +815,20 @@ export default {
this.classinfoName = this.classinfoName.filter((e) => e.id != item.id);
},
classinfoclick(item) {
+ this.form.classInfoList = this.form.classInfoList.filter(
+ (e) => e != item.id
+ );
+ this.classinfoName = this.classinfoName.filter((e) => e.id != item.id);
this.form.classInfoList.push(item.id);
- // if (res.data.length > 1) {
- // this.classinfoName = res.data.map((e) => e.className).join(",");
- // } else if (res.data.length == 1) {
- // this.classinfoName = JSON.parse(res.data.map((e) => e.className));
- // }
+
if (Array.isArray(this.classinfoName)) {
this.classinfoName.push(item);
} else {
this.classinfoName = this.classinfoName.split(",");
this.classinfoName.push(item);
}
+ console.log(this.classinfoName);
+ console.log(this.form.classInfoList);
},
//教师班级
@@ -819,7 +841,6 @@ export default {
});
},
-
kindergartenNameclick(row) {
this.form.kindergartenId = row.id;
this.kindergartenid = row.id;
@@ -921,6 +942,16 @@ export default {
},
resetQuery1() {
this.resetForm("queryForm");
+ this.queryParams = {
+ pageNum: 1,
+ pageSize: 10,
+ kindergartenId: "", //幼儿园id
+ teacherName: "",
+ cardNo: "",
+ teacherPhone: "",
+ teacherSex: "",
+ kindergartenName: "",
+ };
this.handleQuery();
},
diff --git a/src/views/system/testItemCityScore/index.vue b/src/views/system/testItemCityScore/index.vue
index f0b2b5a..ddba69c 100644
--- a/src/views/system/testItemCityScore/index.vue
+++ b/src/views/system/testItemCityScore/index.vue
@@ -27,14 +27,14 @@
/>
-
+
-
+
{{ scope.row.dictValue == "number" ? scope.row.itemAvgScore : "" }}
{{ scope.row.dictValue == "text" ? scope.row.itemAvgText : "" }}
@@ -212,10 +217,10 @@
:required="true"
v-if="form.resultDictType == ''"
>
-
@@ -225,17 +230,24 @@
key="itemAvgScore"
prop="itemAvgScore"
>
-
+
-
+
@@ -936,6 +1042,7 @@ export default {
testItemss: [],
testScoreBatchs: [],
innerVisible4: false,
+ innerVisible5: false,
itemNumbername: "请选择批次编号",
//幼儿园查询参数
kqueryParams: {
@@ -973,6 +1080,8 @@ export default {
classInfos: [],
// 个人成绩录入管理表格数据
testItemScoreList: [],
+ //个人成绩查看
+ getAllTestItemScore: [],
// 弹出层标题
title: "",
// 是否显示弹出层
@@ -1043,6 +1152,36 @@ export default {
},
methods: {
+ handledbClick(row, event, column) {
+ // alert("我被双击了");
+ this.$refs.table.toggleRowSelection(row);
+
+ console.log(row, event, column);
+ },
+ // 查看个人信息
+ seepraent(row) {
+ this.reset();
+ // const row = row.id || this.ids;
+ getAllTestItemScoreInfo(row).then((res) => {
+ this.getAllTestItemScore = res.data;
+ // console.log(this.getAllTestItemScore);
+ this.innerVisible5 = true;
+ });
+ },
+
+
+ // seepraent(row) {
+ // getAllTestItemScoreInfo(row).then((res) => {
+ // console.log(res)
+ // this.form.getAllTestItemScore = [];
+ // // // console.log(this.addqueryParams);
+ // this.getAllTestItemScore = res.data.getAllTestItemScore;
+ // // console.log(this.form);
+ // // this.form.itemScoreList = res.data;
+ // // console.log(this.getAllTestItemScore);
+ // this.innerVisible5 = true;
+ // });
+ // },
testclick() {
if (this.addqueryParams.studentId == "") {
this.$message.error("请先选择学生");
@@ -1056,14 +1195,14 @@ export default {
return e.id != item.id;
});
},
- getAllTestItemScore() {
- this.form.itemScoreList = [];
- console.log(this.addqueryParams);
- getAllTestItemScoreInfo(this.addqueryParams).then((res) => {
- console.log(this.form);
- this.form.itemScoreList = res.data;
- });
- },
+ // getAllTestItemScore() {
+ // this.form.itemScoreList = [];
+ // console.log(this.addqueryParams);
+ // getAllTestItemScoreInfo(this.addqueryParams).then((res) => {
+ // console.log(this.form);
+ // this.form.itemScoreList = res.data;
+ // });
+ // },
//幼儿园左侧点击
kindergartenNameclick(row) {
this.queryParams2.kindergartenId = row.id;
@@ -1186,6 +1325,8 @@ export default {
studentId: null,
batchCode: null,
itemScoreList: [],
+ batchId:null,
+ batchCode:null,
};
this.resetForm("form");
},
diff --git a/src/views/system/testItems/index.vue b/src/views/system/testItems/index.vue
index 3b05176..bb678eb 100644
--- a/src/views/system/testItems/index.vue
+++ b/src/views/system/testItems/index.vue
@@ -18,7 +18,7 @@
:options="itemCategoryList"
placeholder="请选择所属项目"
v-model="queryParams.itemCategoryId"
- style="width: 300px"
+ style="width: 208px"
/>
@@ -224,6 +224,7 @@
style="width: 300px"
v-model="form.itemName"
placeholder="请输入项目名称"
+ maxlength="40"
/>
@@ -238,6 +239,7 @@
@@ -277,6 +279,7 @@
@@ -285,6 +288,7 @@
@@ -313,6 +317,7 @@
>
@@ -339,6 +345,7 @@
v-model="form.smallStandardScore"
type="text"
style="width: 300px"
+ maxlength="10"
placeholder="请输入小班标准最高得分"
/>
@@ -351,6 +358,7 @@
style="width: 300px"
v-model="form.unifiedStandardScore"
type="text"
+ maxlength="10"
placeholder="请输入统一标准最高得分"
/>
@@ -360,6 +368,7 @@
style="width: 300px"
v-model="form.levelDescription"
placeholder="请输入级别描述"
+ maxlength="50"
/>
@@ -367,6 +376,7 @@
v-model="form.remark"
placeholder="请输入项目概述"
style="width: 300px"
+ maxlength="200"
/>
@@ -378,15 +388,18 @@
@@ -428,6 +441,7 @@
v-model="form.itemContent"
:min-height="190"
style="margin-left: 80px"
+ maxlength="200"
/>
@@ -466,7 +480,7 @@ export default {
console.log(str2);
if (Number.isNaN(Number.parseFloat(value))) {
callback(new Error("请输入数字"));
- } else if (this.form.middleStandardScore * 1 > 99999999) {
+ } else if (this.form.middleStandardScore * 1 > 99999999) {
callback(new Error("最大99999999")); // 限制最大额度
} else if (str_ > 3) {
callback(new Error("小数点后两位")); // 限制最大额度
@@ -480,7 +494,7 @@ export default {
console.log(str2);
if (Number.isNaN(Number.parseFloat(value))) {
callback(new Error("请输入数字"));
- } else if (this.form.middleStandardScore * 1 > 99999999) {
+ } else if (this.form.middleStandardScore * 1 > 99999999) {
callback(new Error("最大99999999")); // 限制最大额度
} else if (str_ > 3) {
callback(new Error("小数点后两位")); // 限制最大额度
@@ -550,7 +564,7 @@ export default {
console.log(str2);
if (Number.isNaN(Number.parseFloat(value))) {
callback(new Error("请输入数字"));
- } else if (this.form.middleStandardScore * 1 > 99999999) {
+ } else if (this.form.middleStandardScore * 1 > 99999999) {
callback(new Error("最大99999999")); // 限制最大额度
} else if (str_ > 3) {
callback(new Error("小数点后两位")); // 限制最大额度
@@ -571,7 +585,7 @@ export default {
console.log(str2);
if (Number.isNaN(Number.parseFloat(value))) {
callback(new Error("请输入数字"));
- } else if (this.form.smallStandardScore * 1 > 99999999) {
+ } else if (this.form.smallStandardScore * 1 > 99999999) {
callback(new Error("最大99999999")); // 限制最大额度
} else if (str_ > 3) {
callback(new Error("小数点后两位")); // 限制最大额度
@@ -585,7 +599,7 @@ export default {
console.log(str2);
if (Number.isNaN(Number.parseFloat(value))) {
callback(new Error("请输入数字"));
- } else if (this.form.smallStandardScore * 1 > 99999999) {
+ } else if (this.form.smallStandardScore * 1 > 99999999) {
callback(new Error("最大99999999")); // 限制最大额度
} else if (str_ > 3) {
callback(new Error("小数点后两位")); // 限制最大额度
@@ -606,7 +620,7 @@ export default {
console.log(str2);
if (Number.isNaN(Number.parseFloat(value))) {
callback(new Error("请输入数字"));
- } else if (this.form.minScore * 1 > 99999999) {
+ } else if (this.form.minScore * 1 > 99999999) {
callback(new Error("最大99999999")); // 限制最大额度
} else if (str_ > 3) {
callback(new Error("小数点后两位")); // 限制最大额度
@@ -641,7 +655,7 @@ export default {
console.log(str2);
if (Number.isNaN(Number.parseFloat(value))) {
callback(new Error("请输入数字"));
- } else if (this.form.maxScore * 1 > 99999999) {
+ } else if (this.form.maxScore * 1 > 99999999) {
callback(new Error("最大99999999")); // 限制最大额度
} else if (str_ > 3) {
callback(new Error("小数点后两位")); // 限制最大额度
@@ -655,7 +669,7 @@ export default {
console.log(str2);
if (Number.isNaN(Number.parseFloat(value))) {
callback(new Error("请输入数字"));
- } else if (this.form.maxScore * 1 > 99999999) {
+ } else if (this.form.maxScore * 1 > 99999999) {
callback(new Error("最大99999999")); // 限制最大额度
} else if (str_ > 3) {
callback(new Error("小数点后两位")); // 限制最大额度
diff --git a/src/views/system/testScoreBatch/index.vue b/src/views/system/testScoreBatch/index.vue
index 9cddb1d..ddadbdb 100644
--- a/src/views/system/testScoreBatch/index.vue
+++ b/src/views/system/testScoreBatch/index.vue
@@ -99,11 +99,11 @@
-
+
-
-
+
@@ -412,21 +413,29 @@
>
- 选择完成
+
+
+ 选择完成
{
+ // console.log(res)
this.testItemss = res.rows;
this.total4 = res.total;
this.loading = false;
@@ -772,4 +782,4 @@ export default {
text-align: center;
border-radius: 4px;
}
-
\ No newline at end of file
+