OtherSituations.vue 1.37 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>Autres situations</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="'Artiste ou technicien•ne du spectacle : ' + this.spectacle"></v-list-item-title>
        </v-list-item-content>
      </v-list-item>
      <v-list-item>
        <v-list-item-content>
          <v-list-item-title v-text="'Travailleur(euse) handicapé(e) : ' + this.disabled"></v-list-item-title>
        </v-list-item-content>
      </v-list-item>
      <v-list-item>
        <v-list-item-content>
          <v-list-item-title v-text="'Cadre en recherche : ' + this.manager"></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: "OtherSituations",
  created() {
    this.spectacle = this.$store.state.situation.spectacle;
    this.disabled = this.$store.state.situation.disabled;
    this.manager = this.$store.state.situation.manager;
  },
  data: () => ({
    spectacle: false,
    disabled: false,
    manager: false
Rémy Marronnier's avatar
Rémy Marronnier committed
42 43 44 45 46 47
  }),
  methods: {
    edit() {
      this.$router.push("questions/autres-situations");
    }
  }
Rémy Marronnier's avatar
Rémy Marronnier committed
48 49 50 51 52
};
</script>

<style>
</style>