Sfoglia il codice sorgente

【修改】毕业证资格审核:毕业按钮操作成功后列表回显优化;

临城职教中职
dyy 2 anni fa
parent
commit
e00efde0ad
1 ha cambiato i file con 16 aggiunte e 6 eliminazioni
  1. +16
    -6
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/ScoreQueryAllIndex.js

+ 16
- 6
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/ScoreQueryAllIndex.js Vedi File

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

Caricamento…
Annulla
Salva