Explorar el Código

填写时间回显

金隅分支
edy hace 3 años
padre
commit
54c9ed5420
Se han modificado 1 ficheros con 9 adiciones y 1 borrados
  1. +9
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/FillinFromController.cs

+ 9
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/FillinFromController.cs Ver fichero

@@ -120,6 +120,14 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
public ActionResult GetFormData(string keyValue)
{
var FillinFromData = fillinFromIBLL.GetFillinFromEntity(keyValue);
if (FillinFromData.FillingCycle == "2")
{
FillinFromData.FillingTime2= FillinFromData.FillingTime;
}
else
{
FillinFromData.FillingTime1= FillinFromData.FillingTime;
}
var jsonData = new
{
FillinFrom = FillinFromData,
@@ -185,7 +193,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
else if (entity.FillingCycle == "3")
{
entity.FillingTime = entity.FillingTime1;
}
}
#endregion

fillinFromIBLL.SaveEntity(keyValue, entity);


Cargando…
Cancelar
Guardar