All files / src/views AboutInspectionPage.vue

0% Statements 0/19
100% Branches 0/0
0% Functions 0/7
0% Lines 0/19

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61                                                                                                                         
<template>
  <pattern-tabs :tabs="tabs_items">
    <template v-slot:item>
      <v-window-item class="gap h-100" value="mainInfo">
        <general-information />
      </v-window-item>
      <v-window-item class="gap h-100" value="structureInspection">
        <structure-inspection />
      </v-window-item>
      <v-window-item class="gap h-100" value="openVacancies">
       <open-vacancies/>
      </v-window-item>
      <v-window-item class="gap h-100" value="contactInfo">
        <contact-info />
      </v-window-item>
    </template>
  </pattern-tabs>
</template>
 
<script>
import StructureInspection from "@/components/about_inspection/structure/StructureInspection.vue";
import ContactInfo from "@/components/about_inspection/contacts/ContactInfo.vue";
import { pagecounter } from "@/utils/universal_functions";
import PatternTabs from "@/components/UI/PatternTabs.vue";
import GeneralInformation from "@/components/about_inspection/general_information/GeneralInformation.vue";
import OpenVacancies from '@/components/about_inspection/open_vacancies/OpenVacancies.vue';
 
export default {
  components: {
    StructureInspection,
    ContactInfo,
    PatternTabs,
    GeneralInformation,
    OpenVacancies
  },
 
  setup() {
 
       pagecounter();
    return {
      tabs_items: [
        { title: "Общая информация", value: "mainInfo" },
        { title: "Структура инспекции", value: "structureInspection" },
        { title: "Открытые вакансии", value: "openVacancies" },
        { title: "Контактная информация", value: "contactInfo" },
      ],
    };
  },
};
</script>
<style>
.active-tab {
  background-color: #e0f2f1;
  color: #004d40;
}
 
a {
  color: inherit;
}
</style>