|
@@ -480,7 +480,18 @@ var bootstrap = function ($, learun) { |
|
|
allowSearch: false, |
|
|
allowSearch: false, |
|
|
url: top.$.rootUrl + '/EducationalAdministration/StuScore/GetAcademicYearNoData', |
|
|
url: top.$.rootUrl + '/EducationalAdministration/StuScore/GetAcademicYearNoData', |
|
|
value: 'value', |
|
|
value: 'value', |
|
|
text: 'text' |
|
|
|
|
|
|
|
|
text: 'text', |
|
|
|
|
|
select: function (item) { |
|
|
|
|
|
var $content = $('body').find('.lr-layout-tool-left'); |
|
|
|
|
|
var query = $content.lrGetFormData(); |
|
|
|
|
|
if (!!item) { |
|
|
|
|
|
$('#LessonNo').lrselectRefresh({ |
|
|
|
|
|
url: top.$.rootUrl + '/EducationalAdministration/StuScore/GetLessonNoDataWithNo?queryJson=' + JSON.stringify(query), |
|
|
|
|
|
value: 'value', |
|
|
|
|
|
text: 'text', |
|
|
|
|
|
}); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
}); |
|
|
}); |
|
|
//学期 |
|
|
//学期 |
|
|
$('#Semester').lrselect({ |
|
|
$('#Semester').lrselect({ |
|
@@ -488,13 +499,23 @@ var bootstrap = function ($, learun) { |
|
|
allowSearch: false, |
|
|
allowSearch: false, |
|
|
url: top.$.rootUrl + '/EducationalAdministration/StuScore/GetSemesterData', |
|
|
url: top.$.rootUrl + '/EducationalAdministration/StuScore/GetSemesterData', |
|
|
value: 'value', |
|
|
value: 'value', |
|
|
text: 'text' |
|
|
|
|
|
|
|
|
text: 'text', |
|
|
|
|
|
select: function (item) { |
|
|
|
|
|
var $content = $('body').find('.lr-layout-tool-left'); |
|
|
|
|
|
var query = $content.lrGetFormData(); |
|
|
|
|
|
if (!!item) { |
|
|
|
|
|
$('#LessonNo').lrselectRefresh({ |
|
|
|
|
|
url: top.$.rootUrl + '/EducationalAdministration/StuScore/GetLessonNoDataWithNo?queryJson=' + JSON.stringify(query), |
|
|
|
|
|
value: 'value', |
|
|
|
|
|
text: 'text', |
|
|
|
|
|
}); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
}); |
|
|
}); |
|
|
//课程 |
|
|
//课程 |
|
|
$('#LessonNo').lrselect({ |
|
|
$('#LessonNo').lrselect({ |
|
|
placeholder: "请选择课程", |
|
|
placeholder: "请选择课程", |
|
|
allowSearch: true, |
|
|
allowSearch: true, |
|
|
url: top.$.rootUrl + '/EducationalAdministration/StuScore/GetLessonNoDataWithNo', |
|
|
|
|
|
value: 'value', |
|
|
value: 'value', |
|
|
text: 'text', |
|
|
text: 'text', |
|
|
select: function (item) { |
|
|
select: function (item) { |
|
@@ -521,8 +542,8 @@ var bootstrap = function ($, learun) { |
|
|
if (ref.code == "200") { |
|
|
if (ref.code == "200") { |
|
|
$('#AcademicYearNo').lrselectSet(ref.data.Item1); |
|
|
$('#AcademicYearNo').lrselectSet(ref.data.Item1); |
|
|
$('#Semester').lrselectSet(ref.data.Item3); |
|
|
$('#Semester').lrselectSet(ref.data.Item3); |
|
|
$('#AcademicYearNo').attr('disabled', "disabled"); |
|
|
|
|
|
$('#Semester').attr('disabled', "disabled"); |
|
|
|
|
|
|
|
|
//$('#AcademicYearNo').attr('disabled', "disabled"); |
|
|
|
|
|
//$('#Semester').attr('disabled', "disabled"); |
|
|
} |
|
|
} |
|
|
}.bind(this), "json"); |
|
|
}.bind(this), "json"); |
|
|
}, |
|
|
}, |
|
|