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