diff --git a/ruoyi-ui/src/views/benyi/contactpeople/index.vue b/ruoyi-ui/src/views/benyi/contactpeople/index.vue index 56969a0ab..f6aa34c1f 100644 --- a/ruoyi-ui/src/views/benyi/contactpeople/index.vue +++ b/ruoyi-ui/src/views/benyi/contactpeople/index.vue @@ -42,16 +42,16 @@ - + - + - + + + + + + 删除 - + - + - + - - + + + + @@ -276,18 +294,19 @@ - - - - + + + + + + + @@ -314,27 +333,7 @@ - - - - - - - - - - - - - - - + + + + + + + + + + + @@ -646,15 +663,11 @@ export default { /** 删除按钮操作 */ handleDelete(row) { const ids = row.id || this.ids; - this.$confirm( - '是否确认删除儿童常规体检记录编号为"' + ids + '"的数据项?', - "警告", - { - confirmButtonText: "确定", - cancelButtonText: "取消", - type: "warning", - } - ) + this.$confirm("是否确认删除儿童常规体检记录数据项?", "警告", { + confirmButtonText: "确定", + cancelButtonText: "取消", + type: "warning", + }) .then(function () { return delHealthcheck(ids); }) @@ -664,22 +677,22 @@ export default { }) .catch(function () {}); }, - /** 导出按钮操作 */ - handleExport() { - const queryParams = this.queryParams; - this.$confirm("是否确认导出所有儿童常规体检记录数据项?", "警告", { - confirmButtonText: "确定", - cancelButtonText: "取消", - type: "warning", - }) - .then(function () { - return exportHealthcheck(queryParams); - }) - .then((response) => { - this.download(response.msg); - }) - .catch(function () {}); - }, + // /** 导出按钮操作 */ + // handleExport() { + // const queryParams = this.queryParams; + // this.$confirm("是否确认导出所有儿童常规体检记录数据项?", "警告", { + // confirmButtonText: "确定", + // cancelButtonText: "取消", + // type: "warning", + // }) + // .then(function () { + // return exportHealthcheck(queryParams); + // }) + // .then((response) => { + // this.download(response.msg); + // }) + // .catch(function () {}); + // }, }, }; \ No newline at end of file diff --git a/ruoyi/src/main/java/com/ruoyi/project/benyi/controller/ByChildContactpeopleController.java b/ruoyi/src/main/java/com/ruoyi/project/benyi/controller/ByChildContactpeopleController.java index 17b2d109c..cfe04685d 100644 --- a/ruoyi/src/main/java/com/ruoyi/project/benyi/controller/ByChildContactpeopleController.java +++ b/ruoyi/src/main/java/com/ruoyi/project/benyi/controller/ByChildContactpeopleController.java @@ -111,12 +111,11 @@ public class ByChildContactpeopleController extends BaseController { ByChildContactpeople byChildContactpeoplenew = new ByChildContactpeople(); byChildContactpeoplenew.setChildid(byChildContactpeople.getChildid()); List list = byChildContactpeopleService.selectByChildContactpeopleList(byChildContactpeoplenew); - if (list!=null&&list.size()>0){ + if (list != null && list.size() > 0) { return toAjax(byChildContactpeopleService.updateByChildContactpeople(byChildContactpeople)); - }else{ + } else { return toAjax(byChildContactpeopleService.insertByChildContactpeople(byChildContactpeople)); } - } /** diff --git a/ruoyi/src/main/resources/mybatis/benyi/ByChildHealthCheckMapper.xml b/ruoyi/src/main/resources/mybatis/benyi/ByChildHealthCheckMapper.xml index eddccb562..ec5ca4b8d 100644 --- a/ruoyi/src/main/resources/mybatis/benyi/ByChildHealthCheckMapper.xml +++ b/ruoyi/src/main/resources/mybatis/benyi/ByChildHealthCheckMapper.xml @@ -22,8 +22,8 @@ - - + + @@ -99,33 +99,32 @@