Ficha tecnica modificada(palabras claves, estado)
git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C213
This commit is contained in:
parent
b029b62acd
commit
caf6801753
4 changed files with 466 additions and 337 deletions
|
|
@ -95,6 +95,15 @@ namespace AYA.SlnSinort.WCF
|
|||
Task<UsuariosAyAJSON> ActualizarUsuarios(UsuariosAyAJSON model);
|
||||
#endregion
|
||||
|
||||
#region Estado
|
||||
|
||||
[OperationContract]
|
||||
List<Estado> ObtenerEstado();
|
||||
|
||||
[OperationContract]
|
||||
List<CatalogosJSON> ObtenerEstadoPopUp(CatalogosPost model);
|
||||
#endregion
|
||||
|
||||
#region PropuestaNormativa
|
||||
[OperationContract]
|
||||
ProyectoNormativoJSON ObtenerSitios(AtesaJSON model);
|
||||
|
|
|
|||
|
|
@ -242,6 +242,41 @@ namespace AYA.SlnSinort.WCF
|
|||
}
|
||||
#endregion
|
||||
|
||||
#region Estado
|
||||
public List<Estado> ObtenerEstado()
|
||||
{
|
||||
List<Estado> respuesta = null;
|
||||
try
|
||||
{
|
||||
respuesta = new EstadoDAL().ObtenerEstado();
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
log.Error(ex);
|
||||
}
|
||||
return respuesta;
|
||||
}
|
||||
|
||||
public List<CatalogosJSON> ObtenerEstadoPopUp(CatalogosPost model)
|
||||
{
|
||||
List<CatalogosJSON> respuesta = new List<CatalogosJSON>();
|
||||
CatalogosPostJSON CatalogosPostJSON = new CatalogosPostJSON();
|
||||
CatalogosPostJSON.filtro = model.filtro;
|
||||
CatalogosPostJSON.IdTipo = model.IdTipo;
|
||||
try
|
||||
{
|
||||
|
||||
respuesta = new EstadoDAL().ObtenerEstado(CatalogosPostJSON);
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
log.Error(ex);
|
||||
}
|
||||
return respuesta;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region RolesUsuarios
|
||||
|
||||
|
|
@ -635,7 +670,6 @@ namespace AYA.SlnSinort.WCF
|
|||
|
||||
#endregion
|
||||
|
||||
|
||||
#region Palabra Clave
|
||||
public List<PalabraClave> ObtenerPalabraClave()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6,46 +6,27 @@ var IdFichaTecnica;
|
|||
jQuery(document).ready(function () {
|
||||
|
||||
getDataModel();
|
||||
$('#txtEstadoDocumento').val('Activo');
|
||||
});
|
||||
|
||||
this.getDataModel = function () {
|
||||
CargarEmisor();
|
||||
CargarAplicacion();
|
||||
CargarNombreDocumento();
|
||||
CargarContenido();
|
||||
CargarGrupoTematico();
|
||||
CargarSubCategoriaContenido();
|
||||
CargarSubCategoriaGrupoTematico();
|
||||
CargarDocumentoTecnico();
|
||||
//CargarPalabraClave();
|
||||
CargarPalabraClave();
|
||||
CargarEstado();
|
||||
|
||||
//$("#btnBuscarPalabraClave").unbind("click");
|
||||
//$("#btnBuscarPalabraClave").click(function () {
|
||||
// BuscarUsuario();
|
||||
//});
|
||||
$("#btnBuscarPalabraClave").unbind("click");
|
||||
$("#btnBuscarPalabraClave").click(function () {
|
||||
BuscarPalabraClave();
|
||||
});
|
||||
|
||||
//$("#btnAgregarPalabraClave").unbind("click");
|
||||
//$("#btnAgregarPalabraClave").click(function () {
|
||||
// AgregarUsuario();
|
||||
//});
|
||||
|
||||
$("#btnBuscarAplicacion").unbind("click");
|
||||
$("#btnBuscarAplicacion").click(function () {
|
||||
|
||||
SelectedCatalog = 'Aplicacion';
|
||||
|
||||
if ($.fn.DataTable.isDataTable('#tableAplicacion')) {
|
||||
|
||||
LoadMessage();
|
||||
|
||||
$('#tableAplicacion').DataTable().search('').draw();
|
||||
|
||||
$('#modalAplicacion').modal('show');
|
||||
|
||||
ENDREQUEST();
|
||||
|
||||
}
|
||||
$("#btnAgregarPalabraClave").unbind("click");
|
||||
$("#btnAgregarPalabraClave").click(function () {
|
||||
AgregarPalabraClave();
|
||||
});
|
||||
|
||||
$("#btnBuscarEmisor").unbind("click");
|
||||
|
|
@ -66,19 +47,36 @@ this.getDataModel = function () {
|
|||
}
|
||||
});
|
||||
|
||||
|
||||
$("#btnBuscarNombreDocumento").unbind("click");
|
||||
$("#btnBuscarNombreDocumento").click(function () {
|
||||
$("#btnBuscarAplicacion").unbind("click");
|
||||
$("#btnBuscarAplicacion").click(function () {
|
||||
|
||||
SelectedCatalog = 'DocumentoTecnico';
|
||||
SelectedCatalog = 'Aplicacion';
|
||||
|
||||
if ($.fn.DataTable.isDataTable('#tableNombreDocumento')) {
|
||||
if ($.fn.DataTable.isDataTable('#tableAplicacion')) {
|
||||
|
||||
LoadMessage();
|
||||
|
||||
$('#tableNombreDocumento').DataTable().search('').draw();
|
||||
$('#tableAplicacion').DataTable().search('').draw();
|
||||
|
||||
$('#modalNombreDocumento').modal('show');
|
||||
$('#modalAplicacion').modal('show');
|
||||
|
||||
ENDREQUEST();
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
$("#btnBuscarEstadoDocumento").unbind("click");
|
||||
$("#btnBuscarEstadoDocumento").click(function () {
|
||||
|
||||
SelectedCatalog = 'Estado';
|
||||
|
||||
if ($.fn.DataTable.isDataTable('#tableEstado')) {
|
||||
|
||||
LoadMessage();
|
||||
|
||||
$('#tableEstado').DataTable().search('').draw();
|
||||
|
||||
$('#modalEstado').modal('show');
|
||||
|
||||
ENDREQUEST();
|
||||
|
||||
|
|
@ -261,41 +259,6 @@ this.CargarGridAplicacion = function (data) {
|
|||
}
|
||||
}
|
||||
|
||||
this.CargarNombreDocumento = function (filtro) {
|
||||
|
||||
var uri = SinortWCF + '/api/ObtenerAdjuntos';
|
||||
var model = {
|
||||
IdTipo: 1,
|
||||
filtro: filtro == null ? '' : '&filtro=' + filtro
|
||||
}
|
||||
|
||||
AjaxPostData(uri, model, false, false, CargarGridNombreDocumento, null, null);
|
||||
|
||||
}
|
||||
|
||||
this.CargarGridNombreDocumento = function (data) {
|
||||
|
||||
if (data != null) {
|
||||
|
||||
listaNombreDocumento = data;
|
||||
|
||||
var Seleccionar = $("#ucBtnSeleccionarCatalogo").html();
|
||||
|
||||
var columnDefinition = [
|
||||
{ "data": null, className: "center", defaultContent: Seleccionar },
|
||||
{ "data": "codigo" },
|
||||
{ "data": "descripcion" }
|
||||
];
|
||||
|
||||
$('#tableNombreDocumento').TableInit(0, false, true, true, false, columnDefinition, listaNombreDocumento, false);
|
||||
}
|
||||
|
||||
else {
|
||||
|
||||
toastr.error("Ha ocurrido un error inesperado. Vuelva a intentarlo mas tarde", Message_Error);
|
||||
}
|
||||
}
|
||||
|
||||
this.CargarDocumentoTecnico = function (filtro) {
|
||||
|
||||
var uri = CatalogosWCF + '/api/ObtenerDocumentoTecnicoPopUp';
|
||||
|
|
@ -448,8 +411,6 @@ this.CargarSubCategoriaGrupoTematico = function (filtro) {
|
|||
|
||||
}
|
||||
|
||||
|
||||
|
||||
this.CargarGridSubGrupoTematico = function (data) {
|
||||
|
||||
if (data != null) {
|
||||
|
|
@ -473,6 +434,107 @@ this.CargarGridSubGrupoTematico = function (data) {
|
|||
}
|
||||
}
|
||||
|
||||
this.CargarEstado = function (filtro) {
|
||||
|
||||
var uri = CatalogosWCF + '/api/ObtenerEstadoPopUp';
|
||||
var model = {
|
||||
IdTipo: 1,
|
||||
filtro: filtro == null ? '' : '&filtro=' + filtro
|
||||
}
|
||||
|
||||
AjaxPostData(uri, model, false, false, CargarGridEstado, null, null);
|
||||
|
||||
}
|
||||
|
||||
this.CargarGridEstado = function (data) {
|
||||
|
||||
if (data != null) {
|
||||
|
||||
listaEstado = data;
|
||||
|
||||
var Seleccionar = $("#ucBtnSeleccionarCatalogo").html();
|
||||
|
||||
var columnDefinition = [
|
||||
{ "data": null, className: "center", defaultContent: Seleccionar },
|
||||
{ "data": "codigo" },
|
||||
{ "data": "descripcion" }
|
||||
];
|
||||
|
||||
$('#tableEstado').TableInit(0, false, true, true, false, columnDefinition, listaEstado, false);
|
||||
}
|
||||
|
||||
else {
|
||||
|
||||
toastr.error("Ha ocurrido un error inesperado. Vuelva a intentarlo mas tarde", Message_Error);
|
||||
}
|
||||
}
|
||||
|
||||
this.CargarPalabraClave = function (filtro) {
|
||||
|
||||
var uri = CatalogosWCF + '/api/ObtenerPalabraClave';
|
||||
AjaxPostData(uri, null, false, false, CargarGridPalabraClave, null, null);
|
||||
|
||||
}
|
||||
|
||||
this.CargarGridPalabraClave = function (data) {
|
||||
|
||||
if (data != null) {
|
||||
|
||||
var Seleccionar = $("#ucBtnSeleccionarCatalogo").html();
|
||||
var columnDefinition = [
|
||||
{ "data": "IdPalabraClave", className: "center" },
|
||||
{ "data": "Descripcion", className: "center" },
|
||||
{ "data": null, className: "center", defaultContent: Seleccionar }//tal vez la quite
|
||||
];
|
||||
|
||||
$('#tablePalabrasClaves').TableInit(0, false, true, true, false, columnDefinition, data, false);
|
||||
}
|
||||
|
||||
else {
|
||||
|
||||
toastr.error("Ha ocurrido un error inesperado. Vuelva a intentarlo mas tarde", Message_Error);
|
||||
}
|
||||
|
||||
ENDREQUEST();
|
||||
}
|
||||
|
||||
this.BuscarPalabraClave = function () {
|
||||
SelectedCatalog = 'PalabraClave';
|
||||
|
||||
if ($.fn.DataTable.isDataTable('#tablePalabrasClaves')) {
|
||||
|
||||
LoadMessage();
|
||||
$('#tablePalabrasClaves').DataTable().search('').draw();
|
||||
$('#modalPalabrasClaves').modal('show');
|
||||
ENDREQUEST();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
this.AgregarPalabraClave = function () {
|
||||
|
||||
if (!confirm("¿Desea agregar otra palabra clave?")) return;
|
||||
|
||||
var tablePalabrasClaves = $('#tablePalabraClave').DataTable();
|
||||
var option = $("#ucbtnRemoverPalabrasClaves").html();
|
||||
var a = $("#hiddenPalabraClave").val();
|
||||
|
||||
tablePalabrasClaves.row.add(
|
||||
[$("#hiddenPalabraClave").val(),
|
||||
$("#txtPalabraClave").val(),
|
||||
option])
|
||||
.draw();
|
||||
|
||||
toastr.success(Message_Default, Message_Success);
|
||||
$('#hiddenPalabraClave').val('');
|
||||
$('#txtPalabraClave').val('');
|
||||
}
|
||||
|
||||
this.LimpiarPalabraClave = function () {
|
||||
$('#hiddenPalabraClave').val('');
|
||||
$('#txtPalabraClave').val('');
|
||||
}
|
||||
|
||||
//tables
|
||||
$('#tableAplicacion').on('click', 'button', function () {
|
||||
|
||||
|
|
@ -487,12 +549,6 @@ $('#tableAplicacion').on('click', 'button', function () {
|
|||
|
||||
});
|
||||
|
||||
//$('#tableParticipantes').on('click', 'button', function () {
|
||||
|
||||
// var tableParticipantes = $('#tableParticipantes').DataTable();
|
||||
// tableParticipantes.row($(this).parents('tr')).remove().draw();
|
||||
//});
|
||||
|
||||
$('#tableEmisor').on('click', 'button', function () {
|
||||
|
||||
var data = $('#tableEmisor').DataTable().row($(this).parents('tr')).data();
|
||||
|
|
@ -506,19 +562,6 @@ $('#tableEmisor').on('click', 'button', function () {
|
|||
|
||||
});
|
||||
|
||||
$('#tableNombreDocumento').on('click', 'button', function () {
|
||||
|
||||
var data = $('#tableNombreDocument').DataTable().row($(this).parents('tr')).data();
|
||||
|
||||
if (SelectedCatalog == "NombreDocument") {
|
||||
|
||||
$('#hiddenDNombreDocument').val(data.codigo);
|
||||
$('#txtNombreDocument').val(data.descripcion);
|
||||
}
|
||||
$('#modalNombreDocument').modal('hide');
|
||||
|
||||
});
|
||||
|
||||
$('#tableDocumentoTecnico').on('click', 'button', function () {
|
||||
|
||||
var data = $('#tableDocumentoTecnico').DataTable().row($(this).parents('tr')).data();
|
||||
|
|
@ -571,7 +614,6 @@ $('#tableGrupoTematico').on('click', 'button', function () {
|
|||
|
||||
});
|
||||
|
||||
|
||||
$('#tableSubCategoriaGrupoTematico').on('click', 'button', function () {
|
||||
|
||||
var data = $('#tableSubCategoriaGrupoTematico').DataTable().row($(this).parents('tr')).data();
|
||||
|
|
@ -583,4 +625,36 @@ $('#tableSubCategoriaGrupoTematico').on('click', 'button', function () {
|
|||
}
|
||||
$('#modalSubCategoriaGrupoTematico').modal('hide');
|
||||
|
||||
});
|
||||
|
||||
$('#tableEstado').on('click', 'button', function () {
|
||||
|
||||
var data = $('#tableEstado').DataTable().row($(this).parents('tr')).data();
|
||||
|
||||
if (SelectedCatalog == "Estado") {
|
||||
|
||||
$('#hiddenEstado').val(data.codigo);
|
||||
$('#txtEstado').val(data.descripcion);
|
||||
}
|
||||
$('#modalEstado').modal('hide');
|
||||
|
||||
});
|
||||
|
||||
$('#tablePalabraClave').on('click', 'button', function () {
|
||||
|
||||
var tablePalabraClave = $('#tablePalabraClave').DataTable();
|
||||
tablePalabraClave.row($(this).parents('tr')).remove().draw();
|
||||
});
|
||||
|
||||
$('#tablePalabrasClaves').on('click', 'button', function () {
|
||||
|
||||
var data = $('#tablePalabrasClaves').DataTable().row($(this).parents('tr')).data();
|
||||
|
||||
if (SelectedCatalog == "PalabraClave") {
|
||||
|
||||
$('#hiddenPalabraClave').val(data.IdPalabraClave);
|
||||
$('#txtPalabraClave').val(data.Descripcion);
|
||||
}
|
||||
$('#modalPalabrasClaves').modal('hide');
|
||||
|
||||
});
|
||||
|
|
@ -1,5 +1,4 @@
|
|||
|
||||
@{
|
||||
@{
|
||||
ViewBag.Title = "FichaTecnica";
|
||||
Layout = "~/Views/Shared/_Layout.cshtml";
|
||||
}
|
||||
|
|
@ -45,8 +44,18 @@
|
|||
<div class="form-group" id="divEstadoDocumento">
|
||||
<label class="col-sm-4 control-label ControlsForms" id="lblEstadoDocumentor">Estado del documento</label>
|
||||
<div class="input-group input-group-sm col-lg-6 col-md-6 col-sm-6 col-xs-6">
|
||||
<input id="hiddenEstadoDocumento" type="hidden">
|
||||
<input name="txtEstadoDocumento" title="" class="form-control TextBoxCatalogo inputWarning error" id="txtEstadoDocumento" required="required" type="text" readonly="readonly" data-original-title="">
|
||||
<input id="hiddenEstado" type="hidden">
|
||||
<input name="txtEstado" title="" class="form-control TextBoxCatalogo inputWarning error" id="txtEstado" required="required" type="text" readonly="readonly" data-original-title="">
|
||||
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-default btn-medium" id="btn_eliminarEstadoDocumento" type="button">
|
||||
<i class="fa fa-close"></i>
|
||||
</button>
|
||||
<button class="btn btn-success btn-medium btn-margin-catalogo" id="btnBuscarEstadoDocumento" type="button">
|
||||
<i class="fa fa-search"></i>
|
||||
</button>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
@ -85,12 +94,12 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
|
||||
|
||||
|
||||
@*---------------------Aplicación---------------------------------------------------------*@
|
||||
|
||||
<div class="form-group" id="divAplicacion">
|
||||
|
|
@ -264,52 +273,17 @@
|
|||
@section Modals{
|
||||
|
||||
|
||||
@*---------------------Catalogo Nombre Documento Tecnico---------------------------------------------------------*@
|
||||
<div class="modal fade" id="modalNombreDocumento" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" style="display: none;">
|
||||
<div class="modal-dialog modal-lg" style="width:40%;">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<h4 class="modal-title">Catálogo Nombre Documento Tecnico</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
||||
<br />
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-12">
|
||||
|
||||
<table id="tableNombreDocumento" class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>Código</th>
|
||||
<th>Nombre</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@*---------------------Catalogo Emisor---------------------------------------------------------*@
|
||||
<div class="modal fade" id="modalEmisor" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" style="display: none;">
|
||||
@*---------------------Catalogo Documento Tecnico---------------------------------------------------------*@
|
||||
<div class="modal fade" id="modalDocumentoTecnico" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" style="display: none;">
|
||||
<div class="modal-dialog modal-lg" style="width:40%;">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<h4 class="modal-title">Catálogo Emisor</h4>
|
||||
<h4 class="modal-title">Catálogo Documento Tecnico</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
||||
|
|
@ -318,7 +292,7 @@
|
|||
|
||||
<div class="col-md-12">
|
||||
|
||||
<table id="tableEmisor" class="table table-striped">
|
||||
<table id="tableDocumentoTecnico" class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
|
|
@ -342,7 +316,44 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
@*---------------------Catalogo Estado Documento---------------------------------------------------------*@
|
||||
<div class="modal fade" id="modalEstado" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" style="display: none;">
|
||||
<div class="modal-dialog modal-lg" style="width:40%;">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<h4 class="modal-title">Catálogo Estado</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
||||
<br />
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-12">
|
||||
|
||||
<table id="tableEstado" class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>Código</th>
|
||||
<th>Descripción</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@*---------------------Catalogo Aplicacion-----------------------------------------------------*@
|
||||
<div class="modal fade" id="modalAplicacion" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" style="display: none;">
|
||||
<div class="modal-dialog modal-lg" style="width:40%;">
|
||||
|
|
@ -383,294 +394,295 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
@*---------------------Catalogo Documento Tecnico---------------------------------------------------------*@
|
||||
<div class="modal fade" id="modalDocumentoTecnico" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" style="display: none;">
|
||||
<div class="modal-dialog modal-lg" style="width:40%;">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<h4 class="modal-title">Catálogo Documento Tecnico</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
@*---------------------Catalogo Contenido---------------------------------------------------------*@
|
||||
<div class="modal fade" id="modalContenido" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" style="display: none;">
|
||||
<div class="modal-dialog modal-lg" style="width:40%;">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<h4 class="modal-title">Catálogo Contenido</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
||||
<br />
|
||||
<div class="row">
|
||||
<br />
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-12">
|
||||
|
||||
<table id="tableDocumentoTecnico" class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>Código</th>
|
||||
<th>Descripción</th>
|
||||
<table id="tableContenido" class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>Código</th>
|
||||
<th>Descripción</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@*---------------------Catalogo Contenido---------------------------------------------------------*@
|
||||
<div class="modal fade" id="modalContenido" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" style="display: none;">
|
||||
<div class="modal-dialog modal-lg" style="width:40%;">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<h4 class="modal-title">Catálogo Contenido</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
@*---------------------Catalogo Subcategoria Contenido---------------------------------------------------------*@
|
||||
<div class="modal fade" id="modalSubCategoriaContenido" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" style="display: none;">
|
||||
<div class="modal-dialog modal-lg" style="width:40%;">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<h4 class="modal-title">Catálogo Subcategoria Contenido</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
||||
<br />
|
||||
<div class="row">
|
||||
<br />
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-12">
|
||||
|
||||
<table id="tableContenido" class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>Código</th>
|
||||
<th>Descripción</th>
|
||||
<table id="tableSubCategoriaContenido" class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>Código</th>
|
||||
<th>Descripción</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@*---------------------Catalogo Subcategoria Contenido---------------------------------------------------------*@
|
||||
<div class="modal fade" id="modalSubCategoriaContenido" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" style="display: none;">
|
||||
<div class="modal-dialog modal-lg" style="width:40%;">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<h4 class="modal-title">Catálogo Subcategoria Contenido</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
@*---------------------Catalogo Grupo Tematico---------------------------------------------------------*@
|
||||
<div class="modal fade" id="modalGrupoTematico" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" style="display: none;">
|
||||
<div class="modal-dialog modal-lg" style="width:40%;">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<h4 class="modal-title">Catálogo Grupo Tematico</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
||||
<br />
|
||||
<div class="row">
|
||||
<br />
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-12">
|
||||
|
||||
<table id="tableSubCategoriaContenido" class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>Código</th>
|
||||
<th>Descripción</th>
|
||||
<table id="tableGrupoTematico" class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>Código</th>
|
||||
<th>Descripción</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@*---------------------Catalogo Grupo Tematico---------------------------------------------------------*@
|
||||
<div class="modal fade" id="modalGrupoTematico" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" style="display: none;">
|
||||
<div class="modal-dialog modal-lg" style="width:40%;">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<h4 class="modal-title">Catálogo Grupo Tematico</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
@*---------------------Catalogo SubCategoria Grupo Tematico---------------------------------------------------------*@
|
||||
<div class="modal fade" id="modalSubCategoriaGrupoTematico" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" style="display: none;">
|
||||
<div class="modal-dialog modal-lg" style="width:40%;">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<h4 class="modal-title">Catálogo SubCategoria Grupo Tematico</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
||||
<br />
|
||||
<div class="row">
|
||||
<br />
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-12">
|
||||
|
||||
<table id="tableGrupoTematico" class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>Código</th>
|
||||
<th>Descripción</th>
|
||||
<table id="tableSubCategoriaGrupoTematico" class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>Código</th>
|
||||
<th>Descripción</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@*---------------------Catalogo SubCategoria Grupo Tematico---------------------------------------------------------*@
|
||||
<div class="modal fade" id="modalSubCategoriaGrupoTematico" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" style="display: none;">
|
||||
<div class="modal-dialog modal-lg" style="width:40%;">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<h4 class="modal-title">Catálogo SubCategoria Grupo Tematico</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
||||
<br />
|
||||
<div class="row">
|
||||
@*---------------------Catalogo Emisor---------------------------------------------------------*@
|
||||
<div class="modal fade" id="modalEmisor" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" style="display: none;">
|
||||
<div class="modal-dialog modal-lg" style="width:40%;">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<h4 class="modal-title">Catálogo Emisor</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
||||
<div class="col-md-12">
|
||||
<br />
|
||||
<div class="row">
|
||||
|
||||
<table id="tableSubCategoriaGrupoTematico" class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>Código</th>
|
||||
<th>Descripción</th>
|
||||
<div class="col-md-12">
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<table id="tableEmisor" class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>Código</th>
|
||||
<th>Descripción</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@*---------------------Catalogo Palabra Clave------------------------------------------------------*@
|
||||
|
||||
<div class="modal fade" id="modalPalabraClave" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" style="display: none;">
|
||||
<div class="modal-dialog modal-lg" style="width:50%;">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h4><i class="fa fa-bars"></i> Palabra Clave</h4>
|
||||
<div class="modal-dialog modal-lg" style="width:50%;">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h4><i class="fa fa-bars"></i> Palabra Clave</h4>
|
||||
|
||||
</div>
|
||||
<div class="form-group" id="divPalabraClave">
|
||||
<br />
|
||||
<label class="col-lg-2 col-md-2 col-sm-2 col-xs-2 control-label ControlsForms"></label>
|
||||
<label class="col-lg-1 col-md-1 col-sm-1 col-xs-1 control-label ControlsForms"></label>
|
||||
<div class="input-group input-group-sm col-lg-6 col-md-6 col-sm-6 col-xs-6">
|
||||
<input id="hiddenPalabraClave" type="hidden">
|
||||
<input name="txtPalabraClave" title="" class="form-control TextBoxCatalogo" id="txtPalabraClave" type="text" readonly>
|
||||
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-default btn-medium" id="btn_eliminarPalabraClave" type="button" onclick="javascript: LimpiarPalabraClave()">
|
||||
<i class="fa fa-close"></i>
|
||||
</button>
|
||||
<button class="btn btn-info btn-medium btn-margin-catalogo" id="btnBuscarPalabraClave" type="button">
|
||||
<i class="fa fa-search"></i>
|
||||
</button>
|
||||
<button class="btn btn-success btn-medium btn-margin-catalogo" id="btnAgregarPalabraClave" type="button">
|
||||
<i class="fa fa-plus"></i>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="form-group" id="divPalabraClave">
|
||||
<br />
|
||||
<label class="col-lg-2 col-md-2 col-sm-2 col-xs-2 control-label ControlsForms"></label>
|
||||
<label class="col-lg-1 col-md-1 col-sm-1 col-xs-1 control-label ControlsForms"></label>
|
||||
<div class="input-group input-group-sm col-lg-6 col-md-6 col-sm-6 col-xs-6">
|
||||
<input id="hiddenusuario" type="hidden">
|
||||
<input name="txtPalabraClave" title="" class="form-control TextBoxCatalogo" id="txtPalabraClave" type="text" readonly>
|
||||
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-default btn-medium" id="btn_eliminarPalabraClave" type="button" onclick="javascript: LimpiarUsuario()">
|
||||
<i class="fa fa-close"></i>
|
||||
<div class="modal-body">
|
||||
<table id="tablePalabraClave" class="table table-condensed dataTable no-footer">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="col-sm-4">Palabra Clave</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
<div id="ucItemsEliminar" style="display:none;">
|
||||
<button type="button" id="btneliminar" class="btn btn-default btn-xs">
|
||||
<i class=" fa fa-times"></i> Eliminar
|
||||
</button>
|
||||
<button class="btn btn-info btn-medium btn-margin-catalogo" id="btnBuscarPalabraClave" type="button">
|
||||
<i class="fa fa-search"></i>
|
||||
</button>
|
||||
<button class="btn btn-success btn-medium btn-margin-catalogo" id="btnAgregarPalabraClave" type="button">
|
||||
<i class="fa fa-plus"></i>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br />
|
||||
<div class="modal-body">
|
||||
<table id="tablePalabraClave" class="table table-condensed dataTable no-footer">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="col-sm-4">Palabra Clave</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
<div id="ucItemsEliminar" style="display:none;">
|
||||
<button type="button" id="btneliminar" class="btn btn-default btn-xs">
|
||||
<i class=" fa fa-times"></i> Eliminar
|
||||
</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-success btn-sm" data-dismiss="modal">Aceptar</button>
|
||||
<button type="button" class="btn btn-danger btn-sm" data-dismiss="modal">Cerrar</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@*---------------------Palabras Claves---------------------------------------------------------*@
|
||||
<div class="modal fade" id="modalPalabrasClaves" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" style="display: none;">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<h4 class="modal-title">Catálogo Palabras Claves</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-12">
|
||||
|
||||
<table id="tablePalabrasClaves" class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="col-sm-2">Palabras Claves</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-success btn-sm" data-dismiss="modal">Aceptar</button>
|
||||
<button type="button" class="btn btn-danger btn-sm" data-dismiss="modal">Cerrar</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@*---------------------Palabras Claves---------------------------------------------------------*@
|
||||
<div class="modal fade" id="modalPalabrasClaves" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" style="display: none;">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<h4 class="modal-title">Catálogo Palabras Claves</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-12">
|
||||
|
||||
<table id="tablePalabrasClaves" class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="col-sm-2">Palabras Claves</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="ucbtnRemoverPalabrasClaves" style=" display:none;">
|
||||
<button type="button" id="btnRemover" class="btn btn-default btn-xs">
|
||||
<i class="fa fa-remove"></i> Remover
|
||||
</button>
|
||||
</div>
|
||||
<button type="button" id="btnRemover" class="btn btn-default btn-xs">
|
||||
<i class="fa fa-remove"></i> Remover
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue