From 6d5af39d50b311746e7422ecea4c69993af6834e Mon Sep 17 00:00:00 2001 From: AlGouvea Date: Tue, 13 Jul 2021 10:56:00 -0300 Subject: [PATCH] Alteracoes na listagem de parlamentar --- frontend/src/__apps/painel/main.js | 6 ++++-- sapl/templates/painel/index.html | 20 +++++++++++++++++++- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/frontend/src/__apps/painel/main.js b/frontend/src/__apps/painel/main.js index 6c7d53b5d..9b647b582 100644 --- a/frontend/src/__apps/painel/main.js +++ b/frontend/src/__apps/painel/main.js @@ -18,7 +18,8 @@ const v = new Vue({ // eslint-disable-line sessao_plenaria_hora_inicio: '', brasao: '', sessao_solene: false, - sessao_solene_tema: '' + sessao_solene_tema: '', + presentes:[] } }, methods: { @@ -32,6 +33,7 @@ const v = new Vue({ // eslint-disable-line this.sessao_plenaria_hora_inicio = 'Hora InĂ­cio: ' + response.sessao_plenaria_hora_inicio this.sessao_solene = response.sessao_solene this.sessao_solene_tema = response.sessao_solene_tema + this.presentes = response.presentes }.bind(this)) }, pollData () { @@ -40,7 +42,7 @@ const v = new Vue({ // eslint-disable-line this.polling = setInterval(() => { console.info('Fetching data from backend') this.fetchData() - }, 5000) + }, 500) } }, beforeDestroy () { diff --git a/sapl/templates/painel/index.html b/sapl/templates/painel/index.html index c02ba9bae..f86e54ca0 100644 --- a/sapl/templates/painel/index.html +++ b/sapl/templates/painel/index.html @@ -71,7 +71,25 @@

Parlamentares

- + + + + + + + + + + + + + + +