From aaa26457dc8b85a14eee0df49dc461fbc863c014 Mon Sep 17 00:00:00 2001 From: shidongli Date: Tue, 30 Aug 2022 10:51:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E6=88=90=E7=BB=A9=E5=BD=95?= =?UTF-8?q?=E5=85=A5=20=E6=B7=BB=E5=8A=A0=E6=89=B9=E6=AC=A1=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=20=E5=AE=B6=E9=95=BF=E4=BF=A1=E6=81=AF=E7=AE=A1?= =?UTF-8?q?=E7=90=86=20=E6=96=B0=E5=A2=9E=E5=AE=B6=E9=95=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/parentInfo.js | 9 ++++++++- src/views/system/parentInfo/index.vue | 20 +++++++++++++++++++- src/views/system/testItemScore/index.vue | 8 ++++---- 3 files changed, 31 insertions(+), 6 deletions(-) diff --git a/src/api/system/parentInfo.js b/src/api/system/parentInfo.js index 88bca51..5571c7e 100644 --- a/src/api/system/parentInfo.js +++ b/src/api/system/parentInfo.js @@ -16,7 +16,14 @@ export function getParentInfo(id) { method: 'get' }) } - +//添加家长信息 +export function addParentInfo(data) { + return request({ + url: '/system/parentInfo/add', + method: 'post', + data: data + }) +} // 修改家长信息 export function updateParentInfo(data) { diff --git a/src/views/system/parentInfo/index.vue b/src/views/system/parentInfo/index.vue index 2db1a34..f937dde 100644 --- a/src/views/system/parentInfo/index.vue +++ b/src/views/system/parentInfo/index.vue @@ -38,8 +38,19 @@ > - + + + 新增 + { + this.$modal.msgSuccess("新增成功"); + this.open = false; + this.getList(); + }); } } }); diff --git a/src/views/system/testItemScore/index.vue b/src/views/system/testItemScore/index.vue index d9116bf..3d6f026 100644 --- a/src/views/system/testItemScore/index.vue +++ b/src/views/system/testItemScore/index.vue @@ -120,10 +120,10 @@ align="center" prop="batchCode" /> - + - + @@ -648,7 +648,7 @@ icon="el-icon-search" size="mini" @click="handleQuery3" - >搜索搜索 重置