Исправлено время НПВ в секциях композитной скважины

This commit is contained in:
goodmice 2022-05-31 17:10:41 +05:00
parent 355b2dfe26
commit 9f924f2c7d

View File

@ -7,7 +7,7 @@ import { IdWellContext } from '@asb/context'
import { CompanyView } from '@components/views'
import LoaderPortal from '@components/LoaderPortal'
import { invokeWebApiWrapperAsync } from '@components/factory'
import { makeTextColumn, makeNumericColumnPlanFact, makeNumericColumn, makeNumericRender } from '@components/Table'
import { makeTextColumn, makeNumericColumnPlanFact, makeNumericColumn } from '@components/Table'
import { WellCompositeService } from '@api'
import { hasPermission } from '@utils/permissions'
import {
@ -25,7 +25,7 @@ const filtersMinMax = [
{ text: 'max', value: 'max' },
]
const sortBySectionId = (a, b) => a.sectionId - b.sectionId
const sortBySectionId = (a, b) => a?.sectionId - b?.sectionId
const filtersSectionsType = []
const DAY_IN_MS = 1000 * 60 * 60 * 24
@ -93,8 +93,7 @@ export const WellCompositeSections = memo(({ statsWells, selectedSections }) =>
'sectionBhaUpSpeedFact',
'sectionCasingDownSpeedPlan',
'sectionCasingDownSpeedFact',
'nonProductiveTimePlan',
'nonProductiveTimeFact',
'nonProductiveHours',
])
return rows