Quitar la parte de tareas
This commit is contained in:
@@ -483,7 +483,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4 col-sm-4">
|
<%--<div class="col-md-4 col-sm-4">
|
||||||
<asp:UpdatePanel ID="UPPTareas" runat="server" RenderMode="Inline" UpdateMode="Conditional">
|
<asp:UpdatePanel ID="UPPTareas" runat="server" RenderMode="Inline" UpdateMode="Conditional">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
|
|
||||||
@@ -534,7 +534,7 @@
|
|||||||
|
|
||||||
</ContentTemplate>
|
</ContentTemplate>
|
||||||
</asp:UpdatePanel>
|
</asp:UpdatePanel>
|
||||||
</div>
|
</div>--%>
|
||||||
<%-- <div class="col-md-2 col-sm-2">
|
<%-- <div class="col-md-2 col-sm-2">
|
||||||
<div class="portlet light ">
|
<div class="portlet light ">
|
||||||
<div class="portlet-title">
|
<div class="portlet-title">
|
||||||
|
|||||||
@@ -178,7 +178,7 @@ Partial Class Inicio
|
|||||||
CargaGraficas()
|
CargaGraficas()
|
||||||
End If
|
End If
|
||||||
|
|
||||||
CargaTareas()
|
'CargaTareas()
|
||||||
If UsuarioActual.CveRol = 1 Then
|
If UsuarioActual.CveRol = 1 Then
|
||||||
divInd.Visible = True
|
divInd.Visible = True
|
||||||
CargaSubProyectos()
|
CargaSubProyectos()
|
||||||
@@ -463,39 +463,39 @@ Partial Class Inicio
|
|||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub CargaTareas()
|
'Private Sub CargaTareas()
|
||||||
Dim ObjProspectos As New ClsOIEventos
|
' Dim ObjProspectos As New ClsOIEventos
|
||||||
|
|
||||||
Dim FechaI, FechaF As DateTime
|
' Dim FechaI, FechaF As DateTime
|
||||||
Dim CveEventoEstatus As Integer = -1
|
' Dim CveEventoEstatus As Integer = -1
|
||||||
FechaI = Now.AddDays(-180)
|
' FechaI = Now.AddDays(-180)
|
||||||
FechaF = Now
|
' FechaF = Now
|
||||||
If ObjProspectos.GetRepEventos(-1, 1, -1, "-1", "-1", -1, -1, -1, 1, -1, -1, "-1", -1, -1, -1, -1, -1, -1, -1, -1, -1, UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa, FechaI, FechaF) Then
|
' If ObjProspectos.GetRepEventos(-1, 1, -1, "-1", "-1", -1, -1, -1, 1, -1, -1, "-1", -1, -1, -1, -1, -1, -1, -1, -1, -1, UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa, FechaI, FechaF) Then
|
||||||
|
|
||||||
Dim DT As DataTable = ObjProspectos.DtResultados.Clone
|
' Dim DT As DataTable = ObjProspectos.DtResultados.Clone
|
||||||
|
|
||||||
If ChkOIPorHacer.Checked Then DT.Merge(ObjProspectos.DtResultados.FiltraParametros(String.Format("CveUsuarioPara = {0} ", UsuarioActual.CveUsuario)))
|
' If ChkOIPorHacer.Checked Then DT.Merge(ObjProspectos.DtResultados.FiltraParametros(String.Format("CveUsuarioPara = {0} ", UsuarioActual.CveUsuario)))
|
||||||
If ChkOIAsigne.Checked Then DT.Merge(ObjProspectos.DtResultados.FiltraParametros(String.Format("CveUsuarioDe = {0} ", UsuarioActual.CveUsuario)))
|
' If ChkOIAsigne.Checked Then DT.Merge(ObjProspectos.DtResultados.FiltraParametros(String.Format("CveUsuarioDe = {0} ", UsuarioActual.CveUsuario)))
|
||||||
|
|
||||||
GvT.DataSource = DT
|
' GvT.DataSource = DT
|
||||||
End If
|
' End If
|
||||||
|
|
||||||
ObjProspectos.Dispose()
|
' ObjProspectos.Dispose()
|
||||||
GvT.DataBind()
|
' GvT.DataBind()
|
||||||
End Sub
|
'End Sub
|
||||||
Protected Sub GvT_RowDataBound(sender As Object, e As GridViewRowEventArgs) Handles GvT.RowDataBound
|
'Protected Sub GvT_RowDataBound(sender As Object, e As GridViewRowEventArgs) Handles GvT.RowDataBound
|
||||||
If e.Row.RowType = DataControlRowType.DataRow Then
|
' If e.Row.RowType = DataControlRowType.DataRow Then
|
||||||
Select Case UsuarioActual.CveUsuario.ToString
|
' Select Case UsuarioActual.CveUsuario.ToString
|
||||||
Case e.Row.DBCampo("CveUsuarioPara")
|
' Case e.Row.DBCampo("CveUsuarioPara")
|
||||||
'etiqueta de 'asignado'
|
' 'etiqueta de 'asignado'
|
||||||
e.Row.FCLabel("LblTipo").CssClass = "label label-sm label-warning "
|
' e.Row.FCLabel("LblTipo").CssClass = "label label-sm label-warning "
|
||||||
e.Row.FCLabel("LblTipo").Text = "por hacer <i class='fa fa-share'></i>"
|
' e.Row.FCLabel("LblTipo").Text = "por hacer <i class='fa fa-share'></i>"
|
||||||
Case e.Row.DBCampo("CveUsuarioDe")
|
' Case e.Row.DBCampo("CveUsuarioDe")
|
||||||
e.Row.FCLabel("LblTipo").CssClass = "label label-sm label-success"
|
' e.Row.FCLabel("LblTipo").CssClass = "label label-sm label-success"
|
||||||
e.Row.FCLabel("LblTipo").Text = "Asigné"
|
' e.Row.FCLabel("LblTipo").Text = "Asigné"
|
||||||
End Select
|
' End Select
|
||||||
End If
|
' End If
|
||||||
End Sub
|
'End Sub
|
||||||
Private Sub MuestraIndicador(DIV As HtmlGenericControl, Color As String, Icono As String, Titulo As String, Comentario As String, Link As String, TitleComentario As String)
|
Private Sub MuestraIndicador(DIV As HtmlGenericControl, Color As String, Icono As String, Titulo As String, Comentario As String, Link As String, TitleComentario As String)
|
||||||
Dim htmldiv As New StringBuilder
|
Dim htmldiv As New StringBuilder
|
||||||
htmldiv.AppendFormat("{0}<div class='col-lg-4 col-md-4 col-sm-6 col-xs-12'><div class='dashboard-stat {1}'><div class='visual'><i class='{2}' '=''></i></div>", DIV.InnerHtml, Color, Icono)
|
htmldiv.AppendFormat("{0}<div class='col-lg-4 col-md-4 col-sm-6 col-xs-12'><div class='dashboard-stat {1}'><div class='visual'><i class='{2}' '=''></i></div>", DIV.InnerHtml, Color, Icono)
|
||||||
@@ -844,9 +844,9 @@ Partial Class Inicio
|
|||||||
End Sub
|
End Sub
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
Protected Sub ChkOIAsigne_CheckedChanged(sender As Object, e As EventArgs) Handles ChkOIAsigne.CheckedChanged, ChkOIPorHacer.CheckedChanged
|
'Protected Sub ChkOIAsigne_CheckedChanged(sender As Object, e As EventArgs) Handles ChkOIAsigne.CheckedChanged, ChkOIPorHacer.CheckedChanged
|
||||||
CargaTareas()
|
' CargaTareas()
|
||||||
End Sub
|
'End Sub
|
||||||
Protected Sub DdlFiltroIndicador_SelectedIndexChanged(sender As Object, e As EventArgs)
|
Protected Sub DdlFiltroIndicador_SelectedIndexChanged(sender As Object, e As EventArgs)
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|||||||
Reference in New Issue
Block a user