Commit b41ea1a4149098ea59c12006d554b0b83f5f162c
1 parent
bead362d74
Exists in
master
code review
Showing
2 changed files
with
1 additions
and
44 deletions
Show diff stats
src/js/controller.js
| ... | ... | @@ -17,7 +17,7 @@ angular.module('focaGestionTerminal') |
| 17 | 17 | |
| 18 | 18 | netTesting.ping($scope.empresa.url, function() { |
| 19 | 19 | |
| 20 | - if(arguments[1] === 'disconnected') { | |
| 20 | + if (arguments[1] === 'disconnected') { | |
| 21 | 21 | $scope.mensaje = "La url indicada no tiene conección"; |
| 22 | 22 | return; |
| 23 | 23 | } |
src/js/service.js
| 1 | 1 | angular.module('focaGestionTerminal') |
| 2 | 2 | .factory('gestionTerminalService', ['endpoint', '$http', function(endpoint, $http) { |
| 3 | 3 | return { |
| 4 | - getTerminalSet: function() { | |
| 5 | - return [ | |
| 6 | - { | |
| 7 | - terminalKey: 'fa651v65aa65d1', | |
| 8 | - urlDireccion: 'debonline.dyndns.com:9900' | |
| 9 | - }, | |
| 10 | - { | |
| 11 | - terminalKey: 'fa651v65aa65d1', | |
| 12 | - urlDireccion: 'debonline.dyndns.com:9900' | |
| 13 | - }, | |
| 14 | - { | |
| 15 | - terminalKey: 'fa651v65aa65d1', | |
| 16 | - urlDireccion: 'debonline.dyndns.com:9900' | |
| 17 | - }, | |
| 18 | - { | |
| 19 | - terminalKey: 'fa651v65aa65d1', | |
| 20 | - urlDireccion: 'debonline.dyndns.com:9900' | |
| 21 | - }, | |
| 22 | - { | |
| 23 | - terminalKey: 'fa651v65aa65d1', | |
| 24 | - urlDireccion: 'debonline.dyndns.com:9900' | |
| 25 | - }, | |
| 26 | - { | |
| 27 | - terminalKey: 'fa651v65aa65d1', | |
| 28 | - urlDireccion: 'debonline.dyndns.com:9900' | |
| 29 | - }, | |
| 30 | - { | |
| 31 | - terminalKey: 'fa651v65aa65d1', | |
| 32 | - urlDireccion: 'debonline.dyndns.com:9900' | |
| 33 | - }, | |
| 34 | - { | |
| 35 | - terminalKey: 'fa651v65aa65d1', | |
| 36 | - urlDireccion: 'debonline.dyndns.com:9900' | |
| 37 | - } | |
| 38 | - ] | |
| 39 | - }, | |
| 40 | - getTerminarRequest: function() { | |
| 41 | - return [ | |
| 42 | - { | |
| 43 | - terminalKey: 'cSB156B6SC51B' | |
| 44 | - } | |
| 45 | - ] | |
| 46 | - }, | |
| 47 | 4 | getEmpresas: function() { |
| 48 | 5 | return $http.get(endpoint + '/empresa/listar'); |
| 49 | 6 | }, |