From 6ef45998adb7e01ad0b455cf9f4f9e99559fd46c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A4=D1=80=D0=BE=D0=BB=D0=BE=D0=B2?= Date: Fri, 20 Aug 2021 17:59:28 +0500 Subject: [PATCH] LastData weekend concept --- src/pages/LastData/LastDataTable.jsx | 14 +++++++------- src/pages/LastData/index.jsx | 14 +++++++++++--- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/src/pages/LastData/LastDataTable.jsx b/src/pages/LastData/LastDataTable.jsx index 1afe993..8d651fa 100644 --- a/src/pages/LastData/LastDataTable.jsx +++ b/src/pages/LastData/LastDataTable.jsx @@ -1,12 +1,12 @@ -import { useState, useEffect } from 'react' -import { EditableTable, DatePickerWrapper, SelectFromDictionary, numericColumnOptions, makeColumn } from "../../components/Table" -import LoaderPortal from '../../components/LoaderPortal' -import { invokeWebApiWrapperAsync } from '../../components/factory' +// import { useState, useEffect } from 'react' +// import { EditableTable, DatePickerWrapper, SelectFromDictionary, numericColumnOptions, makeColumn } from "../../components/Table" +// import LoaderPortal from '../../components/LoaderPortal' +// import { invokeWebApiWrapperAsync } from '../../components/factory' -export default function LastDataTable({idWell}){ - const [showLoader, setShowLoader] = useState(false) +export const LastDataTable = ({idWell, columns, service}) => { + // const [showLoader, setShowLoader] = useState(false) - const update = () => {} + // const update = () => {} return
Open hystory
} \ No newline at end of file diff --git a/src/pages/LastData/index.jsx b/src/pages/LastData/index.jsx index 3ddee23..5ae5777 100644 --- a/src/pages/LastData/index.jsx +++ b/src/pages/LastData/index.jsx @@ -1,8 +1,16 @@ -//import { useState, useEffect } from 'react' +import { LastDataTable } from './LastDataTable' +import { MudDiagramService } from '../../services/api' + +const columnsMud = [] export default function LastData({idWell}){ return <> -

last data

- +

Замер бурового раствора

+ +

Шлабограмма

+

ННБ

} \ No newline at end of file