32 lines
653 B
Plaintext
32 lines
653 B
Plaintext
<app>
|
|
<div class="columns">
|
|
<div class="column is-one-third">
|
|
<choixformation isSelected={isSelected}></choixformation>
|
|
</div>
|
|
|
|
<div class="column">
|
|
<statistiqueFormation formation={state.filiere} choix={state.choix}> </statistiqueFormation>
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
export default function todos() {
|
|
return {
|
|
onBeforeMount(props, state) {
|
|
// initial state
|
|
this.state = {
|
|
choix: '',
|
|
filiere: ''
|
|
};
|
|
},
|
|
isSelected(formation, fili){
|
|
this.update({
|
|
choix: formation,
|
|
filiere: fili
|
|
})
|
|
}
|
|
}
|
|
}
|
|
|
|
</script>
|
|
</app> |