From 152c98325180c9700d0f5524d47fd7f9cefdae7f Mon Sep 17 00:00:00 2001 From: Guilherme Andrade Del Cantoni Date: Wed, 14 Mar 2018 17:26:14 -0300 Subject: [PATCH] Ajuste em telas de mapeamento de tipos de documento e hipóteses legais --- pen_map_hipotese_legal_envio_cadastrar.php | 10 +++++----- pen_map_hipotese_legal_envio_listar.php | 10 +++++----- pen_map_hipotese_legal_recebimento_cadastrar.php | 10 +++++----- pen_map_hipotese_legal_recebimento_listar.php | 23 +++++++++++------------ pen_map_tipo_documento_envio_cadastrar.php | 22 +++++++++++----------- pen_map_tipo_documento_envio_listar.php | 18 +++++++++--------- pen_map_tipo_documento_recebimento_cadastrar.php | 8 ++++---- pen_map_tipo_documento_recebimento_listar.php | 10 +++++----- 8 files changed, 55 insertions(+), 56 deletions(-) diff --git a/pen_map_hipotese_legal_envio_cadastrar.php b/pen_map_hipotese_legal_envio_cadastrar.php index b691bc3..6b5f327 100644 --- a/pen_map_hipotese_legal_envio_cadastrar.php +++ b/pen_map_hipotese_legal_envio_cadastrar.php @@ -10,7 +10,7 @@ session_start(); define('PEN_RECURSO_ATUAL', 'pen_map_hipotese_legal_envio_cadastrar'); define('PEN_RECURSO_BASE', 'pen_map_hipotese_legal_envio'); -define('PEN_PAGINA_TITULO', 'Mapeamento de Hipóteses Legais de Envio'); +define('PEN_PAGINA_TITULO', 'Mapeamento de Hipótese Legal para Envio'); define('PEN_PAGINA_GET_ID', 'id_mapeamento'); $objPagina = PaginaSEI::getInstance(); @@ -178,7 +178,7 @@ function onSubmit() { var field = jQuery('select[name=id_hipotese_legal]', form); if(field.val() === 'null'){ - alert('Nenhuma "Hipótese Legal - SEI getStrSiglaOrgaoUnidadeAtual())?>" foi selecionada'); + alert('Nenhuma "Hipótese Legal SEI - getStrSiglaOrgaoUnidadeAtual())?>" foi selecionada'); field.focus(); return false; } @@ -186,7 +186,7 @@ function onSubmit() { field = jQuery('select[name=id_barramento]', form); if(field.val() === 'null'){ - alert('Nenhum "Hipótese Legal - PEN" foi selecionado'); + alert('Nenhum "Hipótese Legal PEN" foi selecionado'); field.focus(); return false; } @@ -202,12 +202,12 @@ $objPagina->abrirBody($strTitulo,'onload="inicializar();"'); montarAreaValidacao(); ?> abrirAreaDados('12em'); ?> - + - + diff --git a/pen_map_hipotese_legal_envio_listar.php b/pen_map_hipotese_legal_envio_listar.php index 32c4350..3ffc3d8 100644 --- a/pen_map_hipotese_legal_envio_listar.php +++ b/pen_map_hipotese_legal_envio_listar.php @@ -12,7 +12,7 @@ session_start(); define('PEN_RECURSO_ATUAL', 'pen_map_hipotese_legal_envio_listar'); define('PEN_RECURSO_BASE', 'pen_map_hipotese_legal_envio'); -define('PEN_PAGINA_TITULO', 'Mapeamento de Hipóteses Legais de Envio'); +define('PEN_PAGINA_TITULO', 'Mapeamento de Hipóteses Legais para Envio'); define('PEN_PAGINA_GET_ID', 'id_mapeamento'); @@ -188,8 +188,8 @@ try { $strResultado .= ''; $strResultado .= ''.$objPagina->getThCheck().''."\n"; - $strResultado .= 'Hipótese Legal - SEI '.$objSessao->getStrSiglaOrgaoUnidadeAtual().''."\n"; - $strResultado .= 'Hipótese Legal - Tramitação PEN'."\n"; + $strResultado .= 'Hipótese Legal SEI - '.$objSessao->getStrSiglaOrgaoUnidadeAtual().''."\n"; + $strResultado .= 'Hipótese Legal PEN'."\n"; $strResultado .= 'Ações'."\n"; $strResultado .= ''."\n"; $strCssTr = ''; @@ -357,12 +357,12 @@ $objPagina->abrirBody(PEN_PAGINA_TITULO,'onload="inicializar();"'); montarAreaValidacao(); ?> abrirAreaDados('40px'); ?> - + - + diff --git a/pen_map_hipotese_legal_recebimento_cadastrar.php b/pen_map_hipotese_legal_recebimento_cadastrar.php index e5d1bac..c982637 100644 --- a/pen_map_hipotese_legal_recebimento_cadastrar.php +++ b/pen_map_hipotese_legal_recebimento_cadastrar.php @@ -10,7 +10,7 @@ session_start(); define('PEN_RECURSO_ATUAL', 'pen_map_hipotese_legal_recebimento_cadastrar'); define('PEN_RECURSO_BASE', 'pen_map_hipotese_legal_recebimento'); -define('PEN_PAGINA_TITULO', 'Mapeamento de Hipóteses Legais de Recebimento'); +define('PEN_PAGINA_TITULO', 'Mapeamento de Hipótese Legal para Recebimento'); define('PEN_PAGINA_GET_ID', 'id_mapeamento'); @@ -180,7 +180,7 @@ function onSubmit() { var field = jQuery('select[name=id_hipotese_legal]', form); if(field.val() === 'null' || !field.val()){ - alert('Nenhuma "Hipótese Legal - SEI getStrSiglaOrgaoUnidadeAtual(); ?>" foi selecionada'); + alert('Nenhuma "Hipótese Legal SEI - getStrSiglaOrgaoUnidadeAtual(); ?>" foi selecionada'); field.focus(); return false; } @@ -188,7 +188,7 @@ function onSubmit() { field = jQuery('select[name=id_barramento]', form); if(field.val() === 'null' || !field.val()){ - alert('Nenhum "Hipótese Legal - Tramitação PEN" foi selecionado'); + alert('Nenhum "Hipótese Legal PEN" foi selecionado'); field.focus(); return false; } @@ -204,12 +204,12 @@ $objPagina->abrirBody($strTitulo,'onload="inicializar();"'); montarAreaValidacao(); ?> abrirAreaDados('12em'); ?> - + - + diff --git a/pen_map_hipotese_legal_recebimento_listar.php b/pen_map_hipotese_legal_recebimento_listar.php index c904d76..5dfc2f1 100644 --- a/pen_map_hipotese_legal_recebimento_listar.php +++ b/pen_map_hipotese_legal_recebimento_listar.php @@ -17,7 +17,7 @@ session_start(); define('PEN_RECURSO_ATUAL', 'pen_map_hipotese_legal_recebimento_listar'); define('PEN_RECURSO_BASE', 'pen_map_hipotese_legal_recebimento'); -define('PEN_PAGINA_TITULO', 'Mapeamento de Hipóteses Legais de Recebimento'); +define('PEN_PAGINA_TITULO', 'Mapeamento de Hipóteses Legais para Recebimento'); define('PEN_PAGINA_GET_ID', 'id_mapeamento'); @@ -192,8 +192,8 @@ try { $strResultado .= ''; $strResultado .= ''.$objPagina->getThCheck().''."\n"; - $strResultado .= 'Hipótese Legal - SEI '.$objSessao->getStrSiglaOrgaoUnidadeAtual().''."\n"; - $strResultado .= 'Hipótese Legal - Tramitação PEN'."\n"; + $strResultado .= 'Hipótese Legal PEN'."\n"; + $strResultado .= 'Hipótese Legal SEI - '.$objSessao->getStrSiglaOrgaoUnidadeAtual().''."\n"; $strResultado .= 'Ações'."\n"; $strResultado .= ''."\n"; $strCssTr = ''; @@ -205,8 +205,8 @@ try { $strResultado .= ''; $strResultado .= ''.$objPagina->getTrCheck($index, $objPenRelHipoteseLegalDTO->getDblIdMap(), '').''; - $strResultado .= ''.$arrMapIdHipoteseLegal[$objPenRelHipoteseLegalDTO->getNumIdHipoteseLegal()].''; $strResultado .= ''.$arrMapIdBarramento[$objPenRelHipoteseLegalDTO->getNumIdBarramento()].''; + $strResultado .= ''.$arrMapIdHipoteseLegal[$objPenRelHipoteseLegalDTO->getNumIdHipoteseLegal()].''; $strResultado .= ''; //$strResultado .= 'Consultar Mapeamento'; @@ -362,16 +362,15 @@ $objPagina->abrirBody(PEN_PAGINA_TITULO,'onload="inicializar();"'); montarAreaValidacao(); ?> abrirAreaDados('40px'); ?> - - - - - disabled="disabled" readonly="readonly"> getNumIdBarramento(), $arrMapIdBarramento); ?> - + + + fecharAreaDados(); ?> diff --git a/pen_map_tipo_documento_envio_cadastrar.php b/pen_map_tipo_documento_envio_cadastrar.php index ee7bf48..21c2ea8 100644 --- a/pen_map_tipo_documento_envio_cadastrar.php +++ b/pen_map_tipo_documento_envio_cadastrar.php @@ -28,17 +28,17 @@ try { $arrComandos[] = ''; if(array_key_exists('codigo_especie', $_GET) && !empty($_GET['codigo_especie'])){ - $strTitulo = 'Editar Mapeamento de Envio'; + $strTitulo = 'Editar Mapeamento de Tipo de Documento para Envio'; } else { - $strTitulo = 'Novo Mapeamento de Envio'; + $strTitulo = 'Novo Mapeamento de Tipo de Documento para Envio'; } break; case 'pen_map_tipo_documento_envio_visualizar': $arrComandos[] = ''; $bolSomenteLeitura = true; - $strTitulo = 'Consultar Mapeamento de Envio'; + $strTitulo = 'Consultar Mapeamento de Tipo de Documento para Envio'; break; @@ -125,11 +125,11 @@ $objPaginaSEI->montarStyle(); ?> montarJavaScript(); ?> @@ -175,13 +175,13 @@ $objPaginaSEI->abrirBody($strTitulo,'onload="inicializar();"'); montarAreaValidacao(); ?> abrirAreaDados('12em'); ?> - - disabled="disabled" readonly="readonly"> getNumIdSerie(), $arrSerie); ?> - - disabled="disabled" readonly="readonly"> getNumCodigoEspecie(), $objTipoDocMapRN->listarParesEspecie()); ?> diff --git a/pen_map_tipo_documento_envio_listar.php b/pen_map_tipo_documento_envio_listar.php index da0ab43..e98190f 100644 --- a/pen_map_tipo_documento_envio_listar.php +++ b/pen_map_tipo_documento_envio_listar.php @@ -92,7 +92,7 @@ try { } //-------------------------------------------------------------------------- - $strTitulo = 'Lista dos Mapeamentos de Envio'; + $strTitulo = 'Lista dos Mapeamentos de Tipos de Documento para Envio'; $arrComandos = array(); $arrComandos[] = ''; @@ -140,8 +140,8 @@ try { $strResultado .= ''; $strResultado .= ''.$objPaginaSEI->getThCheck().''."\n"; - $strResultado .= 'Especie Documental'."\n"; - $strResultado .= 'Tipo de Documento'."\n"; + $strResultado .= 'Tipo de Documento SEI'."\n"; + $strResultado .= 'Espécie Documental PEN'."\n"; $strResultado .= 'Ações'."\n"; $strResultado .= ''."\n"; $strCssTr = ''; @@ -153,8 +153,8 @@ try { $strResultado .= ''; $strResultado .= ''.$objPaginaSEI->getTrCheck($index, $objPenRelTipoDocMapEnviadoDTO->getDblIdMap(), '').''; - $strResultado .= ''.$objPenRelTipoDocMapEnviadoDTO->getStrNomeEspecie().''; $strResultado .= ''.$objPenRelTipoDocMapEnviadoDTO->getStrNomeSerie().''; + $strResultado .= ''.$objPenRelTipoDocMapEnviadoDTO->getStrNomeEspecie().''; $strResultado .= ''; if($objSessaoSEI->verificarPermissao('pen_map_tipo_documento_envio_visualizar')) { @@ -312,12 +312,12 @@ $objPaginaSEI->abrirBody($strTitulo,'onload="inicializar();"'); montarBarraComandosSuperior($arrComandos); ?> montarAreaValidacao(); ?> abrirAreaDados('40px'); ?> - - - - - + + + + + fecharAreaDados(); ?> diff --git a/pen_map_tipo_documento_recebimento_cadastrar.php b/pen_map_tipo_documento_recebimento_cadastrar.php index cc82cb8..5924332 100644 --- a/pen_map_tipo_documento_recebimento_cadastrar.php +++ b/pen_map_tipo_documento_recebimento_cadastrar.php @@ -30,17 +30,17 @@ try { $bolDesativarCampos = false; if(array_key_exists('codigo_especie', $_GET) && !empty($_GET['codigo_especie'])){ - $strTitulo = 'Editar Mapeamento de Recebimento'; + $strTitulo = 'Editar Mapeamento de Tipo de Documento para Recebimento'; } else { - $strTitulo = 'Novo Mapeamento de Recebimento'; + $strTitulo = 'Novo Mapeamento de Tipo de Documento para Recebimento'; } break; case 'pen_map_tipo_documento_recebimento_visualizar': $arrComandos[] = ''; $bolSomenteLeitura = true; - $strTitulo = 'Consultar Mapeamento de Recebimento'; + $strTitulo = 'Consultar Mapeamento Tipo de Documento para Recebimento'; break; @@ -181,7 +181,7 @@ $objPaginaSEI->abrirBody($strTitulo,'onload="inicializar();"'); getNumCodigoEspecie(), $arrEspecieDocumental); ?> - + diff --git a/pen_map_tipo_documento_recebimento_listar.php b/pen_map_tipo_documento_recebimento_listar.php index ebf020c..e31a881 100644 --- a/pen_map_tipo_documento_recebimento_listar.php +++ b/pen_map_tipo_documento_recebimento_listar.php @@ -73,7 +73,7 @@ try { } //-------------------------------------------------------------------------- - $strTitulo = 'Lista dos Mapeamentos de Recebimento'; + $strTitulo = 'Lista dos Mapeamentos de Tipos de Documento para Recebimento'; $arrComandos = array(); $arrComandos[] = ''; @@ -119,8 +119,8 @@ try { $strResultado .= ''; $strResultado .= ''.$objPaginaSEI->getThCheck().''."\n"; - $strResultado .= 'Especie Documental'."\n"; - $strResultado .= 'Tipo de Documento'."\n"; + $strResultado .= 'Espécie Documental PEN'."\n"; + $strResultado .= 'Tipo de Documento SEI'."\n"; $strResultado .= 'Ações'."\n"; $strResultado .= ''."\n"; $strCssTr = ''; @@ -260,10 +260,10 @@ $objPaginaSEI->abrirBody($strTitulo,'onload="inicializar();"'); montarBarraComandosSuperior($arrComandos); ?> montarAreaValidacao(); ?> abrirAreaDados('40px'); ?> - + - + fecharAreaDados(); ?> -- libgit2 0.21.2