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