This commit is contained in:
曹辉 2023-04-19 10:06:47 +08:00
parent f0f3f14f5a
commit bc78f2d16b
2 changed files with 2 additions and 26 deletions

View File

@ -108,11 +108,9 @@ export default {
mounted() {},
created() {
this.getList();
this.onshow();
this.reset();
this.kindergartenId = this.iddnamelist.kindergartenId;
this.kindergartenName = this.iddnamelist.kindergartenName;
console.log(this.iddnamelist);
console.log(this.kindergartenId);
},
watch: {
iddnamelist: {
@ -124,10 +122,6 @@ export default {
}
},
methods: {
onshow() {
this.kindergartenName = "请选择幼儿园";
this.kindergartenId = "";
},
//
kindergartenNameclick(row) {
this.kindergartenName = row.kindergartenName;
@ -161,24 +155,6 @@ export default {
this.kinhandleQuery();
},
getList() {
//
// getRoleInfo().then(res => {
// var user = res.data.roleKeys;
// if (user.includes("enchou")) {
// return;
// } else if (user.includes("teacher")) {
// if (res.data != 999999) {
// this.kindergartenId = res.data.kindergartenId;
// this.kindergartenName = res.data.kindergartenName;
// this.$emit("kinbatlist", this.kindergartenId, 0);
// localStorage.setItem("kindergarName", res.data.kindergartenName);
// localStorage.setItem("kindergarId", res.data.kindergartenId);
// }
// return;
// } else if (user.includes("parent")) {
// return;
// }
// });
//list
listKindergartenInfo(this.kqueryParams).then(response => {
this.kindergartenList = response.rows;

View File

@ -794,7 +794,6 @@ export default {
this.roleOptions = response.roles;
this.form.postIds = response.postIds;
this.form.roleIds = response.roleIds;
this.open = true;
this.title = "修改用户";
this.form.password = "";
var obj = {};
@ -811,6 +810,7 @@ export default {
if (this.form.kindergartenId == "" || !this.form.kindergartenId) {
this.form.kindergartenNmae = "请选择幼儿园";
}
this.open = true;
});
},
/** 重置密码按钮操作 */