Столбец секции удалён

This commit is contained in:
goodmice 2021-10-18 13:27:46 +05:00
parent 1e102bb128
commit 4e78347c60

View File

@ -1,23 +1,15 @@
import { useState, useEffect } from 'react'
import {
makeColumn,
makeNumericMinMax
makeNumericMinMax,
makeNumericStartEnd
} from '../../components/Table'
import LoaderPortal from '../../components/LoaderPortal'
import { invokeWebApiWrapperAsync } from '../../components/factory'
import { EditableTable, SelectFromDictionary } from '../../components/Table'
import { EditableTable } from '../../components/Table'
import { DrillFlowChartService } from '../../services/api'
import { dictionarySectionType, getByKeyOrReturnKey } from './dictionary'
const columns = [
makeColumn('Конструкция секции','idWellSectionType', {
editable: true,
input: <SelectFromDictionary dictionary={dictionarySectionType}/>,
width: 160,
render: (_, record)=>getByKeyOrReturnKey(dictionarySectionType, record.idWellSectionType)
}),
makeNumericMinMax('Глубина', 'depth'),
makeNumericStartEnd('Глубина', 'depth'),
makeNumericMinMax('Нагрузка', 'axialLoad'),
makeNumericMinMax('Давление', 'pressure'),
makeNumericMinMax('Момент на ВСП', 'rotorTorque'),