diff --git a/src/pages/Analysis.jsx b/concept/Analysis.jsx similarity index 76% rename from src/pages/Analysis.jsx rename to concept/Analysis.jsx index 4033654..ce49235 100644 --- a/src/pages/Analysis.jsx +++ b/concept/Analysis.jsx @@ -1,6 +1,6 @@ -import { AnalysisDepthToDay } from '../components/AnalysisDepthToDay' -import { AnalysisDepthToInterval } from '../components/AnalysisDepthToInterval' -import { AnalysisOperationTime } from '../components/AnalysisOperationTime' +import { AnalysisDepthToDay } from '../src/components/AnalysisDepthToDay' +import { AnalysisDepthToInterval } from '../src/components/AnalysisDepthToInterval' +import { AnalysisOperationTime } from '../src/components/AnalysisOperationTime' import { Row, Col } from 'antd' export default function Analysis({idWell}) { diff --git a/src/pages/Smbo/EquipmentDetails.jsx b/concept/Smbo/EquipmentDetails.jsx similarity index 100% rename from src/pages/Smbo/EquipmentDetails.jsx rename to concept/Smbo/EquipmentDetails.jsx diff --git a/src/pages/Smbo/SmboPlate.jsx b/concept/Smbo/SmboPlate.jsx similarity index 100% rename from src/pages/Smbo/SmboPlate.jsx rename to concept/Smbo/SmboPlate.jsx diff --git a/src/pages/Smbo/index.jsx b/concept/Smbo/index.jsx similarity index 100% rename from src/pages/Smbo/index.jsx rename to concept/Smbo/index.jsx diff --git a/src/pages/WellStat.jsx b/concept/WellStat.jsx similarity index 93% rename from src/pages/WellStat.jsx rename to concept/WellStat.jsx index 1ffa927..4d767f9 100644 --- a/src/pages/WellStat.jsx +++ b/concept/WellStat.jsx @@ -1,9 +1,9 @@ -import LoaderPortal from '../components/LoaderPortal' +import LoaderPortal from '../src/components/LoaderPortal' import { useState, useEffect } from "react"; -import {makeColumn, makeColumnsPlanFact, RegExpIsFloat} from '../components/factory' -import {WellSectionService} from '../services/api' -import {invokeWebApiWrapperAsync} from '../components/factory' -import { EditableTable } from '../components/EditableTable'; +import {makeColumn, makeColumnsPlanFact, RegExpIsFloat} from '../src/components/factory' +import {WellSectionService} from '../src/services/api' +import {invokeWebApiWrapperAsync} from '../src/components/factory' +import { EditableTable } from '../src/components/EditableTable'; import { Input } from 'antd' const TypeSelector = diff --git a/src/pages/WellAnalysis.jsx b/concept/WellTelemetryAnalysis.jsx similarity index 95% rename from src/pages/WellAnalysis.jsx rename to concept/WellTelemetryAnalysis.jsx index be2d447..e0505b9 100644 --- a/src/pages/WellAnalysis.jsx +++ b/concept/WellTelemetryAnalysis.jsx @@ -1,9 +1,9 @@ import { Table, Select, DatePicker } from "antd"; -import { TelemetryAnalyticsService } from "../services/api"; +import { TelemetryAnalyticsService } from "../src/services/api"; import { useState, useEffect } from "react"; import { useParams } from "react-router-dom"; -import notify from "../components/notify"; -import LoaderPortal from "../components/LoaderPortal"; +import notify from "../src/components/notify"; +import LoaderPortal from "../src/components/LoaderPortal"; import moment from "moment"; import "../styles/message.css"; @@ -61,7 +61,7 @@ const filterOptions = [ { label: "На поверхности", value: 17 }, ]; -export default function WellAnalysis() { +export default function WellTelemetryAnalysis() { let { id } = useParams(); const [page, setPage] = useState(1); diff --git a/concept/readme.md b/concept/readme.md new file mode 100644 index 0000000..922de29 --- /dev/null +++ b/concept/readme.md @@ -0,0 +1 @@ +Папка для компонент реализация которых отложена, но наработки уже есть \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index a273b0c..dec663b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -20,7 +20,5 @@ "noEmit": true, "jsx": "react-jsx" }, - "include": [ - "src" - ] + "include": ["src"] }