New api and zone management; highligh occlusion and highlighAll functionality; improved search in reports and alerts history + autofill; refactored alert panel

This commit is contained in:
iv_vuytsik
2025-12-25 03:10:21 +03:00
parent 31030f2997
commit ce7e39debf
36 changed files with 1562 additions and 472 deletions

View File

@@ -37,7 +37,7 @@ export class NavigationService {
}
navigateToRoute(route: MainRoutes) {
// Убираем суб-меню перед переходом на другую страницу
// Убираем подменю перед переходом на другую страницу
if (route !== MainRoutes.NAVIGATION) {
this.navigationStore.setCurrentSubmenu(null)
}
@@ -71,7 +71,10 @@ export class NavigationService {
selectObjectAndGoToDashboard(objectId: string, objectTitle: string) {
this.navigationStore.setCurrentObject(objectId, objectTitle)
this.navigateToRoute(MainRoutes.DASHBOARD)
// Проверяем, что подменю закрыто перед навигацией
this.navigationStore.setCurrentSubmenu(null)
const url = `${MainRoutes.DASHBOARD}?objectId=${encodeURIComponent(objectId)}&objectTitle=${encodeURIComponent(objectTitle)}`
this.router.push(url)
}
}