Sobes.tech

Company overview

ФПК РЖД

Վերջին թափուր տեղը: Տվյալ չկա

Թափուր տեղեր
0
Հարցազրույցներ
1
Հարցեր
18
Առաջադրանքներ
0

Published in the selected period

Թափուր տեղեր · 0

All company vacancies

No vacancies were found for the selected period.

Published records

Հարցազրույցներ · 1

All company interviews

Other direction

Հարցազրույցներ · 1

Grouped by direction

Հարցեր և առաջադրանքներ · 18

Other direction

Հարցեր · 18

<template> <h1>Վահանակի բաժին</h1> <div class="dashboards-wrapper"> <button class="btn" v-for="(dashboard,ind) in dashboardArr" :key="ind" @click="switchDashboard(dashboard)"> {{ dashboard }} </button> </div> <div v-if="crntDashboard==='Ներգաղթած ուղևորների վահանակ'"> <passengers-dashboard :props="dataToDashboards"/> </div> <div v-else-if="crntDashboard==='Վագոնների վերլուծություն'"> <trains-dashboard :props="dataToDashboards"/> </div> <div v-else-if="crntDashboard==='Տրանսպորտավորված կատուների մոնիտորինգ'"> <cats-dashboard :props="dataToDashboards"/> </div> </template> <script setup> const dashboardArr = ['Ներգաղթած ուղևորների վահանակ', 'Վագոնների վերլուծություն', 'Տրանսպորտավորված կատուների մոնիտորինգ'] const crntDashboard = ref('') function switchDashboard(dashboardName) { crntDashboard.value = dashboardName switch (dashboardName) { case 'Ներգաղթած ուղևորների վահանակ': dataToDashboards.value = getDataToPassengers() break case 'Վագոնների վերլուծություն': dataToDashboards.value = getDataToTrains() break case 'Տրանսպորտավորված կատուների մոնիտորինգ': dataToDashboards.value = getDataToCats() break } } const dataToDashboards = ref() async function getDataToPassengers() { const _data = await $fetch(`/app/passengers`) return _data } async function getDataToTrains() { const _data = await $fetch(`/app/trains`) return _data } async function getDataToCats() { const _data = await $fetch(`/app/cats`) return _data } </script>

middle+
ФПК РЖД - company overview - sobes.tech