diff --git a/src/pages/SecurityServiceOverview/SecurityState/SafetyAccident/index.tsx b/src/pages/SecurityServiceOverview/SecurityState/SafetyAccident/index.tsx index 854f4dc3083b8554126122979d8bd41b326093d6..1ee4119151b9b21295f840ca64d6d5a8c27a9824 100644 --- a/src/pages/SecurityServiceOverview/SecurityState/SafetyAccident/index.tsx +++ b/src/pages/SecurityServiceOverview/SecurityState/SafetyAccident/index.tsx @@ -4,6 +4,8 @@ import services from '@/services'; import SafetyModal from '../SafetyTips/SafetyModal'; import AccidentItem from './AccidentItem'; import styles from './index.less'; +import { divide } from 'lodash'; +import EmptySpace from '@/components/EmptySpace'; const SafetyAccident = () => { const [selectedItem, setSelectedItem] = useState(null); @@ -35,11 +37,11 @@ const SafetyAccident = () => {
安全事故通报
-
+ {data?.data?.records?.length?
{data?.data?.records?.map((item: any) => { return handleItemClick(item)} />; })} -
+
:
} {selectedItem && (