|
|
@ -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 |
|
|
|
} |
|
|
|
} |
|
|
@ -570,6 +570,7 @@ const TableData = ({ alarmDataGroup, route, dispatch, actions, collectData, setS |
|
|
|
<Checkbox |
|
|
|
key={itm.value} |
|
|
|
value={itm.value} |
|
|
|
disabled={[8, 40, 41, 48, 49].includes(itm.value) ? true : false} |
|
|
|
style={{ width: "20%", height: 16, margin: "0 0 20px 0" }} |
|
|
|
> |
|
|
|
{itm.name} |
|
|
|