diff --git a/.env.development b/.env.development index dd5ac82..2a72dbc 100644 --- a/.env.development +++ b/.env.development @@ -5,7 +5,7 @@ VUE_APP_TITLE = 幼儿园体质检测管理系统 ENV = 'development' # 若依管理系统/开发环境 -VUE_APP_BASE_API = 'http://192.168.16.81:8080' +VUE_APP_BASE_API = 'http://192.168.16.81:8081' #'/dev-api' # 路由懒加载 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/itemCategory/index.vue b/src/views/system/itemCategory/index.vue index 5ab9e6d..d4158dc 100644 --- a/src/views/system/itemCategory/index.vue +++ b/src/views/system/itemCategory/index.vue @@ -124,12 +124,13 @@ align="center" prop="categoryNameAbbreviate" /> - - + - - + + + - +