git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C64
This commit is contained in:
parent
0b8e35e350
commit
63d51583bb
9 changed files with 181 additions and 39 deletions
|
|
@ -8,6 +8,7 @@ jQuery(document).ready(function () {
|
|||
alert("No ha seleccionado una propuesta");
|
||||
|
||||
|
||||
$('#TableItems').TableInit(0, false, true, true, false, null, null);
|
||||
$("#tabs").tabs();
|
||||
|
||||
});
|
||||
|
|
@ -12,72 +12,120 @@
|
|||
<ul>
|
||||
<li><a href="#tabs-1">Información General</a></li>
|
||||
<li><a href="#tabs-2">Participantes</a></li>
|
||||
<li><a href="#tabs-3">Participantes Actuales</a></li>
|
||||
<li><a href="#tabs-3">Foro</a></li>
|
||||
</ul>
|
||||
<div id="tabs-1">
|
||||
@* Informacion General *@
|
||||
<div class="panel-body">
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
<label class="col-sm-4 control-label ControlsForms">Descripción</label>
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label ControlsForms">Proyecto Normativo</label>
|
||||
<div class="col-sm-8">
|
||||
<input type="text" id="txtNombreProyecto" name="txtNombreProyecto" class="form-control imput-xs" readonly style="cursor:not-allowed" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label ControlsForms">Promotor</label>
|
||||
<div class="col-sm-8">
|
||||
<input type="text" id="txtPromotor" name="txtPromotor" class="form-control imput-xs" readonly style="cursor:not-allowed" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label ControlsForms">Estado </label>
|
||||
<div class="col-sm-4">
|
||||
<input type="text" id="txtEstado" name="txtEstado" class="form-control imput-xs" readonly style="cursor:not-allowed" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-6 control-label ControlsForms">Fecha de Inicio Consulta</label>
|
||||
<div class="col-sm-6">
|
||||
<input type="text" id="txtDescripcion" name="txtDescripcion" class="form-control imput-xs" readonly style="cursor:not-allowed" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-sm-6 control-label ControlsForms">Fecha Finalización Consulta </label>
|
||||
<div class="col-sm-6">
|
||||
<input type="text" id="txtDescripcion" name="txtDescripcion" class="form-control imput-xs" readonly style="cursor:not-allowed" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="tabs-2">
|
||||
@* Participantes *@
|
||||
<div class="panel-body">
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
<table id="TableItems" class="display">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th class="col-sm-4">Nombre</th>
|
||||
<th class="col-sm-4">Fecha Máxima Confirmación</th>
|
||||
<th class="col-sm-4">Fecha Creación</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
<div id="ucItemsIcon" style="display:none;">
|
||||
<div class="text-[$state_color]">
|
||||
<i class="fa [$icon] fa-2x"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div id="ucItemsCatalogo" style="display:none;">
|
||||
|
||||
<div class="btn-group">
|
||||
<button type="button" class="btn btn-info dropdown-toggle btn-xs" data-toggle="dropdown">
|
||||
<i class="fa fa-wrench"></i> Opciones <span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
<li><a href="javascript: EditarItem([$CodItem]);"><i class="fa fa-wrench"></i> Editar</a></li>
|
||||
<li><a href="javascript: toggleEnabledItem([$CodItem],[$value]);"><i class="fa [$icon]"></i> [$opcion]</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="panel panel-success">
|
||||
<div class="panel-heading">
|
||||
<h4 class="panel-title">
|
||||
<i class="fa fa-bars"></i> <label id="lbTituloAccion">Ingresar Nueva Aplicación</label>
|
||||
<i class="fa fa-bars"></i> <label id="lbTituloAccion">Ingresar nuevo participante</label>
|
||||
</h4>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
|
||||
@*Descripción*@
|
||||
|
||||
@*Usuario*@
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label ControlsForms">Descripción</label>
|
||||
<div class="col-sm-8">
|
||||
<input type="text" id="txtDescripcion" name="txtDescripcion" class="form-control imput-xs" />
|
||||
<label class="col-sm-4 control-label ControlsForms">Usuario</label>
|
||||
<div class="btn-group col-sm-6">
|
||||
<input type="hidden" id="hiddenIDUsuario" />
|
||||
<input type="text" id="txtUsuario" name="txtUsuario" class="form-control imput-xs"
|
||||
readonly data-role="btnBuscarUsuario" />
|
||||
</div>
|
||||
<div class="btn-group">
|
||||
<button type="button" id="btnBuscarUsuario" class="btn btn-info btn-xs">
|
||||
<i class="fa fa-search"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-md-2"></label>
|
||||
<div class="col-md-4 ">
|
||||
|
||||
<button type="button" class="btn btn-default btn-sm pull-right" id="btnLimpiar">
|
||||
<span class="fa fa-eraser" aria-hidden="true"></span> Limpiar
|
||||
</button>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="col-md-4 ">
|
||||
<button type="button" class="btn btn-default btn-sm pull-right" id="btnInsertar">
|
||||
<span class="fa fa-upload" aria-hidden="true"></span> Insertar
|
||||
</button>
|
||||
<button type="button" class="btn btn-default btn-sm pull-right" id="btnGuardar">
|
||||
<span class="fa fa-floppy-o" aria-hidden="true"></span> Guardar
|
||||
</button>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div id="tabs-2">
|
||||
<p> B </p>
|
||||
</div>
|
||||
<div id="tabs-3">
|
||||
<p> C </p>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -83,6 +83,7 @@
|
|||
<Compile Include="Sinort\Partial\Contex.cs" />
|
||||
<Compile Include="Sinort\PermisosUsuario.cs" />
|
||||
<Compile Include="Sinort\PlantillaEmail.cs" />
|
||||
<Compile Include="Sinort\ProyectoNormativo.cs" />
|
||||
<Compile Include="Sinort\Roles.cs" />
|
||||
<Compile Include="Sinort\RolesPantallas.cs" />
|
||||
<Compile Include="Sinort\RolesUsuario.cs" />
|
||||
|
|
|
|||
|
|
@ -9,6 +9,12 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[Table("Catalogos.Aplicacion")]
|
||||
public partial class Aplicacion
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public Aplicacion()
|
||||
{
|
||||
ProyectoNormativo = new HashSet<ProyectoNormativo>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public int IdAplicacion { get; set; }
|
||||
|
|
@ -30,6 +36,9 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[StringLength(200)]
|
||||
public string UsuarioModificacion { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<ProyectoNormativo> ProyectoNormativo { get; set; }
|
||||
|
||||
public virtual TipoAplicacion TipoAplicacion { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,6 +9,12 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[Table("Catalogos.Emisor")]
|
||||
public partial class Emisor
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public Emisor()
|
||||
{
|
||||
ProyectoNormativo = new HashSet<ProyectoNormativo>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public int IdEmisor { get; set; }
|
||||
|
|
@ -30,6 +36,9 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[StringLength(200)]
|
||||
public string UsuarioModificacion { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<ProyectoNormativo> ProyectoNormativo { get; set; }
|
||||
|
||||
public virtual TipoEmisor TipoEmisor { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
{
|
||||
ComentariosForo = new HashSet<ComentariosForo>();
|
||||
Convocatoria = new HashSet<Convocatoria>();
|
||||
ProyectoNormativo = new HashSet<ProyectoNormativo>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
|
|
@ -39,5 +40,8 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<Convocatoria> Convocatoria { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<ProyectoNormativo> ProyectoNormativo { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
public Matriz()
|
||||
{
|
||||
ComentariosMatriz = new HashSet<ComentariosMatriz>();
|
||||
ProyectoNormativo = new HashSet<ProyectoNormativo>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
|
|
@ -35,5 +36,8 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<ComentariosMatriz> ComentariosMatriz { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<ProyectoNormativo> ProyectoNormativo { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
53
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/ProyectoNormativo.cs
Normal file
53
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/ProyectoNormativo.cs
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("Normativo.ProyectoNormativo")]
|
||||
public partial class ProyectoNormativo
|
||||
{
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public int IdProyectoNormativo { get; set; }
|
||||
|
||||
[StringLength(200)]
|
||||
public string NombreProyectoNormativo { get; set; }
|
||||
|
||||
public int? IdForo { get; set; }
|
||||
|
||||
public int? IdMatriz { get; set; }
|
||||
|
||||
public int? IdEmisor { get; set; }
|
||||
|
||||
public int? IdAplicacion { get; set; }
|
||||
|
||||
public DateTime? FechaInicioConsulta { get; set; }
|
||||
|
||||
public DateTime? FechaFinConsulta { get; set; }
|
||||
|
||||
public int? PromotorProyecto { get; set; }
|
||||
|
||||
public DateTime? FechaMaximaConfirmarParticipacion { get; set; }
|
||||
|
||||
public DateTime? FechaCreacion { get; set; }
|
||||
|
||||
[StringLength(200)]
|
||||
public string UsuarioCreacion { get; set; }
|
||||
|
||||
public DateTime? FechaModificacion { get; set; }
|
||||
|
||||
[StringLength(200)]
|
||||
public string UsuarioModificacion { get; set; }
|
||||
|
||||
public virtual Aplicacion Aplicacion { get; set; }
|
||||
|
||||
public virtual Emisor Emisor { get; set; }
|
||||
|
||||
public virtual Foro Foro { get; set; }
|
||||
|
||||
public virtual Matriz Matriz { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -33,6 +33,7 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
public virtual DbSet<Convocatoria> Convocatoria { get; set; }
|
||||
public virtual DbSet<Foro> Foro { get; set; }
|
||||
public virtual DbSet<Matriz> Matriz { get; set; }
|
||||
public virtual DbSet<ProyectoNormativo> ProyectoNormativo { get; set; }
|
||||
|
||||
protected override void OnModelCreating(DbModelBuilder modelBuilder)
|
||||
{
|
||||
|
|
@ -378,6 +379,18 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
modelBuilder.Entity<Matriz>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<ProyectoNormativo>()
|
||||
.Property(e => e.NombreProyectoNormativo)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<ProyectoNormativo>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<ProyectoNormativo>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue