Componente para acesso a api do backend e/ou comunicação entre controllers
- Source:
Methods
(inner) _formatDataIncidenteToString(dataInicio, dataFim)
Parameters:
Name | Type | Description |
---|---|---|
dataInicio |
* | |
dataFim |
* |
- Source:
(inner) atualizarIncidente(id, incidente)
Parameters:
Name | Type | Description |
---|---|---|
id |
* | |
incidente |
* |
- Source:
(inner) findAbertos(from, to)
Parameters:
Name | Type | Description |
---|---|---|
from |
* | |
to |
* |
- Source:
(inner) findByFilter(filtro)
Parameters:
Name | Type | Description |
---|---|---|
filtro |
* |
- Source:
(inner) findIncidenteGeoJSONById(id)
Parameters:
Name | Type | Description |
---|---|---|
id |
* |
- Source:
(inner) findIncidentesByCategoriaGeoJson(categoriaId, status)
Parameters:
Name | Type | Description |
---|---|---|
categoriaId |
* | |
status |
* |
- Source:
(inner) findSimpleByFilter(filtro)
Parameters:
Name | Type | Description |
---|---|---|
filtro |
* |
- Source:
(inner) getAnalytics(dataInicio, dataFim)
Parameters:
Name | Type | Description |
---|---|---|
dataInicio |
* | |
dataFim |
* |
- Source:
(inner) getCategoriasIncidente()
- Source:
(inner) getCountStatus(filtro)
Parameters:
Name | Type | Description |
---|---|---|
filtro |
* |
- Source:
(inner) getIncidenteCategorias()
- Source:
(inner) getIncidenteGravidades()
- Source:
(inner) getIncidentes()
- Source:
(inner) getIncidentesByDepartamentoId(id)
Parameters:
Name | Type | Description |
---|---|---|
id |
* |
- Source:
(inner) getIncidentesPorInput(input)
Parameters:
Name | Type | Description |
---|---|---|
input |
* |
- Source:
(inner) getIncidenteTipos()
- Source:
(inner) getPdfReport(id)
Parameters:
Name | Type | Description |
---|---|---|
id |
* |
- Source:
(inner) IncidentesService($rootScope, $http, $q, API_ENDPOINT, Base, $mdDialog, $timeout, MsiService)
Parameters:
Name | Type | Description |
---|---|---|
$rootScope |
* | |
$http |
* | |
$q |
* | |
API_ENDPOINT |
* | |
Base |
* | |
$mdDialog |
* | |
$timeout |
* | |
MsiService |
* |
- Source:
(inner) parseIncidente(incidente)
Parameters:
Name | Type | Description |
---|---|---|
incidente |
* |
- Source:
(inner) pegarCamerasProximas(ponto)
Parameters:
Name | Type | Description |
---|---|---|
ponto |
* |
- Source:
(inner) pegarDepartamentos()
- Source:
(inner) salvarCategorias(categorias)
Parameters:
Name | Type | Description |
---|---|---|
categorias |
* |
- Source:
(inner) salvarGravidades(gravidades)
Parameters:
Name | Type | Description |
---|---|---|
gravidades |
* |
- Source:
(inner) salvarTipos(tipos)
Parameters:
Name | Type | Description |
---|---|---|
tipos |
* |
- Source:
(inner) saveIncidente(incidente)
Parameters:
Name | Type | Description |
---|---|---|
incidente |
* |
- Source: