From f39e550ac78b77f3597eb4c2fcce95e3e9150966 Mon Sep 17 00:00:00 2001 From: KharchenkoVV Date: Fri, 27 Aug 2021 11:49:32 +0500 Subject: [PATCH] Reamed 'Analysis' components to 'Telemetry Analysis' --- concept/{Analysis.jsx => TelemetryAnalysis.jsx} | 10 +++++----- ...sDepthToDay.jsx => TelemetryAnalysisDepthToDay.jsx} | 6 +++--- ...terval.jsx => TelemetryAnalysisDepthToInterval.jsx} | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) rename concept/{Analysis.jsx => TelemetryAnalysis.jsx} (65%) rename src/components/{AnalysisDepthToDay.jsx => TelemetryAnalysisDepthToDay.jsx} (88%) rename src/components/{AnalysisDepthToInterval.jsx => TelemetryAnalysisDepthToInterval.jsx} (93%) diff --git a/concept/Analysis.jsx b/concept/TelemetryAnalysis.jsx similarity index 65% rename from concept/Analysis.jsx rename to concept/TelemetryAnalysis.jsx index ce49235..01b0825 100644 --- a/concept/Analysis.jsx +++ b/concept/TelemetryAnalysis.jsx @@ -1,9 +1,9 @@ -import { AnalysisDepthToDay } from '../src/components/AnalysisDepthToDay' -import { AnalysisDepthToInterval } from '../src/components/AnalysisDepthToInterval' +import { TelemetryAnalysisDepthToDay } from '../src/components/TelemetryAnalysisDepthToDay' +import { TelemetryAnalysisDepthToInterval } from '../src/components/TelemetryAnalysisDepthToInterval' import { AnalysisOperationTime } from '../src/components/AnalysisOperationTime' import { Row, Col } from 'antd' -export default function Analysis({idWell}) { +export default function TelemetryAnalysis({idWell}) { return ( <> @@ -11,11 +11,11 @@ export default function Analysis({idWell}) {

График Глубина-день

- +

График Глубина за интервал

- +
 
diff --git a/src/components/AnalysisDepthToDay.jsx b/src/components/TelemetryAnalysisDepthToDay.jsx similarity index 88% rename from src/components/AnalysisDepthToDay.jsx rename to src/components/TelemetryAnalysisDepthToDay.jsx index 441b5fd..b0e2b43 100644 --- a/src/components/AnalysisDepthToDay.jsx +++ b/src/components/TelemetryAnalysisDepthToDay.jsx @@ -1,15 +1,15 @@ import { ChartDepthToDay } from './charts/ChartDepthToDay' -import { notify } from "../components/factory" +import { notify } from "./factory" import { useState, useEffect } from 'react' import { TelemetryAnalyticsService } from "../services/api" -import LoaderPortal from '../components/LoaderPortal' +import LoaderPortal from './LoaderPortal' const lines = [ { label: "Глубина забоя", yAccessorName: "wellDepth", color: '#f00' }, { label: "Положение инструмента", yAccessorName: "bitDepth", color: '#ff0' } ] -export function AnalysisDepthToDay({idWell}) { +export function TelemetryAnalysisDepthToDay({idWell}) { const [depthToDayData, setDepthToDayData] = useState([]) const [loader, setLoader] = useState(false) diff --git a/src/components/AnalysisDepthToInterval.jsx b/src/components/TelemetryAnalysisDepthToInterval.jsx similarity index 93% rename from src/components/AnalysisDepthToInterval.jsx rename to src/components/TelemetryAnalysisDepthToInterval.jsx index f9ce57a..5f6bb5f 100644 --- a/src/components/AnalysisDepthToInterval.jsx +++ b/src/components/TelemetryAnalysisDepthToInterval.jsx @@ -1,10 +1,10 @@ import { useParams } from "react-router-dom" -import { notify } from "../components/factory" +import { notify } from "./factory" import { useState, useEffect } from 'react' import { TelemetryAnalyticsService } from '../services/api' import { ChartDepthToInterval } from './charts/ChartDepthToInterval' import { Select } from 'antd' -import LoaderPortal from '../components/LoaderPortal' +import LoaderPortal from './LoaderPortal' const { Option } = Select @@ -21,7 +21,7 @@ const timePeriodCollection = [ const lines = [{ label: 'График скорость проходки-интервал', yAccessorName: "intervalDepthProgress", xAccessorName: "intervalStartDate", color: '#00f' }] -export function AnalysisDepthToInterval() { +export function TelemetryAnalysisDepthToInterval() { let { id } = useParams() const [depthToIntervalData, setDepthToIntervalData] = useState([]) const [loader, setLoader] = useState(false)