Commit 9250964a4bbc66e953346c8377c43bcdff896ac2
1 parent
64d354f8ce
Exists in
master
and in
1 other branch
union con fecha
Showing
2 changed files
with
8 additions
and
1 deletions
Show diff stats
src/js/controller.js
| ... | ... | @@ -36,11 +36,17 @@ angular.module('focaAdminSeguimiento') .controller('focaAdminSeguimientoControll |
| 36 | 36 | getSeguimiento(); |
| 37 | 37 | } |
| 38 | 38 | }; |
| 39 | + | |
| 40 | + $scope.fecha = function() { | |
| 41 | + getSeguimiento(); | |
| 42 | + }; | |
| 39 | 43 | |
| 40 | 44 | function getSeguimiento () { |
| 41 | 45 | var datos = { |
| 42 | 46 | actividad: $scope.actividad, |
| 43 | - idUsuario: $scope.idUsuario | |
| 47 | + idUsuario: $scope.idUsuario, | |
| 48 | + fechaDesde: $scope.now, | |
| 49 | + fechaHasta: $scope.now | |
| 44 | 50 | }; |
| 45 | 51 | |
| 46 | 52 | focaAdminSeguimientoService.obtenerActividad(datos).then(function(datos) { |