diff --git a/src/pages/Well/Telemetry/TelemetryView/LimitingParameterStatistics/index.jsx b/src/pages/Well/Telemetry/TelemetryView/LimitingParameterStatistics/index.jsx index ff22ba5..d7081f4 100644 --- a/src/pages/Well/Telemetry/TelemetryView/LimitingParameterStatistics/index.jsx +++ b/src/pages/Well/Telemetry/TelemetryView/LimitingParameterStatistics/index.jsx @@ -13,15 +13,15 @@ import { useElementSize } from '@utils' import { makeGetColor } from '@pages/Well/WellOperations/Tvd' -import '@styles/limiting_parameter_statistics.less' +import '@styles/pages/limiting_parameter_statistics.less' const columns = [ makeColumn('Цвет', 'color', { width: 50, render: (d) => (
) }), makeTextColumn('Уставка', 'nameFeedRegulator'), - makeNumericColumn('Проходка, м', 'depth'), - makeNumericColumn('Кол-во включений', 'numberInclusions', undefined, undefined, makeNumericRender(0)), + makeNumericColumn('Проходка, м', 'depth', undefined, undefined, 140), + makeNumericColumn('Кол-во включений', 'numberInclusions', makeNumericRender(0), undefined, 150), ] export const LimitingParameterStatistics = memo(() => { @@ -59,16 +59,16 @@ export const LimitingParameterStatistics = memo(() => { } } if (record.idFeedRegulator === selectedRegulator) - out.style = { background: '#FAFAFA', fontSize: '16px', fontWeight: '600' } + out.className = 'dd-selected-row' return out }, [selectedRegulator]) - const onPieOver = useCallback(function (e, d) { + const onPieOver = useCallback(function (_, d) { // Стрелочная функция не подойдёт из-за использования `this` setSelectedRegulator(d.data.idFeedRegulator) d3.select(this).attr('transform', 'scale(1.05)') }, []) - const onPieOut = useCallback(function (e, d) { + const onPieOut = useCallback(function () { // Стрелочная функция не подойдёт из-за использования `this` setSelectedRegulator(null) d3.select(this).attr('transform', 'scale(1)') }, []) @@ -181,15 +181,15 @@ export const LimitingParameterStatistics = memo(() => {