diff --git a/src/pages/WellOperations/DrillProcessFlow.jsx b/src/pages/WellOperations/DrillProcessFlow.jsx index 3b38a4c..c078fe0 100644 --- a/src/pages/WellOperations/DrillProcessFlow.jsx +++ b/src/pages/WellOperations/DrillProcessFlow.jsx @@ -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: , - width: 160, - render: (_, record)=>getByKeyOrReturnKey(dictionarySectionType, record.idWellSectionType) - }), - makeNumericMinMax('Глубина', 'depth'), + makeNumericStartEnd('Глубина', 'depth'), makeNumericMinMax('Нагрузка', 'axialLoad'), makeNumericMinMax('Давление', 'pressure'), makeNumericMinMax('Момент на ВСП', 'rotorTorque'),