|
@@ -34,6 +34,17 @@ var bootstrap = function ($, learun) { |
|
|
return cellvalue == true ? "男" : "女"; |
|
|
return cellvalue == true ? "男" : "女"; |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: "学习形式", name: "StudyModality", width: 75, align: "left", formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
|
|
learun.clientdata.getAsync('dataItem', { |
|
|
|
|
|
key: value, |
|
|
|
|
|
code: 'StudyModality', |
|
|
|
|
|
callback: function (_data) { |
|
|
|
|
|
callback(_data.text); |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: "校区", name: "F_SchoolId", width: 100, align: "left", |
|
|
label: "校区", name: "F_SchoolId", width: 100, align: "left", |
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
@@ -105,7 +116,7 @@ var bootstrap = function ($, learun) { |
|
|
]; |
|
|
]; |
|
|
headDataEdit = [ |
|
|
headDataEdit = [ |
|
|
{ |
|
|
{ |
|
|
label: '期末成绩', name: 'TermEndScore', width: 80, align: "left", |
|
|
|
|
|
|
|
|
label: '专业课成绩', name: 'TermEndScore', width: 80, align: "left", |
|
|
edit: { |
|
|
edit: { |
|
|
type: 'input', |
|
|
type: 'input', |
|
|
inputType: 'number', |
|
|
inputType: 'number', |
|
@@ -125,7 +136,7 @@ var bootstrap = function ($, learun) { |
|
|
]; |
|
|
]; |
|
|
headDataNoEdit = [ |
|
|
headDataNoEdit = [ |
|
|
{ |
|
|
{ |
|
|
label: '期末成绩', name: 'TermEndScore', width: 80, align: "left" |
|
|
|
|
|
|
|
|
label: '专业课成绩', name: 'TermEndScore', width: 80, align: "left" |
|
|
}, |
|
|
}, |
|
|
{ label: '总成绩', name: 'Score', width: 80, align: "left" }, |
|
|
{ label: '总成绩', name: 'Score', width: 80, align: "left" }, |
|
|
{ |
|
|
{ |
|
@@ -400,7 +411,7 @@ var bootstrap = function ($, learun) { |
|
|
}.bind(this), "json"); |
|
|
}.bind(this), "json"); |
|
|
}, |
|
|
}, |
|
|
initGird: function () { |
|
|
initGird: function () { |
|
|
$('#gridtable').lrAuthorizeJfGrid({ |
|
|
|
|
|
|
|
|
$('#gridtable').jfGrid({ |
|
|
url: top.$.rootUrl + '/EducationalAdministration/StuScoreExperiment/GetList', |
|
|
url: top.$.rootUrl + '/EducationalAdministration/StuScoreExperiment/GetList', |
|
|
headData: headDataFinally, |
|
|
headData: headDataFinally, |
|
|
mainId: 'ScoreId', |
|
|
mainId: 'ScoreId', |
|
|