Изменены иконки

This commit is contained in:
goodmice 2021-10-15 16:03:36 +05:00
parent d2d6377efd
commit a1ed3368c5
4 changed files with 11 additions and 8 deletions

View File

@ -1,6 +1,7 @@
import { Link } from 'react-router-dom'
import { useState, useEffect } from 'react'
import { Table, Tag, Button, Modal } from 'antd'
import { Tag, Button, Modal } from 'antd'
import { Table } from '../../components/Table'
import { LineChartOutlined, ProfileOutlined } from '@ant-design/icons'
import {
makeTextColumn,

View File

@ -1,6 +1,6 @@
import {Layout, Menu} from "antd";
import {Switch, Link, Route, Redirect, useParams, useHistory} from "react-router-dom";
import { FolderOutlined } from "@ant-design/icons";
import { DeploymentUnitOutlined, LineChartOutlined, BuildOutlined, TableOutlined, ControlOutlined } from "@ant-design/icons";
import { WellDrillParams } from './WellDrillParams'
import { WellSectionsStat } from './WellSectionsStat'
import { WellCompositeEditor } from './WellCompositeEditor'
@ -25,22 +25,22 @@ export default function WellOperations({idWell}) {
selectable={true}
className="well_menu"
selectedKeys={[tab]}>
<Menu.Item key="tvd" icon={<FolderOutlined />}>
<Menu.Item key="tvd" icon={<LineChartOutlined />}>
<Link to={`${rootPath}/tvd`}>TVD</Link>
</Menu.Item>
<Menu.Item key="sections" icon={<FolderOutlined />}>
<Menu.Item key="sections" icon={<BuildOutlined />}>
<Link to={`${rootPath}/sections`}>Секции</Link>
</Menu.Item>
<Menu.Item key="plan" icon={<FolderOutlined />}>
<Menu.Item key="plan" icon={<TableOutlined />}>
<Link to={`${rootPath}/plan`}>План</Link>
</Menu.Item>
<Menu.Item key="fact" icon={<FolderOutlined />}>
<Menu.Item key="fact" icon={<TableOutlined />}>
<Link to={`${rootPath}/fact`}>Факт</Link>
</Menu.Item>
<Menu.Item key="params" icon={<FolderOutlined />}>
<Menu.Item key="params" icon={<ControlOutlined />}>
<Link to={`${rootPath}/params`}>Режимы</Link>
</Menu.Item>
<Menu.Item key="composite" icon={<FolderOutlined />}>
<Menu.Item key="composite" icon={<DeploymentUnitOutlined />}>
<Link to={`${rootPath}/composite`}>Композитная скважина</Link>
</Menu.Item>
<ImportExportBar idWell={idWell} disabled={isIEBarDisabled} onImported={onImported}/>

View File

@ -5,6 +5,7 @@
export type DrillFlowChartDto = {
id?: number;
idWell?: number;
idWellOperationCategory?: number;
lastUpdate?: string;
depthStart?: number;
depthEnd?: number;

View File

@ -12,5 +12,6 @@ export type WellDto = {
latitude?: number | null;
longitude?: number | null;
wellType?: string | null;
lastTelemetryDate?: string;
telemetry?: TelemetryDto;
}