Changeset 058c4c4 in sicp for static


Ignore:
Timestamp:
Aug 21, 2015, 10:57:48 AM (9 years ago)
Author:
eparedes <eparedes@…>
Branches:
master
Children:
d809e7d
Parents:
0b0f1eb
Message:

Funcionalidad Cadena Productiva Fuentes Diversas: Encuesta Industrial

Location:
static
Files:
8 added
1 edited

Legend:

Unmodified
Added
Removed
  • static/js/funciones.js

    r645daf8 r058c4c4  
    208208 * @param template Variable de tipo string que contiene la estructura HTML del formulario a utilizar
    209209 */
    210 function modelar_producto(id, template) {
     210function modelar_producto(id, template, rif) {
    211211    var modal = bootbox.dialog({
    212212        title: TITLE_BOOTBOX_MODELAR_CADENA,
     
    285285                                "&narriba="+$(modal).find("#nivelesarriba").val()+
    286286                                "&nabajo="+$(modal).find("#nivelesabajo").val()+
    287                                 "&anho="+$(modal).find(".select2 :selected").text()
     287                                "&anho="+$(modal).find(".select2 :selected").text()+
     288                                "&rif="+rif
    288289                            );
    289290
     
    606607    tree.treeview('collapseAll', { silent: true }).html();
    607608}
     609
     610
     611/**
     612 * @brief Función que ejecuta la accion que permite visualizar/ocultar la cadena de la fuente de datos Encuesta en el panel-footer
     613 *
     614 * @author Ing. Erwin Paredes (eparedes at cenditel.gob.ve)
     615 * @copyright GNU/GPLv2
     616 * @date 17-08-2015
     617 */
     618function ver_ocultar_panel_footer(rif) {
     619       
     620    if($('#panel-al-pie').css('display') == 'none'){
     621        $('#panel-al-pie').show('slow');
     622        $('html, body').animate({scrollTop: $("#panel-al-pie").offset().top},2000);
     623        var dt = new Date();
     624        var time = dt.toLocaleTimeString();
     625        $( "#grafico" ).load( "/simulacion/encuesta/graficar/?rif="+rif+"&ahora="+time );
     626    } else {
     627        $('#panel-al-pie').hide('slow');
     628    }
     629   
     630}
Note: See TracChangeset for help on using the changeset viewer.