Упоминания archive устаранены

This commit is contained in:
Александр Сироткин 2022-11-28 05:17:33 +05:00
parent 44afd5f1f0
commit 5eb66e5fbc
2 changed files with 1 additions and 2 deletions

View File

@ -33,7 +33,7 @@ export const makeMessageColumns = (idWell) => [
<Tooltip title={'Нажмите для перехода в архив'}> <Tooltip title={'Нажмите для перехода в архив'}>
<Link <Link
style={{ color: 'inherit'}} style={{ color: 'inherit'}}
to={`/well/${idWell}/telemetry/archive?range=1800&start=${moment(item?.date).subtract(3, 'minute').local().toISOString()}`} to={`/well/${idWell}/telemetry/monitoring?range=1800&start=${moment(item?.date).subtract(3, 'minute').local().toISOString()}`}
> >
<LinkOutlined /> <LinkOutlined />
&nbsp; &nbsp;

View File

@ -138,7 +138,6 @@ export const requirements: Readonly<PermissionRecord> = {
'*': ['Deposit.get', 'File.get'], '*': ['Deposit.get', 'File.get'],
}, },
telemetry: { telemetry: {
archive: ['Deposit.get', 'TelemetryDataSaub.get'],
monitoring: ['Deposit.get', 'DrillFlowChart.get', 'TelemetryDataSaub.get', 'TelemetryDataSpin.get'], monitoring: ['Deposit.get', 'DrillFlowChart.get', 'TelemetryDataSaub.get', 'TelemetryDataSpin.get'],
messages: ['Deposit.get', 'TelemetryDataSaub.get'], messages: ['Deposit.get', 'TelemetryDataSaub.get'],
dashboard_nnb: ['Deposit.get'], //'WitsInfo.get', 'WitsRecord1.get', 'WitsRecord7.get', 'WitsRecord8.get', 'WitsRecord50.get', 'WitsRecord60.get', 'WitsRecord61.get'], dashboard_nnb: ['Deposit.get'], //'WitsInfo.get', 'WitsRecord1.get', 'WitsRecord7.get', 'WitsRecord8.get', 'WitsRecord50.get', 'WitsRecord60.get', 'WitsRecord61.get'],