Bladeren bron

填写时间回显

金隅分支
edy 3 jaren geleden
bovenliggende
commit
54c9ed5420
1 gewijzigde bestanden met toevoegingen van 9 en 1 verwijderingen
  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 Bestand weergeven

@@ -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);


Laden…
Annuleren
Opslaan