修改
This commit is contained in:
parent
0b3f31a23f
commit
ddc154b99e
@ -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() {
|
||||
|
||||
@ -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() {
|
||||
|
||||
@ -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() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user