修改
This commit is contained in:
parent
0b3f31a23f
commit
ddc154b99e
@ -127,12 +127,7 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
onshow() {
|
onshow() {
|
||||||
// this.classId = localStorage.getItem("classId");
|
this.className = "请选择班级";
|
||||||
if (localStorage.getItem("className") == null) {
|
|
||||||
this.className = "请选择班级";
|
|
||||||
} else {
|
|
||||||
// this.className = localStorage.getItem("className");
|
|
||||||
}
|
|
||||||
this.$emit("classelist", this.classId);
|
this.$emit("classelist", this.classId);
|
||||||
},
|
},
|
||||||
//班级左侧点击
|
//班级左侧点击
|
||||||
@ -140,9 +135,7 @@ export default {
|
|||||||
this.className = row.className;
|
this.className = row.className;
|
||||||
this.classId = row.id;
|
this.classId = row.id;
|
||||||
this.classshow = false;
|
this.classshow = false;
|
||||||
localStorage.setItem("className", this.className);
|
this.$emit("classelist", this.classId);
|
||||||
localStorage.setItem("classId", this.classId);
|
|
||||||
this.$emit("classelist", this.classId, 1);
|
|
||||||
},
|
},
|
||||||
//班级关闭
|
//班级关闭
|
||||||
classcancel() {
|
classcancel() {
|
||||||
|
|||||||
@ -120,8 +120,7 @@ export default {
|
|||||||
this.kindergartenName = row.kindergartenName;
|
this.kindergartenName = row.kindergartenName;
|
||||||
this.kindergartenId = row.id;
|
this.kindergartenId = row.id;
|
||||||
this.kindergartenshow = false;
|
this.kindergartenshow = false;
|
||||||
// localStorage.setItem("kindergarId", this.kindergartenId);
|
this.$emit("kinbatlist", this.kindergartenId);
|
||||||
this.$emit("kinbatlist", this.kindergartenId, 1);
|
|
||||||
},
|
},
|
||||||
//幼儿园关闭
|
//幼儿园关闭
|
||||||
kindergartencancel() {
|
kindergartencancel() {
|
||||||
|
|||||||
@ -109,12 +109,7 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
onshow() {
|
onshow() {
|
||||||
// this.parentId = localStorage.getItem("parentId");
|
this.parentName = "请选择家长";
|
||||||
if (localStorage.getItem("parentName") == null) {
|
|
||||||
this.parentName = "请选择家长";
|
|
||||||
} else {
|
|
||||||
// this.parentName = localStorage.getItem("parentName");
|
|
||||||
}
|
|
||||||
this.$emit("parentlist", this.parentId);
|
this.$emit("parentlist", this.parentId);
|
||||||
},
|
},
|
||||||
//家长左侧点击
|
//家长左侧点击
|
||||||
@ -122,9 +117,7 @@ export default {
|
|||||||
this.parentName = row.parentName;
|
this.parentName = row.parentName;
|
||||||
this.parentId = row.id;
|
this.parentId = row.id;
|
||||||
this.parentshow = false;
|
this.parentshow = false;
|
||||||
localStorage.setItem("parentName", this.parentName);
|
this.$emit("parentlist", this.parentId);
|
||||||
// localStorage.setItem("parentId", this.parentId);
|
|
||||||
this.$emit("parentlist", this.parentId, 1);
|
|
||||||
},
|
},
|
||||||
//家长关闭
|
//家长关闭
|
||||||
parentcancel() {
|
parentcancel() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user