import { memo, useContext, useMemo } from 'react' import { FolderOutlined, FundViewOutlined, FilePdfOutlined, ExperimentOutlined, DeploymentUnitOutlined, } from '@ant-design/icons' import { Layout } from 'antd' import { useParams } from 'react-router-dom' import { IdWellContext, RootPathContext } from '@asb/context' import { PrivateMenu, PrivateSwitch } from '@components/Private' import Measure from './Measure' import Reports from './Reports' import Analytics from './Analytics' import Documents from './Documents' import Telemetry from './Telemetry' import WellOperations from './WellOperations' import DrillingProgram from './DrillingProgram' import '@styles/index.css' const { Content } = Layout export const Well = memo(() => { const { idWell, tab } = useParams() const root = useContext(RootPathContext) const rootPath = useMemo(() => `${root}/well/${idWell}`, [root, idWell]) return ( } title={'Телеметрия'}/> } title={'Рапорта'} /> } title={'Аналитика'} /> } title={'Операции по скважине'} /> } title={'Документы'} /> } title={'Измерения'} /> } title={'Программа бурения'} /> ) }) export default Well