修改bug

This commit is contained in:
曹辉 2022-09-19 12:41:33 +08:00
parent 4edca71cef
commit b948872c8a

View File

@ -472,7 +472,7 @@
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
type="primary" type="primary"
v-if="kindergartenid == scope.row.id" v-if="form.kindergartenId == scope.row.id"
style="width: 15px; height: 15px" style="width: 15px; height: 15px"
circle circle
@click="kindergartenNameclick(scope.row)" @click="kindergartenNameclick(scope.row)"
@ -1090,10 +1090,12 @@ export default {
message: "", message: "",
}, },
], ],
homeAddress:[ homeAddress: [
{ {
required: true, message: "请输入家庭住址", trigger: "blur" required: true,
} message: "请输入家庭住址",
trigger: "blur",
},
], ],
birthDate: [ birthDate: [
{ required: true, message: "请选择日期", trigger: "change" }, { required: true, message: "请选择日期", trigger: "change" },
@ -1287,7 +1289,7 @@ export default {
this.parentInfoId = ""; this.parentInfoId = "";
this.classinfoName = "请选择所属班级"; this.classinfoName = "请选择所属班级";
this.classinfoId = ""; this.classinfoId = "";
this.kindergartenName="请选择所在幼儿园"; this.kindergartenName = "请选择所在幼儿园";
this.open = true; this.open = true;
this.title = "添加学生信息"; this.title = "添加学生信息";
}, },
@ -1378,6 +1380,7 @@ export default {
this.form2.nationDictId = this.form.nationDictId; this.form2.nationDictId = this.form.nationDictId;
this.form2.studentName = this.form.studentName; this.form2.studentName = this.form.studentName;
this.form2.kindergartenId = this.form.kindergartenId; this.form2.kindergartenId = this.form.kindergartenId;
this.kindergartenName = this.form.kindergartenName;
this.form2.studentSex = this.form.studentSex; this.form2.studentSex = this.form.studentSex;
this.form2.studentNumber = this.form.studentNumber; this.form2.studentNumber = this.form.studentNumber;
this.form2.birthDate = this.form.birthDate; this.form2.birthDate = this.form.birthDate;
@ -1663,6 +1666,7 @@ export default {
listKindergartenInfo(this.kinqueryParams).then((response) => { listKindergartenInfo(this.kinqueryParams).then((response) => {
this.kindergartenInfoList = response.rows; this.kindergartenInfoList = response.rows;
this.kintotal = response.total; this.kintotal = response.total;
console.log(this.kindergartenInfoList);
}); });
}, },
@ -1731,7 +1735,6 @@ export default {
this.parent2 = ""; this.parent2 = "";
this.parentlist = []; this.parentlist = [];
this.tags = []; this.tags = [];
}); });
} }
} }