From 7f1160587c93f26ac3106973abb6cb7078e9b141 Mon Sep 17 00:00:00 2001 From: goodmice Date: Wed, 15 Jun 2022 13:58:08 +0500 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B0=20=D0=BA=D0=BE=D0=BD=D1=84=D0=B8=D0=B3=D1=83?= =?UTF-8?q?=D1=80=D0=B0=D1=86=D0=B8=D1=8F=20=D0=B7=D0=B0=D0=BF=D1=80=D0=BE?= =?UTF-8?q?=D1=81=D0=B0=20=D0=BF=D1=80=D0=B8=20=D1=80=D0=B5=D0=B4=D0=B0?= =?UTF-8?q?=D0=BA=D1=82=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B8=20?= =?UTF-8?q?=D1=80=D0=B5=D0=B6=D0=B8=D0=BC=D0=BE=D0=B2=20=D0=B1=D1=83=D1=80?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/WellOperations/WellDrillParams.jsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pages/WellOperations/WellDrillParams.jsx b/src/pages/WellOperations/WellDrillParams.jsx index da06a75..2ee9f7e 100755 --- a/src/pages/WellOperations/WellDrillParams.jsx +++ b/src/pages/WellOperations/WellDrillParams.jsx @@ -67,7 +67,9 @@ export const WellDrillParams = memo(() => { service: DrillParamsService, setLoader: setShowLoader, onComplete: updateParams, - permission: 'DrillParams.edit' + permission: 'DrillParams.edit', + idWell, + idRecord: true, } return { @@ -75,7 +77,7 @@ export const WellDrillParams = memo(() => { edit: { ...handlerProps, action: 'update', actionName: 'Редактирование режима бурения', recordParser }, delete: { ...handlerProps, action: 'delete', actionName: 'Удаление режима бурения', permission: 'DrillParams.delete' }, } - }, [updateParams, recordParser]) + }, [idWell, updateParams, recordParser]) return (