Commit 30df2ea41c94f842b3781d4a5648311c979e0cfc
1 parent
463f1d89
Exists in
master
and in
21 other branches
Padronização de metadados do módulo e nomenclatura do procedimento Enviar Processo Externo
Showing
3 changed files
with
8 additions
and
8 deletions
Show diff stats
PENIntegracao.php
@@ -5,7 +5,7 @@ class PENIntegracao extends SeiIntegracao { | @@ -5,7 +5,7 @@ class PENIntegracao extends SeiIntegracao { | ||
5 | private static $strDiretorio; | 5 | private static $strDiretorio; |
6 | 6 | ||
7 | public function getNome() { | 7 | public function getNome() { |
8 | - return 'Módulo de Integração com o Barramento PEN'; | 8 | + return 'Integração Processo Eletrônico Nacional - PEN'; |
9 | } | 9 | } |
10 | 10 | ||
11 | public function getVersao() { | 11 | public function getVersao() { |
@@ -13,7 +13,7 @@ class PENIntegracao extends SeiIntegracao { | @@ -13,7 +13,7 @@ class PENIntegracao extends SeiIntegracao { | ||
13 | } | 13 | } |
14 | 14 | ||
15 | public function getInstituicao() { | 15 | public function getInstituicao() { |
16 | - return 'MPDG - Ministério do Planejamento, Desenvolvimento e Gestão'; | 16 | + return 'Ministério do Planejamento - MPDG (Projeto Colaborativo no Portal do SPB)'; |
17 | } | 17 | } |
18 | 18 | ||
19 | public function montarBotaoProcesso(ProcedimentoAPI $objSeiIntegracaoDTO) { | 19 | public function montarBotaoProcesso(ProcedimentoAPI $objSeiIntegracaoDTO) { |
@@ -58,7 +58,7 @@ class PENIntegracao extends SeiIntegracao { | @@ -58,7 +58,7 @@ class PENIntegracao extends SeiIntegracao { | ||
58 | //Apresenta o botão de expedir processo | 58 | //Apresenta o botão de expedir processo |
59 | if ($bolFlagAberto && $bolAcaoExpedirProcesso && $bolProcessoEstadoNormal && $objProcedimentoDTO->getStrStaNivelAcessoGlobalProtocolo() != ProtocoloRN::$NA_SIGILOSO) { | 59 | if ($bolFlagAberto && $bolAcaoExpedirProcesso && $bolProcessoEstadoNormal && $objProcedimentoDTO->getStrStaNivelAcessoGlobalProtocolo() != ProtocoloRN::$NA_SIGILOSO) { |
60 | $numTabBotao = $objPaginaSEI->getProxTabBarraComandosSuperior(); | 60 | $numTabBotao = $objPaginaSEI->getProxTabBarraComandosSuperior(); |
61 | - $strAcoesProcedimento .= '<a id="validar_expedir_processo" href="' . $objPaginaSEI->formatarXHTML($objSessaoSEI->assinarLink('controlador.php?acao=pen_procedimento_expedir&acao_origem=procedimento_visualizar&acao_retorno=arvore_visualizar&id_procedimento=' . $dblIdProcedimento . '&arvore=1')) . '" tabindex="' . $numTabBotao . '" class="botaoSEI"><img class="infraCorBarraSistema" src="' . $this->getDiretorioImagens() . '/pen_expedir_procedimento.gif" alt="Tramitar Externamente" title="Tramitar Externamente" /></a>'; | 61 | + $strAcoesProcedimento .= '<a id="validar_expedir_processo" href="' . $objPaginaSEI->formatarXHTML($objSessaoSEI->assinarLink('controlador.php?acao=pen_procedimento_expedir&acao_origem=procedimento_visualizar&acao_retorno=arvore_visualizar&id_procedimento=' . $dblIdProcedimento . '&arvore=1')) . '" tabindex="' . $numTabBotao . '" class="botaoSEI"><img class="infraCorBarraSistema" src="' . $this->getDiretorioImagens() . '/pen_expedir_procedimento.gif" alt="Envio Externo de Processo" title="Envio Externo de Processo" /></a>'; |
62 | } | 62 | } |
63 | 63 | ||
64 | //Apresenta o botão da página de recibos | 64 | //Apresenta o botão da página de recibos |
pen_procedimento_expedir.php
@@ -56,8 +56,8 @@ try { | @@ -56,8 +56,8 @@ try { | ||
56 | 56 | ||
57 | case 'pen_procedimento_expedir': | 57 | case 'pen_procedimento_expedir': |
58 | 58 | ||
59 | - $strTitulo = 'Tramitar Externamente'; | ||
60 | - $arrComandos[] = '<button type="button" accesskey="E" onclick="enviarForm(this)" value="Tramitar" class="infraButton" style="width:8%;"><span class="infraTeclaAtalho">T</span>ramitar</button>'; | 59 | + $strTitulo = 'Envio Externo de Processo'; |
60 | + $arrComandos[] = '<button type="button" accesskey="E" onclick="enviarForm(this)" value="Enviar" class="infraButton" style="width:8%;"><span class="infraTeclaAtalho">E</span>nviar</button>'; | ||
61 | $arrComandos[] = '<button type="button" accesskey="C" name="btnCancelar" value="Cancelar" onclick="location.href=\'' . $objPaginaSEI->formatarXHTML($objSessaoSEI->assinarLink('controlador.php?acao=' . $objPaginaSEI->getAcaoRetorno() . '&acao_origem=' . $_GET['acao'] . '&acao_destino=' . $_GET['acao'] . $strParametros)) . '\';" class="infraButton"><span class="infraTeclaAtalho">C</span>ancelar</button>'; | 61 | $arrComandos[] = '<button type="button" accesskey="C" name="btnCancelar" value="Cancelar" onclick="location.href=\'' . $objPaginaSEI->formatarXHTML($objSessaoSEI->assinarLink('controlador.php?acao=' . $objPaginaSEI->getAcaoRetorno() . '&acao_origem=' . $_GET['acao'] . '&acao_destino=' . $_GET['acao'] . $strParametros)) . '\';" class="infraButton"><span class="infraTeclaAtalho">C</span>ancelar</button>'; |
62 | 62 | ||
63 | //TODO: Avaliar a necessidade de validar cada um dos parâmetros do PEN exigidos por essa funcionalidade | 63 | //TODO: Avaliar a necessidade de validar cada um dos parâmetros do PEN exigidos por essa funcionalidade |
@@ -143,7 +143,7 @@ try { | @@ -143,7 +143,7 @@ try { | ||
143 | //Tratamento da ação de expedir o procedimento | 143 | //Tratamento da ação de expedir o procedimento |
144 | if(isset($_POST['sbmExpedir'])) { | 144 | if(isset($_POST['sbmExpedir'])) { |
145 | 145 | ||
146 | - $strTituloPagina = "Tramitação do processo $strProtocoloProcedimentoFormatado"; | 146 | + $strTituloPagina = "Envio externo do processo $strProtocoloProcedimentoFormatado"; |
147 | $objPaginaSEI->prepararBarraProgresso($strTitulo, $strTituloPagina); | 147 | $objPaginaSEI->prepararBarraProgresso($strTitulo, $strTituloPagina); |
148 | 148 | ||
149 | $objExpedirProcedimentoDTO = new ExpedirProcedimentoDTO(); | 149 | $objExpedirProcedimentoDTO = new ExpedirProcedimentoDTO(); |
@@ -549,7 +549,7 @@ $objPaginaSEI->montarBarraComandosSuperior($arrComandos); | @@ -549,7 +549,7 @@ $objPaginaSEI->montarBarraComandosSuperior($arrComandos); | ||
549 | </div> | 549 | </div> |
550 | 550 | ||
551 | <div id="divRepositorioEstruturas" class="infraAreaDados" style="height: 4.5em;"> | 551 | <div id="divRepositorioEstruturas" class="infraAreaDados" style="height: 4.5em;"> |
552 | - <label id="lblRepositorioEstruturas" for="selRepositorioEstruturas" accesskey="" class="infraLabelObrigatorio">Repositorio de Estruturas Organizacionais:</label> | 552 | + <label id="lblRepositorioEstruturas" for="selRepositorioEstruturas" accesskey="" class="infraLabelObrigatorio">Repositório de Estruturas Organizacionais:</label> |
553 | <select id="selRepositorioEstruturas" name="selRepositorioEstruturas" class="infraSelect" onchange="selecionarRepositorio();" tabindex="<?= $objPaginaSEI->getProxTabDados() ?>" > | 553 | <select id="selRepositorioEstruturas" name="selRepositorioEstruturas" class="infraSelect" onchange="selecionarRepositorio();" tabindex="<?= $objPaginaSEI->getProxTabDados() ?>" > |
554 | <?= $strItensSelRepositorioEstruturas ?> | 554 | <?= $strItensSelRepositorioEstruturas ?> |
555 | </select> | 555 | </select> |
pen_procedimento_expedir_validar.php
@@ -69,7 +69,7 @@ try { | @@ -69,7 +69,7 @@ try { | ||
69 | } | 69 | } |
70 | 70 | ||
71 | if(!array_key_exists('selRepositorioEstruturas', $_POST) || empty($_POST['selRepositorioEstruturas'])) { | 71 | if(!array_key_exists('selRepositorioEstruturas', $_POST) || empty($_POST['selRepositorioEstruturas'])) { |
72 | - $objInfraException->adicionarValidacao('Informe o Repositorio de Estruturas Organizacionais', $strProtocoloFormatado); | 72 | + $objInfraException->adicionarValidacao('Informe o Repositório de Estruturas Organizacionais', $strProtocoloFormatado); |
73 | } | 73 | } |
74 | 74 | ||
75 | if(!array_key_exists('hdnIdUnidade', $_POST) || empty($_POST['hdnIdUnidade'])) { | 75 | if(!array_key_exists('hdnIdUnidade', $_POST) || empty($_POST['hdnIdUnidade'])) { |