Sobes.tech

Company overview

ФПК РЖД

Naujausia pozicija: Nėra duomenų

Pozicijos
0
Pokalbiai
1
Klausimai
18
Užduotys
0

Published in the selected period

Pozicijos · 0

All company vacancies

No vacancies were found for the selected period.

Published records

Pokalbiai · 1

All company interviews

Other direction

Pokalbiai · 1

Grouped by direction

Klausimai ir užduotys · 18

Other direction

Klausimai · 18

<template> <h1>Valdymo skydelio skyrius</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==='Pervežtų keleivių valdymo skydelis'"> <passengers-dashboard :props="dataToDashboards"/> </div> <div v-else-if="crntDashboard==='Analizė pagal traukinius'"> <trains-dashboard :props="dataToDashboards"/> </div> <div v-else-if="crntDashboard==='Pervežtų kačių stebėsena'"> <cats-dashboard :props="dataToDashboards"/> </div> </template> <script setup> const dashboardArr = ['Pervežtų keleivių valdymo skydelis', 'Analizė pagal traukinius', 'Pervežtų kačių stebėsena'] const crntDashboard = ref('') function switchDashboard(dashboardName) { crntDashboard.value = dashboardName switch (dashboardName) { case 'Pervežtų keleivių valdymo skydelis': dataToDashboards.value = getDataToPassengers() break case 'Analizė pagal traukinius': dataToDashboards.value = getDataToTrains() break case 'Pervežtų kačių stebėsena': 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