Eligible.vue 872 Bytes
Newer Older
Rémy Marronnier's avatar
Rémy Marronnier committed
1 2 3
<template>
  <v-card>
    <v-expansion-panels>
Rémy Marronnier's avatar
wip  
Rémy Marronnier committed
4
      <v-expansion-panel>
Rémy Marronnier's avatar
Rémy Marronnier committed
5 6 7 8 9 10 11 12
        <v-expansion-panel-header>Vous pouvez bénéficier de**tout déplier**</v-expansion-panel-header>
        <v-expansion-panel-content>
          <Contract
            v-for="(aids, contractType) in contracts"
            :key="(contractType)"
            v-bind:aids="aids"
            v-bind:contractType="contractType"
          ></Contract>
Rémy Marronnier's avatar
wip  
Rémy Marronnier committed
13
        </v-expansion-panel-content>
Rémy Marronnier's avatar
Rémy Marronnier committed
14 15 16 17 18
      </v-expansion-panel>
    </v-expansion-panels>
  </v-card>
</template>
 <script>
Rémy Marronnier's avatar
wip  
Rémy Marronnier committed
19
import Contract from "@/components/results/aids/Contract";
Rémy Marronnier's avatar
Rémy Marronnier committed
20
export default {
Rémy Marronnier's avatar
wip  
Rémy Marronnier committed
21 22 23
  name: "Eligible",
  components: {
    Contract
Rémy Marronnier's avatar
Rémy Marronnier committed
24
  },
Rémy Marronnier's avatar
Rémy Marronnier committed
25 26 27 28 29 30 31 32 33
  // data() {
  //   return {
  //     contracts: {}
  //   };
  // },
  computed: {
    contracts() {
      return this.$store.state.results.eligible;
    }
Rémy Marronnier's avatar
wip  
Rémy Marronnier committed
34
  }
Rémy Marronnier's avatar
Rémy Marronnier committed
35 36 37 38 39
};
</script>
 
 <style>
</style>