|
|
@ -83,6 +83,9 @@ export default{
|
|
|
|
this.name='';
|
|
|
|
this.name='';
|
|
|
|
this.description='';
|
|
|
|
this.description='';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
Export:function(){
|
|
|
|
|
|
|
|
console.log(JSON.stringify(this.teams))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
template:
|
|
|
|
template:
|
|
|
@ -92,7 +95,7 @@ export default{
|
|
|
|
<span @click="myfun" style="cursor: pointer">Teams</span>
|
|
|
|
<span @click="myfun" style="cursor: pointer">Teams</span>
|
|
|
|
<span>Results</span>
|
|
|
|
<span>Results</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div v-if="clicked">
|
|
|
|
<div id="Teams" v-if="clicked">
|
|
|
|
<form @submit.prevent>
|
|
|
|
<form @submit.prevent>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
<label>{{errMessage}}</label><br/>
|
|
|
|
<label>{{errMessage}}</label><br/>
|
|
|
@ -118,6 +121,7 @@ export default{
|
|
|
|
:nom="team.name"
|
|
|
|
:nom="team.name"
|
|
|
|
:description="team.description">
|
|
|
|
:description="team.description">
|
|
|
|
</team-card>
|
|
|
|
</team-card>
|
|
|
|
|
|
|
|
<input type="submit" value="Export" v-on:click="Export"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`
|
|
|
|
`
|
|
|
|
}
|
|
|
|
}
|
|
|
|