import { Layout, Menu } from 'antd' import { FolderOutlined, FundViewOutlined, AlertOutlined, FilePdfOutlined, DatabaseOutlined, ExperimentOutlined, FundProjectionScreenOutlined, } from '@ant-design/icons' import { Link, Redirect, Route, Switch, useParams } from 'react-router-dom' import { PrivateMenuItem } from '../components/Private' import TelemetryView from './TelemetryView' import Messages from './Messages' import Report from './Report' import Archive from './Archive' import Documents from './Documents' import Measure from './Measure' import WellOperations from './WellOperations' import TelemetryAnalysis from './TelemetryAnalysis' import { makeMenuItems } from './Documents/' import DrillingProgram from './Documents/DrillingProgram' const { Content } = Layout export default function Well() { const { idWell, tab } = useParams() const rootPath = `/well/${idWell}` const { SubMenu } = Menu return ( }> Мониторинг }> Сообщения }> Рапорт }> Операции по скважине }> Архив } roles={'admin'}> Операции по телеметрии Документы } icon={} selectable={true} > {makeMenuItems(`${rootPath}/document`)} }> Измерения }> Программа бурения ) }