forked from ddrilling/asb_cloud_front
Столбец секции удалён
This commit is contained in:
parent
1e102bb128
commit
4e78347c60
@ -1,23 +1,15 @@
|
|||||||
import { useState, useEffect } from 'react'
|
import { useState, useEffect } from 'react'
|
||||||
|
|
||||||
import {
|
import {
|
||||||
makeColumn,
|
makeNumericMinMax,
|
||||||
makeNumericMinMax
|
makeNumericStartEnd
|
||||||
} from '../../components/Table'
|
} from '../../components/Table'
|
||||||
import LoaderPortal from '../../components/LoaderPortal'
|
import LoaderPortal from '../../components/LoaderPortal'
|
||||||
import { invokeWebApiWrapperAsync } from '../../components/factory'
|
import { invokeWebApiWrapperAsync } from '../../components/factory'
|
||||||
import { EditableTable, SelectFromDictionary } from '../../components/Table'
|
import { EditableTable } from '../../components/Table'
|
||||||
import { DrillFlowChartService } from '../../services/api'
|
import { DrillFlowChartService } from '../../services/api'
|
||||||
import { dictionarySectionType, getByKeyOrReturnKey } from './dictionary'
|
|
||||||
|
|
||||||
const columns = [
|
const columns = [
|
||||||
makeColumn('Конструкция секции','idWellSectionType', {
|
makeNumericStartEnd('Глубина', 'depth'),
|
||||||
editable: true,
|
|
||||||
input: <SelectFromDictionary dictionary={dictionarySectionType}/>,
|
|
||||||
width: 160,
|
|
||||||
render: (_, record)=>getByKeyOrReturnKey(dictionarySectionType, record.idWellSectionType)
|
|
||||||
}),
|
|
||||||
makeNumericMinMax('Глубина', 'depth'),
|
|
||||||
makeNumericMinMax('Нагрузка', 'axialLoad'),
|
makeNumericMinMax('Нагрузка', 'axialLoad'),
|
||||||
makeNumericMinMax('Давление', 'pressure'),
|
makeNumericMinMax('Давление', 'pressure'),
|
||||||
makeNumericMinMax('Момент на ВСП', 'rotorTorque'),
|
makeNumericMinMax('Момент на ВСП', 'rotorTorque'),
|
||||||
|
Loading…
Reference in New Issue
Block a user