From 773062bdf565105088d91e8c7b574688dddf1584 Mon Sep 17 00:00:00 2001 From: zhangrui Date: Thu, 30 Apr 2026 16:49:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=93=E6=A3=80=E9=A1=B9=E7=9B=AEbug?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../HealthCheckupListController.java | 12 +++++++++- .../healthCheckup/listMange/index.html | 22 ++++++++++++++++++- 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/budwk/app/zhgh/dayofficework/healthCheckup/controller/HealthCheckupListController.java b/src/main/java/com/budwk/app/zhgh/dayofficework/healthCheckup/controller/HealthCheckupListController.java index 18ee8cfe..c30ca3d9 100644 --- a/src/main/java/com/budwk/app/zhgh/dayofficework/healthCheckup/controller/HealthCheckupListController.java +++ b/src/main/java/com/budwk/app/zhgh/dayofficework/healthCheckup/controller/HealthCheckupListController.java @@ -99,7 +99,7 @@ public class HealthCheckupListController { @ApiOperation("分页查询") @SaCheckPermission("healthCheckup.list.mange") public Result pageData(PageForm pageForm, String projectId, String subjectId, - String unionId, String unitId, String physicalExaminationStatus) { + String unionId, String unitId, String physicalExaminationStatus, String isAudit) { List confirms = dao.query(HealthCheckupUnionConfirm.class, Cnd.where("projectId", "=", projectId)); HealthCheckupProject project = healthCheckupProjectService.findOne(projectId); @@ -133,6 +133,16 @@ public class HealthCheckupListController { cnd.andEX("hcu.unionId", "=", unionId); cnd.andEX("hcu.unitId", "=", unitId); cnd.andEX("hcus.subjectId", "=", subjectId); + if(StringUtils.isNotBlank(isAudit)){ + if(isAudit.equals("1")){ + cnd.and("hcu.isAudit", "=", "1"); + } else if(isAudit.equals("0")){ + SqlExpressionGroup group = Cnd.NEW().where(); + group.andEX("hcu.isAudit", "=", "0"); + group.orIsNull("hcu.isAudit"); + cnd.and(group); + } + } if (!AuthUtil.hasRoleOr(RoleConstant.SYSADMIN.name(), RoleConstant.SCHOOL_UNION_ADMIN.name())) { cnd.andEX("hcu.unionId", "=", SecurityUtil.getUnionId()); } diff --git a/src/main/resources/views/platform/zhgh/dayofficework/healthCheckup/listMange/index.html b/src/main/resources/views/platform/zhgh/dayofficework/healthCheckup/listMange/index.html index 9ad068fe..9d2c92a7 100644 --- a/src/main/resources/views/platform/zhgh/dayofficework/healthCheckup/listMange/index.html +++ b/src/main/resources/views/platform/zhgh/dayofficework/healthCheckup/listMange/index.html @@ -70,6 +70,16 @@ layout("/layouts/platform.html"){ :key="item.id"> + + + + + + @@ -288,7 +298,7 @@ layout("/layouts/platform.html"){ {prop: 'unitName', label: '所属单位', sortable: true}, {prop: 'optionName', label: '所选套餐'}, {prop: 'selectTime', label: '选择时间', width: "160px"}, - {prop: 'isAudit', label: '是否确认'}, + {prop: 'isAudit', label: '是否确认', sortable: true}, {prop: 'auditTime', label: '确认时间'}, {prop: 'bz', label: '备注',width: "200px"}, ], @@ -314,6 +324,16 @@ layout("/layouts/platform.html"){ feedbackInfo: "" }, campusOptions: [], + isAuditOptions: [ + { + label: "已确认", + value: "1" + }, + { + label: "未确认", + value: "0" + } + ] } }, components: {