--Actualizar eventos desde diagrama de grantt

This commit is contained in:
2024-07-06 13:40:59 -07:00
parent 21a3b6fdc2
commit 40f11382c3
3 changed files with 181 additions and 141 deletions

View File

@@ -32,8 +32,8 @@ Partial Class RepContratosCalendario
Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
If Not IsPostBack Then
txtFechaI.Text = DateTime.Now.AddMonths(-1).ToShortDateString
txtFechaF.Text = DateTime.Now.AddDays(7).ToShortDateString
txtFechaI.Text = DateTime.Now.ToShortDateString
txtFechaF.Text = DateTime.Now.AddMonths(1).ToShortDateString
InicializaCombos()
InicializaCalendar()
CargaDatos()
@@ -85,7 +85,9 @@ Partial Class RepContratosCalendario
New JProperty("columnSettings", New JObject(
New JProperty("fill", String.Format("#{0:X6}", random.Next(16777216)))
)),
New JProperty("task", Row("NombreAF"))
New JProperty("unidad", Row("NombreAF")),
New JProperty("cveContrato", Row("CveContrato")),
New JProperty("contrato", Row("NumeroContrato"))
)
jsonData.Add(obj)
strAF.AppendFormat("{0},", Row("CveAF"))