Files
crm.clientright.ru/ticket_form/links.html
Fedor de011efba9 fix: исправлен конфликт имён переменных в loadDraft (claimId -> finalClaimId)
- Исправлена ошибка ReferenceError при загрузке черновиков
- Переименована локальная переменная claimId в finalClaimId для избежания конфликта с параметром функции
- Обновлена логика извлечения claim_id из разных источников (claim.claim_id, payload.claim_id, body.claim_id, claim.id)
- Добавлен fallback на параметр claimId функции для надёжности
2025-11-19 23:33:52 +03:00

119 lines
3.6 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ERV Platform - Ссылки</title>
<style>
body {
font-family: Arial, sans-serif;
max-width: 800px;
margin: 50px auto;
padding: 20px;
background: #f5f5f5;
}
h1 {
color: #333;
}
.link-box {
background: white;
padding: 20px;
margin: 20px 0;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.link-box h2 {
color: #667eea;
margin-top: 0;
}
.link-box a {
display: block;
font-size: 18px;
color: #667eea;
text-decoration: none;
padding: 10px;
background: #f0f0f0;
border-radius: 4px;
margin: 10px 0;
}
.link-box a:hover {
background: #e0e0e0;
}
.description {
color: #666;
font-size: 14px;
margin-top: 5px;
}
</style>
</head>
<body>
<h1>🚀 ERV Insurance Platform - Ссылки для доступа</h1>
<div class="link-box">
<h2>🎨 Frontend (React приложение)</h2>
<a href="http://147.45.146.17:5173/" target="_blank">
http://147.45.146.17:5173/
</a>
<div class="description">
Красивая страница с информацией о платформе, статусом сервисов
</div>
</div>
<div class="link-box">
<h2>🔌 Backend API</h2>
<a href="http://147.45.146.17:8100/" target="_blank">
http://147.45.146.17:8100/
</a>
<div class="description">
JSON API endpoint (главная страница)
</div>
</div>
<div class="link-box">
<h2>📚 API Документация (Swagger UI)</h2>
<a href="http://147.45.146.17:8100/docs" target="_blank">
http://147.45.146.17:8100/docs
</a>
<div class="description">
Интерактивная документация API - можно тестировать прямо в браузере!
</div>
</div>
<div class="link-box">
<h2>🏥 Health Check</h2>
<a href="http://147.45.146.17:8100/health" target="_blank">
http://147.45.146.17:8100/health
</a>
<div class="description">
Проверка работоспособности всех сервисов (Redis, PostgreSQL, OCR)
</div>
</div>
<div class="link-box">
<h2>🧪 Test Endpoint</h2>
<a href="http://147.45.146.17:8100/api/v1/test" target="_blank">
http://147.45.146.17:8100/api/v1/test
</a>
<div class="description">
Тестовый endpoint с информацией о подключенных сервисах
</div>
</div>
<div class="link-box">
<h2>🐙 Gitea (Git репозиторий)</h2>
<a href="http://147.45.146.17:3002/negodiy/erv-platform" target="_blank">
http://147.45.146.17:3002/negodiy/erv-platform
</a>
<div class="description">
Git репозиторий с кодом (логин: negodiy)
</div>
</div>
<hr>
<p><strong>⚠️ Важно:</strong> Сначала нужно запустить оба сервера!</p>
<p>См. файл <code>START_HERE.md</code> с инструкциями</p>
</body>
</html>