Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/Index.jsZobrazit soubor
@@ -140,6 +140,28 @@ var bootstrap = function ($, learun) {
});
}
});
$('#lr_stuCode').on('click', function () {
var StuNo = $('#gridtable').jfGridValue('StuNo');
if (learun.checkrow(StuNo)) {
var CheckStatus = $('#gridtable').jfGridValue('CheckStatus');
if (CheckStatus != 1) {
learun.alert.warning("当前项目未审核无法去审!");
return;
}
var StuChangeType = $('#gridtable').jfGridValue('StuChangeType');
if (StuChangeType != "02") {
learun.alert.warning("只有转入学生才可生成学籍!");
return;
}
learun.layerConfirm('是否确认生成学籍!', function (res) {
if (res) {
learun.postForm(top.$.rootUrl + '/EducationalAdministration/StuInfoBasicChange/GenerateStu', { stuNo: StuNo }, function () {
refreshGirdData();
});
}
});
}
});
},
// 初始化列表
initGird: function () {
+ 24- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasicChange/StuInfoBasicChangeBLL.csZobrazit soubor
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasicChange/StuInfoBasicChangeIBLL.csZobrazit soubor
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasicChange/StuInfoBasicChangeService.csZobrazit soubor
db.ExecuteBySql($"update StuInfoBasic set DeptNo='{entity.NewDeptNo}',MajorNo='{entity.NewMajorNo}',ClassNo='{entity.NewClassNo}',Grade='{classInfoEntity.Grade}' where StuNo='{entity.StuNo}' ");
}
}
else if (entity.StuChangeType == "04" || entity.StuChangeType == "05") //退学、休学
else if (entity.StuChangeType == "02" || entity.StuChangeType == "04") //退学、休学
{
//改信息;不显示成绩;
db.ExecuteBySql($"update StuInfoBasic set ChangeStatus=1 where StuNo='{entity.StuNo}' ");