From f9b9c4bbfc778c3fb16aa118ec4f236630a094db Mon Sep 17 00:00:00 2001 From: ndbs Date: Sun, 28 Apr 2024 17:38:20 +0800 Subject: [PATCH] --- .../Views/JobPerformance/Form.cshtml | 6 +++--- .../Views/JobPerformance/Form.js | 16 +++++++--------- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/JobPerformance/Form.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/JobPerformance/Form.cshtml index 1085a2f7c..b2eaeb2dc 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/JobPerformance/Form.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/JobPerformance/Form.cshtml @@ -18,10 +18,10 @@
-
处室*
- +
处室
+
-
+
姓名*
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/JobPerformance/Form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/JobPerformance/Form.js index 8c21c63a7..44359b81c 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/JobPerformance/Form.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/JobPerformance/Form.js @@ -49,16 +49,14 @@ var bootstrap = function ($, learun) { if (!$('#form').lrValidform()) { return false; } - var postData = $('#form').lrGetFormData(); $("#EmpName").val($("#EmpNo").find(".lr-select-placeholder").text()); - console.log(postData.EmpName,"postData") - console.log(postData, "postData") - //$.lrSaveForm(top.$.rootUrl + '/EducationalAdministration/JobPerformance/SaveForm?keyValue=' + keyValue, postData, function (res) { - // // 保存成功后才回调 - // if (!!callBack) { - // callBack(); - // } - //}); + var postData = $('#form').lrGetFormData(); + $.lrSaveForm(top.$.rootUrl + '/EducationalAdministration/JobPerformance/SaveForm?keyValue=' + keyValue, postData, function (res) { + // 保存成功后才回调 + if (!!callBack) { + callBack(); + } + }); }; page.init(); }