import { Layout, Menu } from "antd"; import { FolderOutlined, FundViewOutlined, AlertOutlined, FilePdfOutlined, DatabaseOutlined, } from "@ant-design/icons"; import { Link, Redirect, Route, Switch, useParams } from "react-router-dom"; 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 { makeMenuItems } from "./Documents/menuItems"; import WellOperations from "./WellOperations"; import DrillingProgram from "./Documents/DrillingProgram"; const { Content } = Layout; export default function Well() { let { idWell, tab } = useParams(); const rootPath = `/well/${idWell}`; const { SubMenu } = Menu; return ( <> }> Мониторинг }> Сообщения }> Рапорт }> Операции по скважине }> Архив Документы } icon={} selectable={true} > {makeMenuItems(rootPath)} }> Измерения }> Программа бурения ); }