Merge branch 'dev' into feature/new-design

This commit is contained in:
goodmice 2022-12-28 11:38:05 +05:00
commit 85e12263cd
No known key found for this signature in database
GPG Key ID: EA4AA16454AC96C8
4 changed files with 5 additions and 5 deletions

View File

@ -40,7 +40,7 @@ npx openapi -i http://{IP_ADDRESS}:{PORT}/swagger/v1/swagger.json -o src/service
|:-------------------------|:--------|:------------------------------------|
| 127.0.0.1:5000 | oul | Локальный адрес вашей машины |
| 192.168.1.113:5000 | oud | Локальный адрес development-сервера |
| 46.146.207.184:89 | oug_dev | Внешний адрес development-сервера |
| 46.146.207.184:80 | oug_dev | Внешний адрес development-сервера |
| cloud.digitaldrilling.ru | oug | Внешний адрес production-сервера |
## 3. Компиляция production-версии приложения

View File

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

View File

@ -108,7 +108,6 @@ export const LimitingParameterStatistics = memo(() => {
const radius = useMemo(() => Math.min(width, height) / 2, [width, height])
useEffect(() => console.log(radius), [radius])
useEffect(update, [])
useEffect(() => {

View File

@ -95,10 +95,11 @@ const Well = memo(() => {
<Route path={'*'} element={<NoAccessComponent />} />
<Route path={'telemetry/*'} element={<Telemetry />}>
<Route index element={<Navigate to={'telemetry'} replace />} />
<Route index element={<Navigate to={'monitoring'} replace />} />
<Route path={'*'} element={<NoAccessComponent />} />
<Route path={'telemetry'} element={<Navigate to={'../monitoring'} replace />} /> {/* TODO: Remove in next release */}
<Route path={'telemetry'} element={<TelemetryView />} />
<Route path={'monitoring'} element={<TelemetryView />} />
<Route path={'messages'} element={<Messages />} />
<Route path={'dashboard_nnb/*'} element={<DashboardNNB />} />
<Route path={'operations'} element={<Operations />} />