forked from ddrilling/asb_cloud_front
LastData weekend concept
This commit is contained in:
parent
2ab34efdd6
commit
6ef45998ad
@ -1,12 +1,12 @@
|
|||||||
import { useState, useEffect } from 'react'
|
// import { useState, useEffect } from 'react'
|
||||||
import { EditableTable, DatePickerWrapper, SelectFromDictionary, numericColumnOptions, makeColumn } from "../../components/Table"
|
// import { EditableTable, DatePickerWrapper, SelectFromDictionary, numericColumnOptions, makeColumn } from "../../components/Table"
|
||||||
import LoaderPortal from '../../components/LoaderPortal'
|
// import LoaderPortal from '../../components/LoaderPortal'
|
||||||
import { invokeWebApiWrapperAsync } from '../../components/factory'
|
// import { invokeWebApiWrapperAsync } from '../../components/factory'
|
||||||
|
|
||||||
export default function LastDataTable({idWell}){
|
export const LastDataTable = ({idWell, columns, service}) => {
|
||||||
const [showLoader, setShowLoader] = useState(false)
|
// const [showLoader, setShowLoader] = useState(false)
|
||||||
|
|
||||||
const update = () => {}
|
// const update = () => {}
|
||||||
|
|
||||||
return <div>Open hystory</div>
|
return <div>Open hystory</div>
|
||||||
}
|
}
|
@ -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}){
|
export default function LastData({idWell}){
|
||||||
return <>
|
return <>
|
||||||
<h3>last data</h3>
|
<h3>Замер бурового раствора</h3>
|
||||||
|
<LastDataTable
|
||||||
|
idWell={idWell}
|
||||||
|
columns={columnsMud}
|
||||||
|
service={MudDiagramService} />
|
||||||
|
<h3>Шлабограмма</h3>
|
||||||
|
<h3>ННБ</h3>
|
||||||
</>
|
</>
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user