diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OrganizationModule/Views/Company/Form.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OrganizationModule/Views/Company/Form.cshtml index 1c4675d7b..49eb7e279 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OrganizationModule/Views/Company/Form.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OrganizationModule/Views/Company/Form.cshtml @@ -2,78 +2,85 @@ ViewBag.Title = "学校添加"; Layout = "~/Views/Shared/_Form.cshtml"; } -
-
-
学校名称*
- -
-
-
学校编码*
- -
-
-
学校简称*
- -
-
-
上级学校
-
-
-
-
成立时间
- -
-
-
负责人
- -
-
-
电话
- -
+
+
+
学校名称*
+ +
+
+
学校编码*
+ +
+
+
学校简称*
+ +
+
+
上级学校
+
+
+
+
成立时间
+ +
+
+
负责人
+ +
+
+
电话
+ +
-
-
电子邮箱
- -
-
-
照片
-
-
-
-
校区简介
-
-
-
-
招生简介
-
-
-
-
传真
- -
-
-
学校地点
-
-
-
-
-
-
- -
-
-
-
邮编
- -
-
-
学校官网
- +
+
电子邮箱
+ +
+
+
照片
+
+
+
+
校区简介
+ + @*
*@ +
+
+
招生简介
+ + @*
*@ +
+
+
传真
+ +
+
+
学校地点
+
+
+
+
-
-
备注
- +
+
+
+
邮编
+ +
+
+
学校官网
+ +
+
+
备注
+ +
+
+ + + @Html.AppendJsFile("/Areas/LR_OrganizationModule/Views/Company/Form.js") diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OrganizationModule/Views/Company/Form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OrganizationModule/Views/Company/Form.js index 5a6b5cc21..ae70b3773 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OrganizationModule/Views/Company/Form.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OrganizationModule/Views/Company/Form.js @@ -27,28 +27,28 @@ var bootstrap = function ($, learun) { $('#area').lrAreaSelect(); $('#F_Photo').lrUploader(); F_BriefIntroductionUE = UE.getEditor('F_BriefIntroduction'); - $('#F_BriefIntroduction')[0].ue = F_BriefIntroductionUE; + //$('#F_BriefIntroduction')[0].ue = F_BriefIntroductionUE; F_EnrollmentInformationUE = UE.getEditor('F_EnrollmentInformation'); - $('#F_EnrollmentInformation')[0].ue = F_EnrollmentInformationUE; + //$('#F_EnrollmentInformation')[0].ue = F_EnrollmentInformationUE; }, initData: function () { if (!!selectedRow) { keyValue = selectedRow.F_CompanyId; - + console.log(selectedRow); $('#form').lrSetFormData(selectedRow); - //if (selectedRow.F_BriefIntroduction) { - // setTimeout(function () { - // F_BriefIntroductionUE.setContent(selectedRow.F_BriefIntroduction); - // }, 100); + if (selectedRow.F_BriefIntroduction) { + setTimeout(function () { + F_BriefIntroductionUE.setContent(selectedRow.F_BriefIntroduction); + }, 100); - //}; - //if (selectedRow.F_EnrollmentInformation) { - // setTimeout(function () { - // F_EnrollmentInformationUE.setContent(selectedRow.F_EnrollmentInformation); - // }, 100); + }; + if (selectedRow.F_EnrollmentInformation) { + setTimeout(function () { + F_EnrollmentInformationUE.setContent(selectedRow.F_EnrollmentInformation); + }, 100); - //}; + }; } } };