ndbs 7 kuukautta sitten
vanhempi
commit
f9b9c4bbfc
2 muutettua tiedostoa jossa 10 lisäystä ja 12 poistoa
  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 Näytä tiedosto

@@ -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 Näytä tiedosto

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

Ladataan…
Peruuta
Tallenna