|
|
@@ -6,6 +6,7 @@ |
|
|
|
*/ |
|
|
|
var selectedRow; |
|
|
|
var refreshGirdData; |
|
|
|
var refreshGirdData2; |
|
|
|
//课程列 |
|
|
|
var LessonTemp = []; |
|
|
|
var bootstrap = function ($, learun) { |
|
|
@@ -46,12 +47,8 @@ var bootstrap = function ($, learun) { |
|
|
|
learun.layerConfirm('是否准许 ' + stuName + ' 毕业?', function (res) { |
|
|
|
if (res) { |
|
|
|
learun.getForm(top.$.rootUrl + '/EducationalAdministration/StuInfoBasic/AllowGraduate?stuNo=' + keyValue +'&status=1', function () { |
|
|
|
refreshGirdData(); |
|
|
|
//$('#btn_Search').trigger('click'); |
|
|
|
refreshGirdData2(); |
|
|
|
}); |
|
|
|
//learun.httpAsync('get', top.$.rootUrl + '/EducationalAdministration/StuInfoBasic/AllowGraduate', { stuNo: keyValue, status: '1' }, function () { |
|
|
|
// $('#btn_Search').trigger('click'); |
|
|
|
//}); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
@@ -64,7 +61,7 @@ var bootstrap = function ($, learun) { |
|
|
|
learun.layerConfirm('是否不准 ' + stuName + ' 毕业?', function (res) { |
|
|
|
if (res) { |
|
|
|
learun.getForm(top.$.rootUrl + '/EducationalAdministration/StuInfoBasic/AllowGraduate?stuNo=' + keyValue + '&status=0', function () { |
|
|
|
$('#btn_Search').trigger('click'); |
|
|
|
refreshGirdData2(); |
|
|
|
}); |
|
|
|
} |
|
|
|
}); |
|
|
@@ -185,5 +182,18 @@ var bootstrap = function ($, learun) { |
|
|
|
refreshGirdData = function () { |
|
|
|
page.search(); |
|
|
|
}; |
|
|
|
refreshGirdData2 = function () { |
|
|
|
var p = {}; |
|
|
|
p.DeptNo = $('#DeptNo').lrselectGet(); |
|
|
|
p.MajorNo = $('#MajorNo').lrselectGet(); |
|
|
|
p.ClassNo = $('#ClassNo').lrselectGet(); |
|
|
|
p.StuNo = $('#StuNo').lrselectGet(); |
|
|
|
if (p.ClassNo == null || p.ClassNo == "") { |
|
|
|
learun.alert.warning("请选择班级!"); |
|
|
|
return; |
|
|
|
} |
|
|
|
//page.initGird(); |
|
|
|
page.search(p); |
|
|
|
}; |
|
|
|
page.init(); |
|
|
|
} |