Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SistemaGestionAdministrativa
ModuloPersonalCliente
Commits
5134cad1
Commit
5134cad1
authored
Jul 14, 2016
by
Teodoro David Nina Mamani
Browse files
Navegacion en cargos
parent
1abb716d
Changes
2
Hide whitespace changes
Inline
Side-by-side
client/app/cargos/cargos.controller.js
View file @
5134cad1
...
...
@@ -26,12 +26,14 @@
this
.
service
.
getCargos
(
parametros
)
.
then
(
respuesta
=>
{
this
.
cargos
=
respuesta
.
rows
;
console
.
log
(
respuesta
);
this
.
totalElementos
=
respuesta
.
count
;
});
else
this
.
convocatoriaService
.
cargos
(
this
.
convocatoriaId
,
parametros
)
.
then
(
respuesta
=>
{
this
.
cargos
=
respuesta
.
rows
;
console
.
log
(
respuesta
);
this
.
totalElementos
=
respuesta
.
count
;
});
}
...
...
client/app/cargos/cargos.lista.html
View file @
5134cad1
...
...
@@ -29,12 +29,15 @@
</tr>
</thead>
<tbody>
<tr
ng-repeat=
"cargo in vm.cargos"
ui-sref=
"cargos.editar({cargoId:cargo._id})"
>
<tr
ng-repeat=
"cargo in vm.cargos"
>
<td>
{{cargo.nombre}}
<label
class=
"label label-warning"
ng-show=
"cargo.Contratos"
>
Ocupado
</label></td>
<td
class=
"text-right"
>
<div
class=
"btn-group"
role=
"group"
>
<a
class=
"btn btn-info-outline btn-xs"
href=
"#"
role=
"button"
uib-tooltip=
"Editar"
tooltip-placement=
"bottom-right"
<a
class=
"btn btn-primary-outline btn-xs"
href=
"#"
role=
"button"
uib-tooltip=
"Cargo Convocatoria"
tooltip-placement=
"bottom-right"
ui-sref=
"cargos.editar({cargoId:cargo._id})"
>
<i
class=
"fa fa-navicon fa-lg"
></i>
</a>
<a
class=
"btn btn-info-outline btn-xs"
href=
"#"
role=
"button"
uib-tooltip=
"Editar"
tooltip-placement=
"bottom"
ui-sref=
"cargos.editar({cargoId:cargo._id})"
>
<i
class=
"fa fa-edit fa-lg"
></i>
</a>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment