From aa5b2744e12ad2900d8fbf215b6a639efc3c05ef Mon Sep 17 00:00:00 2001 From: liangkun Date: Mon, 24 May 2021 18:24:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=A1=E5=8C=BA=E7=AE=A1=E7=90=86=E5=AF=8C?= =?UTF-8?q?=E6=96=87=E6=9C=AC=E7=BC=96=E8=BE=91=E5=8A=9F=E8=83=BD=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/Company/Form.cshtml | 147 +++++++++--------- .../Views/Company/Form.js | 26 ++-- 2 files changed, 90 insertions(+), 83 deletions(-) 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); - //}; + }; } } };