Commit 7eb7e03bed368d71310fcd2d53a7ae90bcc9d074
1 parent
725e6958
Exists in
master
and in
21 other branches
Alteração de ordem de campos de mapeamento para envio e recebimento de documentos e hipóteses
Showing
4 changed files
with
27 additions
and
29 deletions
Show diff stats
pen_map_hipotese_legal_envio_cadastrar.php
@@ -178,7 +178,7 @@ function onSubmit() { | @@ -178,7 +178,7 @@ function onSubmit() { | ||
178 | var field = jQuery('select[name=id_hipotese_legal]', form); | 178 | var field = jQuery('select[name=id_hipotese_legal]', form); |
179 | 179 | ||
180 | if(field.val() === 'null'){ | 180 | if(field.val() === 'null'){ |
181 | - alert('Nenhuma "Hipótese Legal - SEI <?php print $objSessao->getStrSiglaOrgaoUnidadeAtual(); ?>" foi selecionada'); | 181 | + alert('Nenhuma "Hipótese Legal - SEI <?=PaginaSEI::tratarHTML($objSessao->getStrSiglaOrgaoUnidadeAtual())?>" foi selecionada'); |
182 | field.focus(); | 182 | field.focus(); |
183 | return false; | 183 | return false; |
184 | } | 184 | } |
@@ -186,7 +186,7 @@ function onSubmit() { | @@ -186,7 +186,7 @@ function onSubmit() { | ||
186 | field = jQuery('select[name=id_barramento]', form); | 186 | field = jQuery('select[name=id_barramento]', form); |
187 | 187 | ||
188 | if(field.val() === 'null'){ | 188 | if(field.val() === 'null'){ |
189 | - alert('Nenhum "Hipótese Legal - Tramitação PEN" foi selecionado'); | 189 | + alert('Nenhum "Hipótese Legal - PEN" foi selecionado'); |
190 | field.focus(); | 190 | field.focus(); |
191 | return false; | 191 | return false; |
192 | } | 192 | } |
@@ -202,13 +202,12 @@ $objPagina->abrirBody($strTitulo,'onload="inicializar();"'); | @@ -202,13 +202,12 @@ $objPagina->abrirBody($strTitulo,'onload="inicializar();"'); | ||
202 | <?php $objPagina->montarAreaValidacao(); ?> | 202 | <?php $objPagina->montarAreaValidacao(); ?> |
203 | <?php $objPagina->abrirAreaDados('12em'); ?> | 203 | <?php $objPagina->abrirAreaDados('12em'); ?> |
204 | 204 | ||
205 | - <label for="id_hipotese_legal" class="infraLabelObrigatorio input-label-first">Hipótese Legal - SEI <?php print $objSessao->getStrSiglaOrgaoUnidadeAtual(); ?>:</label> | ||
206 | - | 205 | + <label for="id_hipotese_legal" class="infraLabelObrigatorio input-label-first">Hipótese Legal - SEI <?=PaginaSEI::tratarHTML($objSessao->getStrSiglaOrgaoUnidadeAtual())?> :</label> |
207 | <select name="id_hipotese_legal" class="infraSelect input-field-first"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>> | 206 | <select name="id_hipotese_legal" class="infraSelect input-field-first"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>> |
208 | <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelHipoteseLegalDTO->getNumIdHipoteseLegal(), $arrMapIdHipoteseLegal); ?> | 207 | <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelHipoteseLegalDTO->getNumIdHipoteseLegal(), $arrMapIdHipoteseLegal); ?> |
209 | </select> | 208 | </select> |
210 | 209 | ||
211 | - <label for="id_barramento" class="infraLabelObrigatorio input-label-third">Hipótese Legal - Tramitação PEN:</label> | 210 | + <label for="id_barramento" class="infraLabelObrigatorio input-label-third">Hipótese Legal - PEN:</label> |
212 | <select name="id_barramento" class="infraSelect input-field-third"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>> | 211 | <select name="id_barramento" class="infraSelect input-field-third"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>> |
213 | <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelHipoteseLegalDTO->getNumIdBarramento(), $arrMapIdBarramento); ?> | 212 | <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelHipoteseLegalDTO->getNumIdBarramento(), $arrMapIdBarramento); ?> |
214 | </select> | 213 | </select> |
pen_map_hipotese_legal_recebimento_cadastrar.php
@@ -159,11 +159,11 @@ $objPagina->montarStyle(); | @@ -159,11 +159,11 @@ $objPagina->montarStyle(); | ||
159 | ?> | 159 | ?> |
160 | <style type="text/css"> | 160 | <style type="text/css"> |
161 | 161 | ||
162 | -.input-label-first{position:absolute;left:0%;top:0%;width:25%; color: #666!important} | ||
163 | -.input-field-first{position:absolute;left:0%;top:15%;width:25%} | 162 | +.input-label-first{position:absolute;left:0%;top:40%;width:25%; color: #666!important} |
163 | +.input-field-first{position:absolute;left:0%;top:55%;width:25%} | ||
164 | 164 | ||
165 | -.input-label-third {position:absolute;left:0%;top:40%;width:25%; color:#666!important} | ||
166 | -.input-field-third {position:absolute;left:0%;top:55%;width:25%;} | 165 | +.input-label-third {position:absolute;left:0%;top:00%;width:25%; color:#666!important} |
166 | +.input-field-third {position:absolute;left:0%;top:15%;width:25%;} | ||
167 | 167 | ||
168 | </style> | 168 | </style> |
169 | <?php $objPagina->montarJavaScript(); ?> | 169 | <?php $objPagina->montarJavaScript(); ?> |
@@ -204,16 +204,15 @@ $objPagina->abrirBody($strTitulo,'onload="inicializar();"'); | @@ -204,16 +204,15 @@ $objPagina->abrirBody($strTitulo,'onload="inicializar();"'); | ||
204 | <?php $objPagina->montarAreaValidacao(); ?> | 204 | <?php $objPagina->montarAreaValidacao(); ?> |
205 | <?php $objPagina->abrirAreaDados('12em'); ?> | 205 | <?php $objPagina->abrirAreaDados('12em'); ?> |
206 | 206 | ||
207 | - <label for="id_hipotese_legal" class="infraLabelObrigatorio input-label-first">Hipótese Legal - SEI <?php print $objSessao->getStrSiglaOrgaoUnidadeAtual(); ?>:</label> | ||
208 | - | ||
209 | - <select name="id_hipotese_legal" class="infraSelect input-field-first"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>> | ||
210 | - <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelHipoteseLegalDTO->getNumIdHipoteseLegal(), $arrMapIdHipoteseLegal); ?> | ||
211 | - </select> | ||
212 | - | ||
213 | <label for="id_barramento" class="infraLabelObrigatorio input-label-third">Hipótese Legal - Tramitação PEN:</label> | 207 | <label for="id_barramento" class="infraLabelObrigatorio input-label-third">Hipótese Legal - Tramitação PEN:</label> |
214 | <select name="id_barramento" class="infraSelect input-field-third"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>> | 208 | <select name="id_barramento" class="infraSelect input-field-third"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>> |
215 | <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelHipoteseLegalDTO->getNumIdBarramento(), $arrMapIdBarramento); ?> | 209 | <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelHipoteseLegalDTO->getNumIdBarramento(), $arrMapIdBarramento); ?> |
216 | </select> | 210 | </select> |
211 | + | ||
212 | + <label for="id_hipotese_legal" class="infraLabelObrigatorio input-label-first">Hipótese Legal - SEI <?php print $objSessao->getStrSiglaOrgaoUnidadeAtual(); ?>:</label> | ||
213 | + <select name="id_hipotese_legal" class="infraSelect input-field-first"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>> | ||
214 | + <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelHipoteseLegalDTO->getNumIdHipoteseLegal(), $arrMapIdHipoteseLegal); ?> | ||
215 | + </select> | ||
217 | 216 | ||
218 | <?php print $objPagina->fecharAreaDados(); ?> | 217 | <?php print $objPagina->fecharAreaDados(); ?> |
219 | </form> | 218 | </form> |
pen_map_tipo_documento_envio_cadastrar.php
@@ -9,7 +9,7 @@ require_once dirname(__FILE__) . '/../../SEI.php'; | @@ -9,7 +9,7 @@ require_once dirname(__FILE__) . '/../../SEI.php'; | ||
9 | try { | 9 | try { |
10 | 10 | ||
11 | session_start(); | 11 | session_start(); |
12 | - | 12 | + $objSessao = SessaoSEI::getInstance(); |
13 | $objPaginaSEI = PaginaSEI::getInstance(); | 13 | $objPaginaSEI = PaginaSEI::getInstance(); |
14 | 14 | ||
15 | SessaoSEI::getInstance()->validarLink(); | 15 | SessaoSEI::getInstance()->validarLink(); |
@@ -125,11 +125,11 @@ $objPaginaSEI->montarStyle(); | @@ -125,11 +125,11 @@ $objPaginaSEI->montarStyle(); | ||
125 | ?> | 125 | ?> |
126 | <style type="text/css"> | 126 | <style type="text/css"> |
127 | 127 | ||
128 | -.input-label-first{position:absolute;left:0%;top:0%;width:25%; color: #666!important} | ||
129 | -.input-field-first{position:absolute;left:0%;top:15%;width:25%} | 128 | +.input-label-first{position:absolute;left:0%;top:40 |
129 | +.input-field-first{position:absolute;left:0%;top:55%;width:25%} | ||
130 | 130 | ||
131 | -.input-label-third {position:absolute;left:0%;top:40%;width:25%; color:#666!important} | ||
132 | -.input-field-third {position:absolute;left:0%;top:55%;width:25%;} | 131 | +.input-label-third {position:absolute;left:0%;top:0%;width:25%; color:#666!important} |
132 | +.input-field-third {position:absolute;left:0%;top:15%;width:25%;} | ||
133 | 133 | ||
134 | </style> | 134 | </style> |
135 | <?php $objPaginaSEI->montarJavaScript(); ?> | 135 | <?php $objPaginaSEI->montarJavaScript(); ?> |
@@ -175,16 +175,15 @@ $objPaginaSEI->abrirBody($strTitulo,'onload="inicializar();"'); | @@ -175,16 +175,15 @@ $objPaginaSEI->abrirBody($strTitulo,'onload="inicializar();"'); | ||
175 | <?php //$objPaginaSEI->montarAreaValidacao(); ?> | 175 | <?php //$objPaginaSEI->montarAreaValidacao(); ?> |
176 | <?php $objPaginaSEI->abrirAreaDados('12em'); ?> | 176 | <?php $objPaginaSEI->abrirAreaDados('12em'); ?> |
177 | 177 | ||
178 | - <label for="codigo_especie" class="infraLabelObrigatorio input-label-first">Espécie Documental:</label> | ||
179 | - | ||
180 | - <select name="codigo_especie" class="infraSelect input-field-first"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>> | ||
181 | - <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelTipoDocMapEnviadoDTO->getNumCodigoEspecie(), $objTipoDocMapRN->listarParesEspecie()); ?> | ||
182 | - </select> | ||
183 | - | ||
184 | - <label for="id_serie" class="infraLabelObrigatorio input-label-third">Tipo de Documento:</label> | 178 | + <label for="id_serie" class="infraLabelObrigatorio input-label-third">Tipo de Documento - SEI <?=PaginaSEI::tratarHTML($objSessao->getStrSiglaOrgaoUnidadeAtual())?> :</label> |
185 | <select name="id_serie" class="infraSelect input-field-third"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>> | 179 | <select name="id_serie" class="infraSelect input-field-third"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>> |
186 | <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelTipoDocMapEnviadoDTO->getNumIdSerie(), $arrSerie); ?> | 180 | <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelTipoDocMapEnviadoDTO->getNumIdSerie(), $arrSerie); ?> |
187 | </select> | 181 | </select> |
182 | + | ||
183 | + <label for="codigo_especie" class="infraLabelObrigatorio input-label-first">Espécie Documental PEN:</label> | ||
184 | + <select name="codigo_especie" class="infraSelect input-field-first"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>> | ||
185 | + <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelTipoDocMapEnviadoDTO->getNumCodigoEspecie(), $objTipoDocMapRN->listarParesEspecie()); ?> | ||
186 | + </select> | ||
188 | 187 | ||
189 | <?php print $objPaginaSEI->fecharAreaDados(); ?> | 188 | <?php print $objPaginaSEI->fecharAreaDados(); ?> |
190 | </form> | 189 | </form> |
pen_map_tipo_documento_recebimento_cadastrar.php
@@ -10,6 +10,7 @@ try { | @@ -10,6 +10,7 @@ try { | ||
10 | 10 | ||
11 | session_start(); | 11 | session_start(); |
12 | 12 | ||
13 | + $objSessao = SessaoSEI::getInstance(); | ||
13 | $objPaginaSEI = PaginaSEI::getInstance(); | 14 | $objPaginaSEI = PaginaSEI::getInstance(); |
14 | 15 | ||
15 | SessaoSEI::getInstance()->validarLink(); | 16 | SessaoSEI::getInstance()->validarLink(); |
@@ -175,12 +176,12 @@ $objPaginaSEI->abrirBody($strTitulo,'onload="inicializar();"'); | @@ -175,12 +176,12 @@ $objPaginaSEI->abrirBody($strTitulo,'onload="inicializar();"'); | ||
175 | <?php //$objPaginaSEI->montarAreaValidacao(); ?> | 176 | <?php //$objPaginaSEI->montarAreaValidacao(); ?> |
176 | <?php $objPaginaSEI->abrirAreaDados('12em'); ?> | 177 | <?php $objPaginaSEI->abrirAreaDados('12em'); ?> |
177 | 178 | ||
178 | - <label for="codigo_especie" class="infraLabelObrigatorio input-label-first">Espécie Documental:</label> | 179 | + <label for="codigo_especie" class="infraLabelObrigatorio input-label-first">Espécie Documental PEN:</label> |
179 | <select name="codigo_especie" class="infraSelect input-field-first"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>> | 180 | <select name="codigo_especie" class="infraSelect input-field-first"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>> |
180 | <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelTipoDocMapRecebidoDTO->getNumCodigoEspecie(), $arrEspecieDocumental); ?> | 181 | <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelTipoDocMapRecebidoDTO->getNumCodigoEspecie(), $arrEspecieDocumental); ?> |
181 | </select> | 182 | </select> |
182 | 183 | ||
183 | - <label for="id_serie" class="infraLabelObrigatorio input-label-third">Tipo de Documento:</label> | 184 | + <label for="id_serie" class="infraLabelObrigatorio input-label-third">Tipo de Documento - SEI <?=PaginaSEI::tratarHTML($objSessao->getStrSiglaOrgaoUnidadeAtual())?> :</label> |
184 | <select name="id_serie" class="infraSelect input-field-third"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>> | 185 | <select name="id_serie" class="infraSelect input-field-third"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>> |
185 | <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelTipoDocMapRecebidoDTO->getNumIdSerie(), $objTipoDocMapRN->listarParesSerie()); ?> | 186 | <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelTipoDocMapRecebidoDTO->getNumIdSerie(), $objTipoDocMapRN->listarParesSerie()); ?> |
186 | </select> | 187 | </select> |