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,
|
||||
'Не удалось загрузить список скважин',
|
||||
'Получение списка скважин'
|
||||
), [idWell, treeData])
|
||||
), [idWell, treeData, treeLabels])
|
||||
|
||||
return (
|
||||
<TreeSelect
|
||||
|
@ -2,7 +2,7 @@ import { Table as RawTable, Typography } from 'antd'
|
||||
import { Fragment, memo, useCallback, useEffect, useState } from 'react'
|
||||
|
||||
import LoaderPortal from '@components/LoaderPortal'
|
||||
import { getTreeData, getTreeLabels, WellSelector } from '@components/WellSelector'
|
||||
import { WellSelector } from '@components/WellSelector'
|
||||
import { invokeWebApiWrapperAsync } from '@components/factory'
|
||||
import { makeGroupColumn, makeNumericColumn, makeNumericRender, makeTextColumn, Table } from '@components/Table'
|
||||
import { OperationStatService, WellOperationService } from '@api'
|
||||
@ -64,7 +64,6 @@ export const Statistics = memo(({ idWell }) => {
|
||||
const [isPageLoading, setIsPageLoading] = useState(false)
|
||||
const [avgWells, setAvgWells] = useState([])
|
||||
const [cmpWells, setCmpWells] = useState([])
|
||||
const [filteredCmpWells, setFilteredCmpWells] = useState([])
|
||||
const [avgData, setAvgData] = useState([])
|
||||
const [cmpData, setCmpData] = useState([])
|
||||
const [avgRow, setAvgRow] = useState({})
|
||||
|
Loading…
Reference in New Issue
Block a user