forked from ddrilling/asb_cloud_front
Удалены лишние использования на странице оценки по цб
This commit is contained in:
parent
afed418b56
commit
929fc50b35
@ -50,7 +50,7 @@ export const WellSelector = memo(({ idWell, value, onChange, treeData, treeLabel
|
|||||||
null,
|
null,
|
||||||
'Не удалось загрузить список скважин',
|
'Не удалось загрузить список скважин',
|
||||||
'Получение списка скважин'
|
'Получение списка скважин'
|
||||||
), [idWell, treeData])
|
), [idWell, treeData, treeLabels])
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<TreeSelect
|
<TreeSelect
|
||||||
|
@ -2,7 +2,7 @@ import { Table as RawTable, Typography } from 'antd'
|
|||||||
import { Fragment, memo, useCallback, useEffect, useState } from 'react'
|
import { Fragment, memo, useCallback, useEffect, useState } from 'react'
|
||||||
|
|
||||||
import LoaderPortal from '@components/LoaderPortal'
|
import LoaderPortal from '@components/LoaderPortal'
|
||||||
import { getTreeData, getTreeLabels, WellSelector } from '@components/WellSelector'
|
import { WellSelector } from '@components/WellSelector'
|
||||||
import { invokeWebApiWrapperAsync } from '@components/factory'
|
import { invokeWebApiWrapperAsync } from '@components/factory'
|
||||||
import { makeGroupColumn, makeNumericColumn, makeNumericRender, makeTextColumn, Table } from '@components/Table'
|
import { makeGroupColumn, makeNumericColumn, makeNumericRender, makeTextColumn, Table } from '@components/Table'
|
||||||
import { OperationStatService, WellOperationService } from '@api'
|
import { OperationStatService, WellOperationService } from '@api'
|
||||||
@ -64,7 +64,6 @@ export const Statistics = memo(({ idWell }) => {
|
|||||||
const [isPageLoading, setIsPageLoading] = useState(false)
|
const [isPageLoading, setIsPageLoading] = useState(false)
|
||||||
const [avgWells, setAvgWells] = useState([])
|
const [avgWells, setAvgWells] = useState([])
|
||||||
const [cmpWells, setCmpWells] = useState([])
|
const [cmpWells, setCmpWells] = useState([])
|
||||||
const [filteredCmpWells, setFilteredCmpWells] = useState([])
|
|
||||||
const [avgData, setAvgData] = useState([])
|
const [avgData, setAvgData] = useState([])
|
||||||
const [cmpData, setCmpData] = useState([])
|
const [cmpData, setCmpData] = useState([])
|
||||||
const [avgRow, setAvgRow] = useState({})
|
const [avgRow, setAvgRow] = useState({})
|
||||||
|
Loading…
Reference in New Issue
Block a user