Commit 29d31e99 authored by Rémy Marronnier's avatar Rémy Marronnier

personal data almost there

parent 3192b3d7
<template>
<v-app>
<TopBar />
<!-- <TopBar /> -->
<v-content>
<Simulator />
</v-content>
<Footer />
<!-- <Footer /> -->
</v-app>
</template>
<script>
import Simulator from "./components/Simulator";
import TopBar from "./components/TopBar";
import Footer from "./components/Footer";
// import TopBar from "./components/TopBar";
// import Footer from "./components/Footer";
export default {
name: "App",
components: {
Simulator,
TopBar,
Footer
// TopBar,
// Footer
},
data: () => ({
......
<template>
<v-app-bar app color="primary" dark>
<v-app-bar class="display-1 justify-center align-center" app color="primary" dark>
<div class="d-flex align-center">
<v-img alt="Clara Logo" contain src="@/assets/clara-logo.svg" transition="scale-transition" />
......@@ -14,6 +14,10 @@ export default {
};
</script>
<style>
<style scoped>
header {
display: flex;
justify-content: center;
}
</style>
\ No newline at end of file
......@@ -2,7 +2,7 @@
<v-card>
<v-expansion-panels>
<v-expansion-panel>
<v-expansion-panel-header>Récapitulatif de ma situation</v-expansion-panel-header>
<v-expansion-panel-header class="display-1">Récapitulatif de ma situation</v-expansion-panel-header>
<v-expansion-panel-content>
<PersonalData />
<CurrentSituation />
......
<template>
<ul>
Situation actuelle
<li>Inscrit depuis : {{ this.inscription }}</li>
<li>Catégorie demandeur d'emploi : {{ this.category }}</li>
<li>Type d'allocation : {{ this.allocation_type }}</li>
</ul>
<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>
</template>
<script>
......@@ -19,7 +39,12 @@ export default {
inscription: "",
category: "",
allocation_type: ""
})
}),
methods: {
edit() {
this.$router.push('questions/etes-vous-inscrit')
}
}
};
</script>
......
<template>
<ul>
Autres situations
<li>Artiste ou technicien•ne du spectacle : {{ this.spectacle }}</li>
<li>Travailleur(euse) handicapé(e) : {{ this.disabled }}</li>
<li>Cadre en recherche : {{ this.manager }}</li>
</ul>
<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>
</template>
<script>
......@@ -19,7 +39,12 @@ export default {
spectacle: false,
disabled: false,
manager: false
})
}),
methods: {
edit() {
this.$router.push("questions/autres-situations");
}
}
};
</script>
......
......@@ -3,31 +3,34 @@
<v-toolbar>
<v-toolbar-title>Données personnelles</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn>
<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>Âge :</v-list-item-title>
{{ this.age }}
<v-list-item-title v-text="'Âge : ' + this.age + ' ans'"></v-list-item-title>
</v-list-item-content>
</v-list-item>
<v-list-item>
<v-list-item-content>
<v-list-item-title>Diplôme :</v-list-item-title>
{{ this.diploma }}
<v-list-item-title v-text="'Diplôme : ' + this.diploma"></v-list-item-title>
</v-list-item-content>
</v-list-item>
<v-list-item>
<v-list-item-content>
<v-list-item-title>Ville :</v-list-item-title>
{{ this.city }}
<v-list-item-title v-text="'Ville : ' + this.city"></v-list-item-title>
</v-list-item-content>
</v-list-item>
<v-list-item>
<v-list-item-content>
<v-list-item-title>Zone de revitalisation rurale :</v-list-item-title>
{{ this.zrr }}
<v-list-item-title v-text="'Zone de revitalisation rurale : ' + this.zrr"></v-list-item-title>
</v-list-item-content>
</v-list-item>
<v-list-item>
<v-list-item-content>
<v-list-item-title>Quartier prioritaire de la ville :</v-list-item-title>
{{ this.prioritary }}
<v-list-item-title v-text="'Quartier prioritaire de la ville : ' + this.prioritary"></v-list-item-title>
</v-list-item-content>
</v-list-item>
</v-list-item-group>
......@@ -49,7 +52,12 @@ export default {
city: 0,
zrr: "Non renseigné",
prioritary: "vérifier"
})
}),
methods: {
edit() {
this.$router.push('questions/votre-age')
}
}
};
</script>
......
......@@ -2,10 +2,6 @@ import { BAN_API_URL } from "./config";
export default function BANService(postcode) {
return fetch(BAN_API_URL.concat(postcode), {
// method: "GET",
// headers: {
// 'Accept': 'application/json',
// 'Content-Type': 'application/json'
// },
})
}
\ No newline at end of file
......@@ -3,11 +3,11 @@ import { ZRR_API_URL } from "./config";
export default function ZRRService(postcode) {
return fetch(ZRR_API_URL.concat(postcode), {
credentials: 'include',
method: "GET",
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json'
},
// credentials: 'include',
// method: "GET",
// headers: {
// 'Accept': 'application/json',
// 'Content-Type': 'application/json'
// },
})
}
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment