git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C249
This commit is contained in:
parent
b0452f30c3
commit
4ae4cc60d7
1 changed files with 24 additions and 0 deletions
|
|
@ -88,6 +88,10 @@ this.getDataModel = function () {
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
$("#btnAñadir").unbind("click");
|
||||||
|
$('#btnAñadir').click(function () {
|
||||||
|
AgregarOtroAmbitoAreaAplicacion();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
this.CargarEstado = function (filtro) {
|
this.CargarEstado = function (filtro) {
|
||||||
|
|
@ -188,7 +192,27 @@ this.CargarGridAreaAplicacion = function (data) {
|
||||||
|
|
||||||
ENDREQUEST();
|
ENDREQUEST();
|
||||||
}
|
}
|
||||||
|
this.AgregarOtroAmbitoAreaAplicacion = function () {
|
||||||
|
|
||||||
|
$('#txtAreaAplicacionDocumentoTecnico').val($('#txtDescripcion').val());
|
||||||
|
$('#modalAreaAplicacionDocumentoTecnico').modal('hide');
|
||||||
|
LimpiarControlesAreaAplicacionDocumentoTecnico();
|
||||||
|
ENDREQUEST();
|
||||||
|
}
|
||||||
|
//codigo para guardar area aplicacion documento tecnico:
|
||||||
|
//AreaAplicacionDocumento = {
|
||||||
|
//Descripcion: $("#txtDescripcion").val()
|
||||||
|
//}
|
||||||
|
|
||||||
|
//var uri = CatalogosWCF + '/api/InsertarActualizarAreaAplicacionDocumentoTecnico';
|
||||||
|
//AjaxPostData(uri, AreaAplicacionDocumento, true, true, CompletarAccion, null, null);
|
||||||
|
|
||||||
|
this.CompletarAccion = function () {
|
||||||
|
|
||||||
|
}
|
||||||
|
this.LimpiarControlesAreaAplicacionDocumentoTecnico = function () {
|
||||||
|
$('#txtDescripcion').val('');
|
||||||
|
}
|
||||||
|
|
||||||
//tables
|
//tables
|
||||||
$('#tableNombreSuperior').on('click', 'button', function () {
|
$('#tableNombreSuperior').on('click', 'button', function () {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue