diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/DispatchController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/DispatchController.cs index a765ba46d..7fbe8369e 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/DispatchController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/DispatchController.cs @@ -62,7 +62,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers return View(); } - + #endregion #region 获取数据 @@ -149,6 +149,14 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers { DispatchEntity entity = strEntity.ToObject(); entity.FlowNo = "0"; + if (entity.DisOffice == "1") + { + entity.WorkName = "1"; + } + else + { + entity.WorkName = "2"; + } dispatchIBLL.SaveEntity(keyValue, entity); if (string.IsNullOrEmpty(keyValue)) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Dispatch/Form.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Dispatch/Form.cshtml index a2894040b..f218e00dd 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Dispatch/Form.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Dispatch/Form.cshtml @@ -3,16 +3,12 @@ Layout = "~/Views/Shared/_Form.cshtml"; }
-
-
工作名称*
- -
-
+
标题*
-
+
-
-
来文*
+
+
来文单位*
@@ -58,11 +54,11 @@ isvalid="yes" checkexpession="NotNull" />
@*
-
批示
- -
*@ +
批示
+ +
*@
-
收文
+
收文单位