dft
This commit is contained in:
parent
f53ba6e66c
commit
e670b2a224
24
Controleur/ControleurAjaxlistegedadherent.php
Normal file
24
Controleur/ControleurAjaxlistegedadherent.php
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
<?php
|
||||||
|
require_once 'Framework/Controleur.php';
|
||||||
|
require_once 'Modele/Ged.php';;
|
||||||
|
|
||||||
|
class ControleurAjaxlistegedadherent extends Controleur {
|
||||||
|
private $ged;
|
||||||
|
|
||||||
|
public function __construct() {
|
||||||
|
$this->ged = new Ged();
|
||||||
|
}
|
||||||
|
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
unset($_FILES['fichier_upload']);
|
||||||
|
|
||||||
|
$d1 = $this->requete->getParametreDate("d1");
|
||||||
|
$d2 = $this->requete->getParametreDate("d2");
|
||||||
|
$nomOrigine = $this->requete->getParametreFormulaire("nomOrigine");
|
||||||
|
|
||||||
|
$geds = $this->ged->getgedadherent($d1, $d2, $nomOrigine);
|
||||||
|
|
||||||
|
$this->genererVueAjax(array('geds' => $geds));
|
||||||
|
}
|
||||||
|
}
|
||||||
24
Controleur/ControleurAjaxlistegedbeneficiaireprod.php
Normal file
24
Controleur/ControleurAjaxlistegedbeneficiaireprod.php
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
<?php
|
||||||
|
require_once 'Framework/Controleur.php';
|
||||||
|
require_once 'Modele/Ged.php';;
|
||||||
|
|
||||||
|
class ControleurAjaxlistegedbeneficiaireprod extends Controleur {
|
||||||
|
private $ged;
|
||||||
|
|
||||||
|
public function __construct() {
|
||||||
|
$this->ged = new Ged();
|
||||||
|
}
|
||||||
|
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
unset($_FILES['fichier_upload']);
|
||||||
|
|
||||||
|
$d1 = $this->requete->getParametreDate("d1");
|
||||||
|
$d2 = $this->requete->getParametreDate("d2");
|
||||||
|
$nomOrigine = $this->requete->getParametreFormulaire("nomOrigine");
|
||||||
|
|
||||||
|
$geds = $this->ged->getgedbeneficiaireprod($d1, $d2, $nomOrigine);
|
||||||
|
|
||||||
|
$this->genererVueAjax(array('geds' => $geds));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -6930,3 +6930,27 @@ function modifier_beneficiaire(id)
|
||||||
window.location.assign($("#racineWeb" ).val()+"Modifierbeneficiaire/"+id+"/");
|
window.location.assign($("#racineWeb" ).val()+"Modifierbeneficiaire/"+id+"/");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function lister_ged_adherent()
|
||||||
|
{
|
||||||
|
d1 = $("#d1").val();
|
||||||
|
d2 = $("#d2").val();
|
||||||
|
nomOrigine = $("#nomOrigine").val();
|
||||||
|
|
||||||
|
donnees = 'd1='+d1+'&d2='+d2+'&nomOrigine='+nomOrigine;
|
||||||
|
|
||||||
|
$("#div_ged").html('<div style="padding-top:80px;"><img src="Bootstrap/images/loading.gif"/> <span style="font-size:15pt;">' + 'Veuillez patienter... / Please wait...' + '</span></div>');
|
||||||
|
|
||||||
|
$.ajax({
|
||||||
|
url: $("#racineWeb").val()+"Ajaxlistegedadherent/",
|
||||||
|
type : 'post',
|
||||||
|
data: donnees,
|
||||||
|
error: function(errorData) {
|
||||||
|
},
|
||||||
|
success: function(data) {
|
||||||
|
$("#div_ged").html(data);
|
||||||
|
},
|
||||||
|
complete: function() {
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
0
Vue/Ajaxlistegedadherent/index.php
Normal file
0
Vue/Ajaxlistegedadherent/index.php
Normal file
Loading…
Reference in New Issue
Block a user