diff --git a/web/client/src/sections/problem/components/tableData.jsx b/web/client/src/sections/problem/components/tableData.jsx index c595088..5432318 100644 --- a/web/client/src/sections/problem/components/tableData.jsx +++ b/web/client/src/sections/problem/components/tableData.jsx @@ -130,7 +130,7 @@ const TableData = ({ alarmDataGroup, route, dispatch, actions, collectData, setS } break; } - }, [query, genre, pepProjectId,typeId]) + }, [query, genre, pepProjectId, typeId]) useEffect(() => { @@ -460,7 +460,7 @@ const TableData = ({ alarmDataGroup, route, dispatch, actions, collectData, setS rowSelection={{ selectedRowKeys: selected || [], getCheckboxProps: record => ({ - disabled: record.confirmTime ? true : false, + disabled: (record.confirmTime || record.State > 2 || record.projectLocal) ? true : false, // name: record.name, }), onSelect: (record, selected) => { @@ -497,7 +497,7 @@ const TableData = ({ alarmDataGroup, route, dispatch, actions, collectData, setS return v.id } } else { - if (!(v.State > 2)) { + if (!(v.State > 2) && !v.projectLocal) { return v.id } } @@ -547,7 +547,7 @@ const TableData = ({ alarmDataGroup, route, dispatch, actions, collectData, setS onOk={() => { dispatch(problem.postExceptionTypeCheck({ userId: user?.id, typeId: check })).then(res => { if (res.success) { - api.current?.setValue('groupUnitId', ) + api.current?.setValue('groupUnitId',) setTypeId(check) setTypeSet(false) } @@ -570,6 +570,7 @@ const TableData = ({ alarmDataGroup, route, dispatch, actions, collectData, setS {itm.name}