fix: alinhar criterios 100% com documento PDF oficial
Backend: - Reescrever criterios_pontuacao.py com valores corretos do PDF - Adicionar Blocos B e E ao enum - Corrigir Base/Teto: AVAL_COMIS_GP (40), COORD_COMIS_PREMIO (40), COORD_COMIS_GP (50), PROJ teto (30) - Orientacoes/Bancas agora sao selos (Base=0, Teto=0) - CONS_FALECIDO agora pontua tempo (5 pts/ano) - Remover codigos obsoletos (PREMIACAO, MENCAO, BOL_BPQ_SUP/INT) - Usar apenas BOL_BPQ_NIVEL, PREMIACAO_*_AUTOR, MENCAO_AUTOR - Atualizar ranking_store.py e validar_ranking.py Frontend: - Atualizar ConsultorCard e CompararModal com codigos corretos - Adicionar logo CAPES em PNG com transparencia - Ajustar espacamento do header e tamanho das fontes - Mapear pasta public no docker-compose
This commit is contained in:
@@ -41,9 +41,9 @@ const gerarSelos = (consultor) => {
|
||||
).length;
|
||||
|
||||
const addPremSelo = (papel, codBase, seloGP, seloPremio, seloMencao) => {
|
||||
const gp = contarPrem(papel, 'PREMIACAO');
|
||||
const premio = contarPrem(papel, 'PREMIACAO_GP');
|
||||
const mencao = contarPrem(papel, 'MENCAO');
|
||||
const gp = contarPrem(papel, 'PREMIACAO_GP_AUTOR');
|
||||
const premio = contarPrem(papel, 'PREMIACAO_AUTOR');
|
||||
const mencao = contarPrem(papel, 'MENCAO_AUTOR');
|
||||
if (gp > 0) selos.push({ ...seloGP, qtd: gp });
|
||||
if (premio > 0) selos.push({ ...seloPremio, qtd: premio });
|
||||
if (mencao > 0) selos.push({ ...seloMencao, qtd: mencao });
|
||||
|
||||
Reference in New Issue
Block a user