All files / src/views ProvidingActivitiesPage.vue

0% Statements 0/29
0% Branches 0/4
0% Functions 0/12
0% Lines 0/29

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>
    <v-row class="align-center">
        <v-col 
            class="mt-4 text--lighten-1 font-weight-light"
        >
             <v-item-group mandatory>
    <v-container>
      <v-row class="justify-center ">
        <v-col
          v-for="n in activates"
          :key="n"
          cols="4"
          md="2"
        >
          <v-item v-slot="{ isSelected, toggle }">
            <v-btn
                :color="isSelected ? 'primary' : ''"
                class="d-flex align-center pa-6"
                dark
                :href="n.link" 
                :target="n.link?'_blank':''" 
            >
              <v-scroll-y-transition>
                <div
                  class="text-h5 text-grey flex-grow-1 text-center"
                  
                >
                
                 
                 {{n.name}}
                </div>
              </v-scroll-y-transition>
            </v-btn>
          </v-item>
        </v-col>
      </v-row>
    </v-container>
  </v-item-group>
        </v-col>
    </v-row>
</template>
 
<script>
import {pagecounter} from '@/utils/universal_functions'
 
export default {
    setup(){
      pagecounter()
        const activates = [
            {name: 'Комиссии', link: 'http://10.252.44.33/accounting6/SOTRYDNIKI.php#tab_committees'},
            {name: 'Ответственность', link: 'http://10.252.44.33/accounting6/SOTRYDNIKI.php#tab_departments'},
            ]

        return {activates}
    }
}
</script>
 
<style>

</style>