1app.controller('processoSeletivoConsultaController', function ($scope, ProcessoSeletivo, $filter) { 2 3 $scope.success = false 4 $scope.message = "" 5 $scope.profissao = "" 6 $scope.inscricao = {} 7 $scope.processo = {} 8 $scope.exists = true 9 $scope.cpf = "" 10 $scope.numeroInscricao = "" 11 $scope.dataNascimento = "" 12 13 $scope.searchInscricaoNum = function (user) { 14 ProcessoSeletivo._consultaInscricaoNum(user.NumeroInscricao, user.CPF) 15 .then( 16 function successCallback(response) { 17 if (response.data.status) { 18 $scope.cpf = user.CPF 19 $scope.numeroInscricao = user.NumeroInscricao 20 $scope.inscricao = response.data.inscricao 21 $scope.processo = response.data.processo 22 $scope.profissao = response.data.profissao 23 $scope.success = true 24 $scope.exists = response.data.exist 25 } else { 26 $scope.success = false 27 swal("Erro!", `${response.data.message}`, "error"); 28 } 29 30 }, 31 function errorCallback(response) { 32 swal("Desculpe!", "Erro interno, tente mais tarde.", "error"); 33 } 34 ); 35 }; 36 37 $scope.resultResponse = function (data) { 38 39 data.CPF = $scope.cpf 40 data.DataNascimento = $scope.dataNascimento 41 data.NumeroInscricao = $scope.numeroInscricao 42 43 console.log(data) 44 ProcessoSeletivo.respostaResultado(data) 45 .then( 46 function successCallback(response) { 47 if (response.data.status) { 48 $scope.inscricao = response.data.inscricao 49 $scope.processo = response.data.processo 50 $scope.profissao = response.data.profissao 51 $scope.success = true 52 swal("Sucesso!", "Sua mensagem foi enviada.", "success"); 53 $scope.exists = true 54 } else { 55 $scope.success = false 56 swal("Erro!", `${response.data.message}`, "error"); 57 } 58 59 }, 60 function errorCallback(response) { 61 swal("Desculpe!", "Erro interno, tente mais tarde.", "error"); 62 } 63 ); 64 }; 65 66});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.