From 2c35e03824b79c6dd363d27e3fbd994a7adb62af Mon Sep 17 00:00:00 2001 From: fangjiakai <450850793@qq.com> Date: Fri, 6 Feb 2026 13:35:49 +0800 Subject: [PATCH] =?UTF-8?q?fix(accident):=20=E4=BF=AE=E5=A4=8D=E4=BA=8B?= =?UTF-8?q?=E6=95=85=E7=AE=A1=E7=90=86=E9=A1=B5=E9=9D=A2=E6=9D=83=E9=99=90?= =?UTF-8?q?=E6=8E=A7=E5=88=B6=E5=92=8C=E6=95=B0=E6=8D=AE=E5=A4=84=E7=90=86?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修复新增按钮权限控制逻辑错误 - 添加批量删除后选中行状态重置功能 - 修复列定义顺序导致的显示问题 - 添加弹窗遮罩点击关闭限制防止误操作 - 修复监管部门事故列表企业类型筛选条件 - 修复详情查看弹窗加载状态显示位置 --- .../Accident/components/Accident/index.js | 15 +++++++++------ .../Container/SuperviseAccident/List/index.js | 2 +- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/pages/Container/Accident/components/Accident/index.js b/src/pages/Container/Accident/components/Accident/index.js index 5b1fd9c..658441b 100644 --- a/src/pages/Container/Accident/components/Accident/index.js +++ b/src/pages/Container/Accident/components/Accident/index.js @@ -47,7 +47,7 @@ function Accident(props) { }); const typeName = props.type === 1 ? "事件" : "事故"; return ( - @@ -70,6 +70,9 @@ function Accident(props) { }} toolBarRender={() => ( + {!props.isSupervise && props.permission(props.addPermission) && + + } {props.permission(props.exportPermission) && } - {!props.isSupervise && props.permission(props.addPermission) && - - } {!props.isSupervise && props.permission(props.deleteBatchPermission) && } + maskClosable={false} title={`查看${typeName}`} - loading={props.accident.accidentLoading} width={800} > { getAccidentCountByCorpinfoAndType(data.map(item => item.id),form.getFieldValue("eqAccidentType"))