CurrentSituation.vue 1.43 KB
Newer Older
Rémy Marronnier's avatar
Rémy Marronnier committed
1
<template>
Rémy Marronnier's avatar
Rémy Marronnier committed
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
  <v-list>
    <v-toolbar>
      <v-toolbar-title>Situation actuelle</v-toolbar-title>
      <v-spacer></v-spacer>
      <v-btn @click="edit">
        <v-icon left>mdi-pencil-outline</v-icon>Modifier
      </v-btn>
    </v-toolbar>
    <v-list-item-group>
      <v-list-item>
        <v-list-item-content>
          <v-list-item-title v-text="'Inscrit depuis : ' + this.inscription"></v-list-item-title>
        </v-list-item-content>
                  </v-list-item>
          <v-list-item>
        <v-list-item-content>
          <v-list-item-title v-text="'Catégorie demandeur d emploi : ' + this.category"></v-list-item-title>
        </v-list-item-content>
                  </v-list-item>
          <v-list-item>
        <v-list-item-content>
          <v-list-item-title v-text="'Type d allocation : ' + this.allocation_type"></v-list-item-title>
        </v-list-item-content>
                  </v-list-item>        
    </v-list-item-group>
  </v-list>
Rémy Marronnier's avatar
Rémy Marronnier committed
28 29 30 31 32 33 34 35 36 37 38 39 40 41
</template>

<script>
export default {
  name: "CurrentSituation",
  created() {
    this.inscription = this.$store.state.situation.inscription_period;
    this.category = this.$store.state.situation.category;
    this.allocation_type = this.$store.state.situation.allocation_type;
  },
  data: () => ({
    inscription: "",
    category: "",
    allocation_type: ""
Rémy Marronnier's avatar
Rémy Marronnier committed
42 43 44 45 46 47
  }),
  methods: {
    edit() {
      this.$router.push('questions/etes-vous-inscrit')
    }
  }
Rémy Marronnier's avatar
Rémy Marronnier committed
48 49 50 51 52
};
</script>

<style>
</style>