|
|
@@ -41,7 +41,7 @@ var bootstrap = function ($, learun) { |
|
|
|
text: 'stuname', |
|
|
|
headData: |
|
|
|
[ |
|
|
|
{ label: "学号", name: "stuno", width: 100, align: "left" }, |
|
|
|
{ label: "学号", name: "stuno", width: 140, align: "left" }, |
|
|
|
{ label: "姓名", name: "stuname", width: 100, align: "left" }, |
|
|
|
{ |
|
|
|
label: "班级", name: "classno", width: 100, align: "left", |
|
|
@@ -110,19 +110,20 @@ var bootstrap = function ($, learun) { |
|
|
|
}; |
|
|
|
// 保存数据 |
|
|
|
acceptClick = function (callBack) { |
|
|
|
if (!$('body').lrValidform()) { |
|
|
|
if (!$('form').lrValidform()) { |
|
|
|
return false; |
|
|
|
} |
|
|
|
var postData = { |
|
|
|
strEntity: JSON.stringify($('body').lrGetFormData()) |
|
|
|
//postData.StuName= |
|
|
|
strEntity: JSON.stringify($('form').lrGetFormData()) |
|
|
|
}; |
|
|
|
console.log(postData,"postData") |
|
|
|
$.lrSaveForm(top.$.rootUrl + '/EducationalAdministration/ScoreCheckInfo/SaveForm?keyValue=' + keyValue, postData, function (res) { |
|
|
|
// 保存成功后才回调 |
|
|
|
if (!!callBack) { |
|
|
|
callBack(); |
|
|
|
} |
|
|
|
}); |
|
|
|
//$.lrSaveForm(top.$.rootUrl + '/EducationalAdministration/ScoreCheckInfo/SaveForm?keyValue=' + keyValue, postData, function (res) { |
|
|
|
// // 保存成功后才回调 |
|
|
|
// if (!!callBack) { |
|
|
|
// callBack(); |
|
|
|
// } |
|
|
|
//}); |
|
|
|
}; |
|
|
|
page.init(); |
|
|
|
} |