ndbs 7 months ago
parent
commit
f9b9c4bbfc
2 changed files with 10 additions and 12 deletions
  1. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/JobPerformance/Form.cshtml
  2. +7
    -9
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/JobPerformance/Form.js

+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/JobPerformance/Form.cshtml View File

@@ -18,10 +18,10 @@
<div id="IssueMonth" isvalid="yes" checkexpession="NotNull"></div>
</div>
<div class="col-xs-4 lr-form-item">
<div class="lr-form-item-title">处室<font face="宋体">*</font></div>
<input id="Department" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
<div class="lr-form-item-title">处室</div>
<input id="Department" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="ClassInfo">
<div class="col-xs-6 lr-form-item" >
<div class="lr-form-item-title">姓名<font face="宋体">*</font></div>
<div id="EmpNo" checkexpession="NotNull" isvalid="yes"></div>
<input id="EmpName" type="hidden" />


+ 7
- 9
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/JobPerformance/Form.js View File

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

Loading…
Cancel
Save