Преглед изворни кода

填写时间回显

金隅分支
edy пре 3 година
родитељ
комит
54c9ed5420
1 измењених фајлова са 9 додато и 1 уклоњено
  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 Прегледај датотеку

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


Loading…
Откажи
Сачувај