个人成绩
This commit is contained in:
parent
f9e6e79521
commit
9b1bb5d4ee
@ -123,7 +123,6 @@
|
||||
label="所属批次编号"
|
||||
align="center"
|
||||
prop="batchCode"
|
||||
|
||||
/>
|
||||
<el-table-column label="测试成绩" align="center" prop="itemScore">
|
||||
<template slot-scope="scope">
|
||||
@ -1225,8 +1224,6 @@ export default {
|
||||
{ required: true, message: "请输入测试成绩", trigger: "blur" },
|
||||
],
|
||||
|
||||
|
||||
|
||||
// itemScores: [
|
||||
// { required: true, message: "测试成绩不能为空", trigger: "blur" },
|
||||
// ],
|
||||
@ -1235,7 +1232,6 @@ export default {
|
||||
{ required: true, message: "综合评价不能为空", trigger: "blur" },
|
||||
]
|
||||
},
|
||||
|
||||
};
|
||||
},
|
||||
created() {
|
||||
@ -1504,10 +1500,13 @@ export default {
|
||||
// this.stname = row.studentName;
|
||||
// this.testname=row.itemName;
|
||||
// this.itemNumbername = row.batchCode;
|
||||
if(response.data.itemScore==''||response.data.itemScore==null){
|
||||
response.data.dictvalue='text';
|
||||
}else if(response.data.scoreDictValue==''||response.data.scoreDictValue==null){
|
||||
response.data.dictvalue='number';
|
||||
if (response.data.itemScore == "" || response.data.itemScore == null) {
|
||||
response.data.dictvalue = "text";
|
||||
} else if (
|
||||
response.data.scoreDictValue == "" ||
|
||||
response.data.scoreDictValue == null
|
||||
) {
|
||||
response.data.dictvalue = "number";
|
||||
}
|
||||
this.form = response.data;
|
||||
// this.form = response.className;
|
||||
@ -1519,7 +1518,6 @@ export default {
|
||||
},
|
||||
/** 提交按钮 */
|
||||
submitForm() {
|
||||
console.log("wwwwww")
|
||||
this.$refs["form"].validate((valid) => {
|
||||
if (valid) {
|
||||
if (this.form.id != null) {
|
||||
@ -1533,6 +1531,14 @@ export default {
|
||||
this.$modal.msgSuccess("新增成功");
|
||||
this.open = false;
|
||||
this.getList();
|
||||
this.xmname = "请选择所属班级";
|
||||
this.stname = "请选择学生姓名";
|
||||
this.testname = "请选择测试项目名称";
|
||||
this.itemNumbername = "请选择批次编号";
|
||||
this.itemId2 = "";
|
||||
this.itemId3 = "";
|
||||
this.itemId4 = "";
|
||||
this.itemId5 = "";
|
||||
});
|
||||
}
|
||||
}
|
||||
@ -1542,7 +1548,7 @@ export default {
|
||||
handleDelete(row) {
|
||||
const ids = row.id || this.ids;
|
||||
this.$modal
|
||||
.confirm('是否确认删除个人成绩录入管理编号为"' + ids + '"的数据项?')
|
||||
.confirm("是否确认删除个人成绩的数据项?")
|
||||
.then(function () {
|
||||
return delTestItemScore(ids);
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user