This commit is contained in:
曹辉 2023-04-18 15:53:11 +08:00
parent 0b3f31a23f
commit ddc154b99e
3 changed files with 5 additions and 20 deletions

View File

@ -127,12 +127,7 @@ export default {
},
methods: {
onshow() {
// this.classId = localStorage.getItem("classId");
if (localStorage.getItem("className") == null) {
this.className = "请选择班级";
} else {
// this.className = localStorage.getItem("className");
}
this.className = "请选择班级";
this.$emit("classelist", this.classId);
},
//
@ -140,9 +135,7 @@ export default {
this.className = row.className;
this.classId = row.id;
this.classshow = false;
localStorage.setItem("className", this.className);
localStorage.setItem("classId", this.classId);
this.$emit("classelist", this.classId, 1);
this.$emit("classelist", this.classId);
},
//
classcancel() {

View File

@ -120,8 +120,7 @@ export default {
this.kindergartenName = row.kindergartenName;
this.kindergartenId = row.id;
this.kindergartenshow = false;
// localStorage.setItem("kindergarId", this.kindergartenId);
this.$emit("kinbatlist", this.kindergartenId, 1);
this.$emit("kinbatlist", this.kindergartenId);
},
//
kindergartencancel() {

View File

@ -109,12 +109,7 @@ export default {
},
methods: {
onshow() {
// this.parentId = localStorage.getItem("parentId");
if (localStorage.getItem("parentName") == null) {
this.parentName = "请选择家长";
} else {
// this.parentName = localStorage.getItem("parentName");
}
this.parentName = "请选择家长";
this.$emit("parentlist", this.parentId);
},
//
@ -122,9 +117,7 @@ export default {
this.parentName = row.parentName;
this.parentId = row.id;
this.parentshow = false;
localStorage.setItem("parentName", this.parentName);
// localStorage.setItem("parentId", this.parentId);
this.$emit("parentlist", this.parentId, 1);
this.$emit("parentlist", this.parentId);
},
//
parentcancel() {