You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.1 KiB
JavaScript
33 lines
1.1 KiB
JavaScript
import MyCard from "@/pages/hrefficiency_hiddentrouble/component/MyCard";
|
|
import {Col, Row, Tabs} from "antd";
|
|
import HiddenDangerInspection from "@/pages/hrefficiency_hiddentrouble/component/hiddenDangerInspection/hiddenDangerInspection";
|
|
import styles from './HiddenTrouble.less'
|
|
import HiddenDangerRighted from "@/pages/hrefficiency_hiddentrouble/component/hiddenDangerRighted/hiddenDangerRighted";
|
|
import HiddenDangerCount from "@/pages/hrefficiency_hiddentrouble/component/hiddenDangerCount/hiddenDangerCount";
|
|
|
|
const items = [
|
|
{
|
|
key: '1',
|
|
label: '隐患检查',
|
|
children: <HiddenDangerInspection key={1}/>,
|
|
},
|
|
{
|
|
key: '2',
|
|
label: '隐患整改',
|
|
children: <HiddenDangerRighted key={2}/>
|
|
},
|
|
{
|
|
key: '3',
|
|
label: '隐患统计',
|
|
children: <HiddenDangerCount key={3}/>,
|
|
},
|
|
];
|
|
const HiddenTrouble = () => {
|
|
return (
|
|
<>
|
|
<Tabs className={styles['custom-tabs']} type={'card'} defaultActiveKey="1" items={items} tabBarGutter={10} />
|
|
</>
|
|
)
|
|
}
|
|
export default HiddenTrouble
|