From 34268b85cae2153a5724ded6d67daa43231d7c84 Mon Sep 17 00:00:00 2001 From: paidaxing444 <12qwaszx> Date: Sat, 10 Oct 2020 15:50:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6=E5=B9=BC=E5=84=BF=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E5=92=8C=E7=B4=A7=E6=80=A5=E8=81=94=E7=B3=BB=E4=BA=BA?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/api/benyi/child.js | 106 +-- ruoyi-ui/src/api/benyi/contactpeople.js | 9 + ruoyi-ui/src/views/benyi/child/index.vue | 659 ++++++++++++------ .../src/views/benyi/contactpeople/index.vue | 2 +- .../ByChildContactpeopleController.java | 15 + .../benyi/controller/ByChildController.java | 25 +- .../mapper/ByChildContactpeopleMapper.java | 8 + .../service/IByChildContactpeopleService.java | 8 + .../impl/ByChildContactpeopleServiceImpl.java | 11 + .../benyi/ByChildContactpeopleMapper.xml | 7 + 10 files changed, 574 insertions(+), 276 deletions(-) diff --git a/ruoyi-ui/src/api/benyi/child.js b/ruoyi-ui/src/api/benyi/child.js index 1b6426885..fdb052e81 100644 --- a/ruoyi-ui/src/api/benyi/child.js +++ b/ruoyi-ui/src/api/benyi/child.js @@ -2,96 +2,96 @@ import request from '@/utils/request' // 查询幼儿信息列表 export function listChild(query) { - return request({ - url: '/benyi/child/list', - method: 'get', - params: query - }) + return request({ + url: '/benyi/child/list', + method: 'get', + params: query + }) } // 查询幼儿信息列表 export function listByCheck(query) { - return request({ - url: '/benyi/child/listByCheck', - method: 'get', - params: query - }) + return request({ + url: '/benyi/child/listByCheck', + method: 'get', + params: query + }) } // 查询幼儿信息详细 export function getChild(id) { - return request({ - url: '/benyi/child/' + id, - method: 'get' - }) + return request({ + url: '/benyi/child/' + id, + method: 'get' + }) } // 查询维护幼儿详细 export function getChild_query(query) { - return request({ - url: '/benyi/child/getInfo', - method: 'get', - params: query - }) + return request({ + url: '/benyi/child/getInfo', + method: 'get', + params: query + }) } // 新增幼儿信息 export function addChild(data) { - return request({ - url: '/benyi/child', - method: 'post', - data: data - }) + return request({ + url: '/benyi/child', + method: 'post', + data: data + }) } // 修改幼儿信息 export function updateChild(data) { - return request({ - url: '/benyi/child', - method: 'put', - data: data - }) + return request({ + url: '/benyi/child', + method: 'put', + data: data + }) } // 修改幼儿信息 export function updateChild_tb(data, id) { - return request({ - url: '/benyi/child/' + id, - method: 'put', - data: data - }) + return request({ + url: '/benyi/child/' + id, + method: 'put', + data: data + }) } // 删除幼儿信息 export function delChild(id) { - return request({ - url: '/benyi/child/' + id, - method: 'delete' - }) + return request({ + url: '/benyi/child/' + id, + method: 'delete' + }) } // 导出幼儿信息 export function exportChild(query) { - return request({ - url: '/benyi/child/export', - method: 'get', - params: query - }) + return request({ + url: '/benyi/child/export', + method: 'get', + params: query + }) } // 查询班级信息列表 export function listChildCheck(query) { - return request({ - url: '/benyi/child/checklist', - method: 'get', - params: query - }) + return request({ + url: '/benyi/child/checklist', + method: 'get', + params: query + }) } // 下载用户导入模板 export function importTemplate() { - return request({ - url: '/benyi/child/importTemplate', - method: 'get' - }) - } \ No newline at end of file + return request({ + url: '/benyi/child/importTemplate', + method: 'get' + }) +} diff --git a/ruoyi-ui/src/api/benyi/contactpeople.js b/ruoyi-ui/src/api/benyi/contactpeople.js index dcc7cf1e2..d8465a9a5 100644 --- a/ruoyi-ui/src/api/benyi/contactpeople.js +++ b/ruoyi-ui/src/api/benyi/contactpeople.js @@ -17,6 +17,15 @@ export function getContactpeople(id) { }) } + +// 查询幼儿紧急情况联系人详细 +export function getContactpeopleByChildId(id) { + return request({ + url: '/benyi/contactpeople/bychild/' + id, + method: 'get' + }) +} + // 新增幼儿紧急情况联系人 export function addContactpeople(data) { return request({ diff --git a/ruoyi-ui/src/views/benyi/child/index.vue b/ruoyi-ui/src/views/benyi/child/index.vue index fef19279b..76b59a957 100644 --- a/ruoyi-ui/src/views/benyi/child/index.vue +++ b/ruoyi-ui/src/views/benyi/child/index.vue @@ -6,19 +6,19 @@ :inline="true" label-width="68px" > - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{ dict.dictLabel }} - - - - - - - - - - - - - - {{ dict.dictLabel }} - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ dict.dictLabel }} + + + + + + + + + + + + + + {{ dict.dictLabel }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +