mirror of https://github.com/interlegis/sapl.git
10 changed files with 194 additions and 71 deletions
@ -0,0 +1,35 @@ |
|||
<template> |
|||
<div class="col-md-6 text-center painel" id="obs_materia_div"> |
|||
<h2 class="text-subtitle" id="mat_em_votacao">Matéria em Votação</h2> |
|||
<span id="materia_legislativa_texto" class="text-value">{{ materia.texto }}</span> |
|||
<br> |
|||
<span id="materia_legislativa_ementa" class="text-value">{{ materia.ementa }} </span> |
|||
<br> |
|||
<span id="observacao_materia" class="text-value">{{ materia.observacao }}</span> |
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
name: 'PainelMateria', |
|||
data() { |
|||
return { |
|||
materia: { |
|||
texto: '', |
|||
ementa: '', |
|||
observacao: '', |
|||
} |
|||
}; |
|||
}, |
|||
mounted() { |
|||
console.log('PainelMateria mounted'); |
|||
}, |
|||
beforeDestroy() { |
|||
|
|||
}, |
|||
}; |
|||
</script> |
|||
|
|||
<style scoped> |
|||
/* Optional styling */ |
|||
</style> |
|||
@ -0,0 +1,31 @@ |
|||
<template> |
|||
<div class="col-md-6 text-center painel" id="aparecer_oradores"> |
|||
<h2 class="text-subtitle">Oradores</h2> |
|||
<table id="oradores_list"> |
|||
<tr v-for="o in oradores" :key="o.ordem_pronunciamento"><td style="padding-right:20px; color:white"> |
|||
{{ o.ordem_pronunciamento }}º   {{ o.nome_parlamentar }}</td> |
|||
</tr> |
|||
</table> |
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
name: 'PainelOradores', |
|||
data() { |
|||
return { |
|||
oradores: [], |
|||
}; |
|||
}, |
|||
mounted() { |
|||
console.log('PainelOradores mounted'); |
|||
}, |
|||
beforeDestroy() { |
|||
|
|||
}, |
|||
}; |
|||
</script> |
|||
|
|||
<style scoped> |
|||
/* Optional styling */ |
|||
</style> |
|||
@ -0,0 +1,47 @@ |
|||
<template> |
|||
<div class="col-md-6 text-left painel" id="resultado_votacao_div"> |
|||
<div class="d-flex align-items-left justify-content-left mb-2"> |
|||
<h2 class="text-subtitle mb-0">Resultado</h2> |
|||
</div> |
|||
<div id="box_votacao"> |
|||
<div id="votacao" class="text-value"> |
|||
<li>Sim: {{ resultado.numero_votos.votos_sim }}</li> |
|||
<li>Não: {{ resultado.numero_votos.votos_nao }}</li> |
|||
<li>Abstenções: {{ resultado.numero_votos.abstencoes }}</li> |
|||
<li>Presentes: {{ resultado.numero_votos.num_presentes }}</li> |
|||
<li>Total votos: {{ resultado.numero_votos.total_votos }}</li> |
|||
</div> |
|||
<div id="resultado_votacao" class="text-title">{{ resultado.resultado_votacao }}</div> |
|||
</div> |
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
name: 'PainelResultado', |
|||
data() { |
|||
return { |
|||
resultado: { |
|||
numero_votos: { |
|||
votos_sim: 0, |
|||
votos_nao: 0, |
|||
abstencoes: 0, |
|||
total_votos: 0, |
|||
num_presentes: 0, |
|||
}, |
|||
resultado_votacao: '', |
|||
} |
|||
}; |
|||
}, |
|||
mounted() { |
|||
console.log('PainelResultado mounted'); |
|||
}, |
|||
beforeDestroy() { |
|||
|
|||
}, |
|||
}; |
|||
</script> |
|||
|
|||
<style scoped> |
|||
/* Optional styling */ |
|||
</style> |
|||
Loading…
Reference in new issue