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 | 178 | var field = jQuery('select[name=id_hipotese_legal]', form); |
179 | 179 | |
180 | 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 | 182 | field.focus(); |
183 | 183 | return false; |
184 | 184 | } |
... | ... | @@ -186,7 +186,7 @@ function onSubmit() { |
186 | 186 | field = jQuery('select[name=id_barramento]', form); |
187 | 187 | |
188 | 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 | 190 | field.focus(); |
191 | 191 | return false; |
192 | 192 | } |
... | ... | @@ -202,13 +202,12 @@ $objPagina->abrirBody($strTitulo,'onload="inicializar();"'); |
202 | 202 | <?php $objPagina->montarAreaValidacao(); ?> |
203 | 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 | 206 | <select name="id_hipotese_legal" class="infraSelect input-field-first"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>> |
208 | 207 | <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelHipoteseLegalDTO->getNumIdHipoteseLegal(), $arrMapIdHipoteseLegal); ?> |
209 | 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 | 211 | <select name="id_barramento" class="infraSelect input-field-third"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>> |
213 | 212 | <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelHipoteseLegalDTO->getNumIdBarramento(), $arrMapIdBarramento); ?> |
214 | 213 | </select> | ... | ... |
pen_map_hipotese_legal_recebimento_cadastrar.php
... | ... | @@ -159,11 +159,11 @@ $objPagina->montarStyle(); |
159 | 159 | ?> |
160 | 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 | 168 | </style> |
169 | 169 | <?php $objPagina->montarJavaScript(); ?> |
... | ... | @@ -204,16 +204,15 @@ $objPagina->abrirBody($strTitulo,'onload="inicializar();"'); |
204 | 204 | <?php $objPagina->montarAreaValidacao(); ?> |
205 | 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 | 207 | <label for="id_barramento" class="infraLabelObrigatorio input-label-third">Hipótese Legal - Tramitação PEN:</label> |
214 | 208 | <select name="id_barramento" class="infraSelect input-field-third"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>> |
215 | 209 | <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelHipoteseLegalDTO->getNumIdBarramento(), $arrMapIdBarramento); ?> |
216 | 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 | 217 | <?php print $objPagina->fecharAreaDados(); ?> |
219 | 218 | </form> | ... | ... |
pen_map_tipo_documento_envio_cadastrar.php
... | ... | @@ -9,7 +9,7 @@ require_once dirname(__FILE__) . '/../../SEI.php'; |
9 | 9 | try { |
10 | 10 | |
11 | 11 | session_start(); |
12 | - | |
12 | + $objSessao = SessaoSEI::getInstance(); | |
13 | 13 | $objPaginaSEI = PaginaSEI::getInstance(); |
14 | 14 | |
15 | 15 | SessaoSEI::getInstance()->validarLink(); |
... | ... | @@ -125,11 +125,11 @@ $objPaginaSEI->montarStyle(); |
125 | 125 | ?> |
126 | 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 | 134 | </style> |
135 | 135 | <?php $objPaginaSEI->montarJavaScript(); ?> |
... | ... | @@ -175,16 +175,15 @@ $objPaginaSEI->abrirBody($strTitulo,'onload="inicializar();"'); |
175 | 175 | <?php //$objPaginaSEI->montarAreaValidacao(); ?> |
176 | 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 | 179 | <select name="id_serie" class="infraSelect input-field-third"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>> |
186 | 180 | <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelTipoDocMapEnviadoDTO->getNumIdSerie(), $arrSerie); ?> |
187 | 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 | 188 | <?php print $objPaginaSEI->fecharAreaDados(); ?> |
190 | 189 | </form> | ... | ... |
pen_map_tipo_documento_recebimento_cadastrar.php
... | ... | @@ -10,6 +10,7 @@ try { |
10 | 10 | |
11 | 11 | session_start(); |
12 | 12 | |
13 | + $objSessao = SessaoSEI::getInstance(); | |
13 | 14 | $objPaginaSEI = PaginaSEI::getInstance(); |
14 | 15 | |
15 | 16 | SessaoSEI::getInstance()->validarLink(); |
... | ... | @@ -175,12 +176,12 @@ $objPaginaSEI->abrirBody($strTitulo,'onload="inicializar();"'); |
175 | 176 | <?php //$objPaginaSEI->montarAreaValidacao(); ?> |
176 | 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 | 180 | <select name="codigo_especie" class="infraSelect input-field-first"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>> |
180 | 181 | <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelTipoDocMapRecebidoDTO->getNumCodigoEspecie(), $arrEspecieDocumental); ?> |
181 | 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 | 185 | <select name="id_serie" class="infraSelect input-field-third"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>> |
185 | 186 | <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelTipoDocMapRecebidoDTO->getNumIdSerie(), $objTipoDocMapRN->listarParesSerie()); ?> |
186 | 187 | </select> | ... | ... |