mirror of https://github.com/interlegis/sapl.git
				
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							250 lines
						
					
					
						
							13 KiB
						
					
					
				
			
		
		
		
			
			
			
		
		
	
	
							250 lines
						
					
					
						
							13 KiB
						
					
					
				| <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt"><head> | |
|     <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
|     <title>Sistema de Apoio ao Processo Legislativo</title> | |
|     <link href="http://sapl3.interlegis.leg.br/generico/estilos.css" media="all" rel="stylesheet" type="text/css"> | |
| <link href="http://sapl3.interlegis.leg.br/generico/responsive_grid.css" media="all" rel="stylesheet" type="text/css"> | |
| <style type="text/css" media="screen and (max-width: 980px) ">@import url(http://sapl3.interlegis.leg.br/generico/maxwidth980.css)</style> | |
| <style type="text/css" media="screen and (max-width: 650px) ">@import url(http://sapl3.interlegis.leg.br/generico/maxwidth650.css)</style> | |
| <style type="text/css" media="screen and (max-width: 480px) ">@import url(http://sapl3.interlegis.leg.br/generico/maxwidth480.css)</style> | |
| <style type="text/css">@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic)</style> | |
| <link href="http://sapl3.interlegis.leg.br/generico/pform.css" media="all" rel="stylesheet" type="text/css"> | |
| <style type="text/css">@import url(http://sapl3.interlegis.leg.br/generico/datepick.css)</style> | |
| <style type="text/css">@import url(http://sapl3.interlegis.leg.br/generico/jquery.fancybox.css)</style> | |
| 
 | |
| 
 | |
| <script type="text/javascript" language="Javascript" src="javascript/data_validar_jvsc"></script><script type="text/javascript" language="Javascript"> | |
| <!-- | |
|   function campos_criticar(form){ | |
|       /*----------------------------- | |
|          Função: Critica os campos obrigatórios do formulário. É chamada | |
|                 pelo botão btn_despacho_inicial_salvar do formulário para | |
|                 validação dos campos. | |
|          Argumentos: form : formulário - é o formulário em si. | |
|          Retorno: Invoca o SUBMIT do formulário ou retorna valor booleano | |
|                 falso ,caso haja algum campo incorreto, juntamente com uma | |
|                 uma mensagem de erro e o cursor no campo a ser corrigido. | |
|          Rommel Carvalho e Danilo Custódio em 04/04/2001. | |
|       ------------------------------*/ | |
|      var regexp_digitos = /\D+/; | |
|      var selecionado = false; | |
|      for (i=0;i<form.rad_tip_votacao.length;i++) { | |
|         if(form.rad_tip_votacao[i].checked) { | |
|             selecionado = true; | |
|         } | |
|      } | |
| 
 | |
|      if (selecionado==false){ | |
|          alert("O tipo da votacao deve ser selecionado"); | |
|          form.rad_tip_votacao.focus(); | |
|          return false; | |
|       } | |
| 
 | |
|      if (form.txt_dat_ordem.value==""){ | |
|          alert("A data do expediente deve ser preenchida"); | |
|          form.txt_dat_ordem.focus(); | |
|          return false; | |
|       } | |
|      if (form.txt_dat_ordem.value!="" && !IsValidDate(form.txt_dat_ordem.value)){ | |
|          alert("Digite uma data de expediente válida!"); | |
|          form.txt_dat_ordem.focus(); | |
|          form.txt_dat_ordem.select(); | |
|          return false; | |
|       } | |
|      if (form.txt_num_ordem.value==""){ | |
|          alert("O numero da ordem deve ser preenchido"); | |
|          form.txt_num_ordem.focus(); | |
|          return false; | |
|       } | |
|      if (regexp_digitos.test(form.txt_num_ordem.value)){ | |
|         alert("O Número da ordem deve ser um número natural!"); | |
|         form.txt_num_ordem.focus(); | |
|         return false; | |
|       } | |
|       if ((form.lst_tip_id_basica.selectedIndex == 0) || | |
|           (form.lst_tip_sessao.selectedIndex == 0) || | |
|           (form.txt_num_ident_basica.value=="") || | |
|           (form.txt_ano_ident_basica.value=="")){ | |
|           alert("Os campos de identificação da matéria devem ser preenchidos!"); | |
|           form.txt_num_ident_basica.focus(); | |
|           return false; | |
|       } | |
|       if (form.txa_txt_observacao.value==""){ | |
|          alert("A ementa deve ser preenchida"); | |
|          form.txa_txt_observacao.focus(); | |
|          return false; | |
|       } | |
| 
 | |
| 
 | |
|       form.submit(); | |
|   } | |
| 
 | |
|   function materia_expediente_excluir(){ | |
|       /*----------------------------- | |
|          Função: Chama o Método DTML de exclusão do despacho | |
|          Argumentos: (). | |
|          Retorno: Retorna uma mensagem de exclusão bem sucessida e | |
|                 redireciona à página 'index_html'. | |
|          Rommel Carvalho e Danilo Custódio em 04/04/2001. | |
|       ------------------------------*/ | |
| 
 | |
|        if (confirm("Deseja realmente excluir?")) { | |
|           location.href="materia_expediente_excluir_proc?cod_ordem=&cod_sessao_plen=264"; | |
|        } | |
|   } | |
| 
 | |
|   function ementa_buscar(form){ | |
|      if ((form.lst_tip_id_basica.selectedIndex != 0) && | |
|      (form.txt_num_ident_basica.value!="") && | |
|      (form.txt_ano_ident_basica.value!="")){ | |
|     location.href="ementa_buscar_proc?tip_ident_basica="+form.lst_tip_id_basica[form.lst_tip_id_basica.selectedIndex].value+ | |
|           "&num_ident_basica="+form.txt_num_ident_basica.value+"&ano_ident_basica="+ | |
|           form.txt_ano_ident_basica.value+"&cod_ordem="+form.cod_ordem.value+ | |
|           "&dat_ordem="+form.txt_dat_ordem.value+"&num_ordem="+form.txt_num_ordem.value+"&tip_votacao="+form.rad_tip_votacao.value+"&tip_sessao_plen="+form.lst_tip_sessao[form.lst_tip_sessao.selectedIndex].value+"&cod_sessao_plen=264"; | |
|      } | |
|   } | |
| 
 | |
| //--> | |
|  | |
|     function reloadParentAndClose() | |
|     { | |
|     parent.jQuery.fancybox.close(); | |
|     } | |
| </script></head> | |
| 
 | |
| 
 | |
| 
 | |
| <body data-pinterest-extension-installed="ff1.35"><div style="margin: 10px;"> | |
| <a id="ajuda" href="http://sapl3.interlegis.leg.br/ajuda/materia_expediente">Ajuda</a> | |
| <h1 class="firstHeading"> Matérias do Expediente </h1> | |
| 
 | |
| <h3 align="center">                  2ª Reunião Ordinária da 3ª Sessão Legislativa da 14ª Legislatura <br>14 de Abril de 2015 (Terça-feira) | |
| 
 | |
| </h3> | |
| 
 | |
| <form name="materia_expediente_form" method="post" action="materia_expediente_salvar_proc"> | |
| <fieldset> | |
|     <legend>Cadastro de Matérias do Expediente</legend> | |
|               <table width="100%"> | |
|             <tbody><tr> | |
|                 <td> | |
|                     <label for="txt_dat_ordem">Data da Sessão <span class="campoObrigatorio"> </span></label><br> | |
|                     <input name="txt_dat_ordem" id="txt_dat_ordem" size="10" maxlength="10" readonly="readonly" onblur="formata_data(form.txt_dat_ordem)" value="14/04/2015" type="text"> | |
|                 </td> | |
|                 <td> | |
|                     <label for="lst_tip_sessao">Tipo da Sessão<span class="campoObrigatorio"> </span></label><br> | |
|                     <select name="lst_tip_sessao" onfocus="this.initialSelect = this.selectedIndex;" onchange="this.selectedIndex = this.initialSelect;"> | |
|                         <option>Selecione</option> | |
|                                                 <option value="5">Especial | |
|                         </option> | |
|                                                 <option value="2">Extraordinária | |
|                         </option> | |
|                                                 <option selected="" value="1">Ordinária | |
|                         </option> | |
|                                                 <option value="4">Secreta | |
|                         </option> | |
|                                                 <option value="3">Solene | |
|                         </option> | |
|                                             </select> | |
|                 </td> | |
|                 <td> | |
|                     <label for="txt_num_ordem">Nº Ordem <span class="campoObrigatorio"> </span></label><br> | |
| 
 | |
|                                                                     <input name="txt_num_ordem" value="2" size="3" maxlength="3" type="text"> | |
|                 </td> | |
|             </tr> | |
|             <tr> | |
|                 <td> | |
|                     <label for="lst_tip_id_basica">Tipo Matéria <span class="campoObrigatorio"> </span></label><br> | |
|                     <select name="lst_tip_id_basica" onchange="ementa_buscar(document.materia_expediente_form)"> | |
|                         <option>Selecione</option> | |
|                                                 <option value="12"> | |
|                             EM - Emenda | |
|                         </option> | |
|                                                 <option value="9"> | |
|                             IND - Indicação | |
|                         </option> | |
|                                                 <option value="8"> | |
|                             MOÇ - Moção | |
|                         </option> | |
|                                                 <option value="16"> | |
|                             PAR - Parecer | |
|                         </option> | |
|                                                 <option value="11"> | |
|                             PI - Pedido de Informações | |
|                         </option> | |
|                                                 <option value="10"> | |
|                             PP - Pedido de Providências | |
|                         </option> | |
|                                                 <option value="7"> | |
|                             PDL - Projeto de Decreto Legislativo | |
|                         </option> | |
|                                                 <option value="2"> | |
|                             PELO - Projeto de Emenda à Lei Orgânica | |
|                         </option> | |
|                                                 <option value="1"> | |
|                             PL - Projeto de Lei | |
|                         </option> | |
|                                                 <option value="6"> | |
|                             PLC - Projeto de Lei Complementar | |
|                         </option> | |
|                                                 <option value="3"> | |
|                             PR - Projeto de Resolução | |
|                         </option> | |
|                                                 <option value="14"> | |
|                             REC - Recurso | |
|                         </option> | |
|                                                 <option value="4"> | |
|                             REQ - Requerimento | |
|                         </option> | |
|                                                 <option value="13"> | |
|                             SEM - Subemenda | |
|                         </option> | |
|                                                 <option value="15"> | |
|                             SUBST - Substitutivo | |
|                         </option> | |
|                                             </select> | |
|                 </td> | |
|                 <td> | |
|                     <label for="txt_num_ident_basica">Núm. Matéria <span class="campoObrigatorio"> </span></label><br> | |
|                     <input name="txt_num_ident_basica" size="4" maxlength="5" onchange="ementa_buscar(document.materia_expediente_form)" value="" type="text"> | |
|                 </td> | |
|                 <td> | |
| 
 | |
|                                         <label for="txt_ano_ident_basica">Ano Matéria <span class="campoObrigatorio"> </span></label><br> | |
|                     <input name="txt_ano_ident_basica" size="4" maxlength="4" onchange="ementa_buscar(document.materia_expediente_form)" value="2015" type="text"> | |
|                 </td> | |
|                </tr> | |
|                <tr> | |
|                 <td colspan="2"> | |
|                     <label for="rad_tip_votacao">Tipo de votação <span class="campoObrigatorio"> </span></label><br> | |
| 
 | |
|                                                                                 <input class="texto" id="rad_tip_votacao" name="rad_tip_votacao" value="1" checked="1" onchange="javascript:form.hdn_alterou.value=1" type="radio"> | |
|                                     <span class="texto">Simbólica</span> | |
|                                                         <input class="texto" id="rad_tip_votacao" name="rad_tip_votacao" value="2" onchange="javascript:form.hdn_alterou.value=1" type="radio"> | |
|                                     <span class="texto">Nominal</span> | |
|                                                         <input class="texto" id="rad_tip_votacao" name="rad_tip_votacao" value="3" onchange="javascript:form.hdn_alterou.value=1" type="radio"> | |
|                                     <span class="texto">Secreta</span> | |
|                                     </td> | |
|                 <td valign="middle"> | |
|                                     </td> | |
|             </tr> | |
|             <tr> | |
|                 <td colspan="3"> | |
|                     <label for="txa_txt_observacao">Ementa <span class="campoObrigatorio"> </span></label><br> | |
|                     <textarea name="txa_txt_observacao" cols="60" rows="4"></textarea> | |
|                 </td> | |
|             </tr> | |
|         </tbody></table> | |
|  </fieldset> | |
|          <p align="center"> | |
|             <input class="botao" name="btn_salvar" value="Salvar" onclick="campos_criticar(document.materia_expediente_form)" type="button"> | |
|               | |
|                           | |
|             <input class="botao" name="btn_fechar" value="Fechar" onclick="reloadParentAndClose();" type="button"> | |
|         </p> | |
|         <input name="cod_ordem" value="" type="hidden"> | |
|         <input name="cod_sessao_plen" value="264" type="hidden"> | |
|                     <input name="txa_txt_resultado" value="" type="hidden"> | |
|         </form> | |
| </div> | |
| </body></html>
 | |
| 
 |