forked from ddrilling/asb_cloud_front
Add WellStat, rename ClusterStat
This commit is contained in:
parent
325462dcc9
commit
5967cbdd1d
@ -32,7 +32,7 @@
|
|||||||
"react_test": "react-scripts test",
|
"react_test": "react-scripts test",
|
||||||
"eject": "react-scripts eject"
|
"eject": "react-scripts eject"
|
||||||
},
|
},
|
||||||
"proxy": "http://192.168.1.70:5000",
|
"proxy": "http://127.0.0.1:5000",
|
||||||
"eslintConfig": {
|
"eslintConfig": {
|
||||||
"extends": [
|
"extends": [
|
||||||
"react-app",
|
"react-app",
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
export default function Files(props) {
|
|
||||||
return (
|
|
||||||
<div className="menu-title">
|
|
||||||
<h2>Файлы</h2>
|
|
||||||
</div>
|
|
||||||
)
|
|
||||||
}
|
|
@ -1,14 +1,13 @@
|
|||||||
import {Layout, Menu} from "antd";
|
import {Layout, Menu} from "antd";
|
||||||
import {FolderOutlined, FundViewOutlined} from "@ant-design/icons";
|
import {FolderOutlined, FundViewOutlined} from "@ant-design/icons";
|
||||||
import {Link, Redirect, Route, Switch, useParams} from "react-router-dom";
|
import {Link, Redirect, Route, Switch, useParams} from "react-router-dom";
|
||||||
import Files from "../pages/Files";
|
|
||||||
import Archive from "../pages/Archive";
|
import Archive from "../pages/Archive";
|
||||||
import Messages from "../pages/Messages";
|
import Messages from "../pages/Messages";
|
||||||
import Report from "../pages/Report";
|
import Report from "../pages/Report";
|
||||||
import Analysis from "../pages/Analysis";
|
import Analysis from "../pages/Analysis";
|
||||||
import WellAnalysis from "../pages/WellAnalysis";
|
import WellAnalysis from "../pages/WellAnalysis";
|
||||||
import TelemetryView from "../pages/TelemetryView";
|
import TelemetryView from "../pages/TelemetryView";
|
||||||
import MenuDocuments from "../components/MenuDocuments";
|
import WellStat from "./WellStat";
|
||||||
|
|
||||||
const { Content } = Layout
|
const { Content } = Layout
|
||||||
|
|
||||||
@ -41,7 +40,7 @@ export default function Well() {
|
|||||||
<Link to={{pathname: `${rootPath}/wellAnalysis`}}>Операции по скважине</Link>
|
<Link to={{pathname: `${rootPath}/wellAnalysis`}}>Операции по скважине</Link>
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
<Menu.Item key="6" icon={<FolderOutlined/>}>
|
<Menu.Item key="6" icon={<FolderOutlined/>}>
|
||||||
<Link to={{pathname: `${rootPath}/file`}}>Файлы</Link>
|
<Link to='stat'>Статистика</Link>
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
<Menu.Item key="7" icon={<FolderOutlined/>}>
|
<Menu.Item key="7" icon={<FolderOutlined/>}>
|
||||||
<Link to={{pathname: `${rootPath}/archive`}}>Архив</Link>
|
<Link to={{pathname: `${rootPath}/archive`}}>Архив</Link>
|
||||||
@ -82,8 +81,8 @@ export default function Well() {
|
|||||||
<Layout>
|
<Layout>
|
||||||
<Content className="site-layout-background">
|
<Content className="site-layout-background">
|
||||||
<Switch>
|
<Switch>
|
||||||
<Route path="/well/:id/file">
|
<Route path="/well/:id/stat">
|
||||||
<Files/>
|
<WellStat/>
|
||||||
</Route>
|
</Route>
|
||||||
<Route path="/well/:id/archive">
|
<Route path="/well/:id/archive">
|
||||||
<Archive/>
|
<Archive/>
|
||||||
|
@ -3,4 +3,10 @@
|
|||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type WellOperationDto = {
|
export type WellOperationDto = {
|
||||||
|
id?: number;
|
||||||
|
idWell?: number;
|
||||||
|
caption?: string | null;
|
||||||
|
description?: string | null;
|
||||||
|
casingSection?: number;
|
||||||
|
wellDepth?: number;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user