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" - >搜索搜索 重置