From c7e25d671d93485af4a9ea253e9e5f4f06b84978 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Wed, 31 Aug 2022 14:25:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/studentInfo/index.vue | 801 +++++++++++++++---------- src/views/system/teacherInfo/index.vue | 21 +- 2 files changed, 513 insertions(+), 309 deletions(-) diff --git a/src/views/system/studentInfo/index.vue b/src/views/system/studentInfo/index.vue index 00eaeac..c4b7470 100644 --- a/src/views/system/studentInfo/index.vue +++ b/src/views/system/studentInfo/index.vue @@ -276,22 +276,36 @@ - + + + {{ kindergartenName }} + {{ kindergartenName }} + {{ classinfoName }} {{ classinfoName }} @@ -360,6 +376,7 @@ - + @@ -383,6 +405,7 @@ @@ -391,316 +414,429 @@ 确 定 取 消 - - - + + + - - - - - - - - - 搜索 - 重置 - 新增家长 - - + + + + + + + + 搜索 + 重置 + + - + + + + + - - - - - - - - - - - - - - - - - - 选择完成 - - - - - - - - - - - - - - - - - - - 搜索 - 重置 - - - - + - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - + + + + + + - - - - - - + + + + + + + + + + + + 搜索 + 重置 + 新增家长 + + + + + + + + + + + + + + + + + + + + + + 选择完成 + + + + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + { + this.classinfoList = response.rows; + this.total2 = response.total; + this.innerVisible = true; + // console.log(this.classinfoList); + }); + }, + kindergartenNameclick(row) { + this.form.kindergartenId = row.id; + this.kindergartenid = row.id; + this.kindergartenName = row.kindergartenName; + this.classinfoList2.kindergartenId = row.id; + this.kininnerVisible = false; + this.classinfoName = "请选择所属班级"; + this.classinfoId = ""; + // this.getclassinfo(); + console.log(this.form); + }, + cancel2() { this.innerVisible3 = false; this.addparentlist = { @@ -1378,6 +1556,8 @@ export default { this.parent2 = ""; this.classinfoName = "请选择所属班级"; this.classinfoId = ""; + this.kindergartenid = ""; + this.kindergartenName = "请选择所在幼儿园"; this.tags = []; console.log(this.tags); }, @@ -1408,6 +1588,7 @@ export default { cardNumber: null, onceName: null, homeAddress: null, + kindergartenId: null, }; this.resetForm("form"); }, @@ -1460,6 +1641,12 @@ export default { }; this.handleQuery3(); }, + kininfolist() { + listKindergartenInfo(this.kinqueryParams).then((response) => { + this.kindergartenInfoList = response.rows; + this.kintotal = response.total; + }); + }, /** 查询学生信息列表 */ getList() { @@ -1469,6 +1656,7 @@ export default { this.total2 = response.total; // console.log(this.classinfoList); }); + this.kininfolist(); tKindergartenInfo(this.nationType).then((res) => { this.nactionlist = res.data; // console.log(this.nactionlist); @@ -1500,7 +1688,6 @@ export default { /** 提交按钮 */ submitForm() { console.log(this.form); - console.log(this.form2); this.$refs["form"].validate((valid) => { if (valid) { if (this.form.id != null) { diff --git a/src/views/system/teacherInfo/index.vue b/src/views/system/teacherInfo/index.vue index 2a9f92d..ef18d8c 100644 --- a/src/views/system/teacherInfo/index.vue +++ b/src/views/system/teacherInfo/index.vue @@ -9,7 +9,13 @@ label-width="68px" > - +