Bladeren bron

【修改】学籍异动管理;

临城职教中职
dyy 2 jaren geleden
bovenliggende
commit
8c87926ccf
4 gewijzigde bestanden met toevoegingen van 27 en 7 verwijderingen
  1. +23
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/Form.js
  2. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/Index.js
  3. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic_ChangeLog/Index.js
  4. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicService.cs

+ 23
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/Form.js Bestand weergeven

@@ -40,7 +40,13 @@ var bootstrap = function ($, learun) {
if (item.id === "01" || item.id === "07") { //留级、转班
$(".NewContainer").find('.contentDiv.zhuanban').removeAttr('readonly');
$("#NewDeptNo").lrselectSet($("#DeptNo").lrselectGet());
$("#NewMajorNo").lrselectSet($("#MajorNo").lrselectGet());
var timer1 = setInterval(function () {
if ($("#NewDeptNo").lrselectGet()) {
$("#NewMajorNo").lrselectSet($("#MajorNo").lrselectGet());
console.log("系部赋值后,在赋值专业:" + $("#NewMajorNo").lrselectGet());
clearInterval(timer1);
}
}, 1000);
} else if (item.id === "02") {//转校
$(".NewContainer").find('.contentDiv').removeAttr("isvalid");
$(".NewContainer").find('.contentDiv').removeAttr("checkexpession");
@@ -55,8 +61,19 @@ var bootstrap = function ($, learun) {
$(".NewSchool").show();
} else if (item.id === "03") { //复学
$("#NewDeptNo").lrselectSet($("#DeptNo").lrselectGet());
$("#NewMajorNo").lrselectSet($("#MajorNo").lrselectGet());
$("#NewClassNo").lrselectSet($("#ClassNo").lrselectGet());
var timer2 = setInterval(function () {
if ($("#NewDeptNo").lrselectGet()) {
$("#NewMajorNo").lrselectSet($("#MajorNo").lrselectGet());
console.log("系部赋值后,在赋值专业:" + $("#NewMajorNo").lrselectGet());
clearInterval(timer2);
}
}, 1000);
var timer3 = setInterval(function () {
if ($("#NewMajorNo").lrselectGet()) {
$("#NewClassNo").lrselectSet($("#ClassNo").lrselectGet());
clearInterval(timer3);
}
}, 1000);
} else if (item.id === "04") { //转入/进
learun.alert.warning("异动转进请点击学籍信息管理-异动转入按钮!");
$("#StuNo").val("");
@@ -86,6 +103,7 @@ var bootstrap = function ($, learun) {
$('#ClassNo').lrDataSourceSelect({ code: 'bjsj', value: 'classno', text: 'classname' });
$('#NewDeptNo').lrDataSourceSelect({
code: 'CdDeptInfo', value: 'deptno', text: 'deptname', select: function (item) {
//console.log("选择的系部为:" + JSON.stringify(item));
if (item != null && item != undefined) {
$('#NewMajorNo').lrselectRefresh({
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo',
@@ -101,6 +119,7 @@ var bootstrap = function ($, learun) {
});
$('#NewMajorNo').lrDataSourceSelect({
code: 'CdMajorInfo', value: 'majorno', text: 'majorname', select: function (item) {
//console.log("选择的专业为:" + JSON.stringify(item));
if (item != null && item != undefined) {
$('#NewClassNo').lrselectRefresh({
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
@@ -221,6 +240,7 @@ var bootstrap = function ($, learun) {
};
// 保存数据
acceptClick = function (callBack) {
//console.log($('body').lrGetFormData());
if (!$('body').lrValidform()) {
return false;
}


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/Index.js Bestand weergeven

@@ -218,11 +218,11 @@ var bootstrap = function ($, learun) {
});
}
},
{ label: "转出学校", name: "OutSchool", width: 200, align: "left" },
{ label: "创建时间", name: "CreateTime", width: 130, align: "left" },
{ label: "创建用户", name: "CreateUserId", width: 100, align: "left" },
{ label: "审核时间", name: "CheckTime", width: 130, align: "left" },
{ label: "审核用户", name: "CheckUserId", width: 100, align: "left" },
{ label: "转出学校", name: "OutSchool", width: 200, align: "left" },
{ label: "备注", name: "StuChangeRemark", width: 200, align: "left" },
{
label: "审核状态", name: "CheckStatus", width: 100, align: "left",


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic_ChangeLog/Index.js Bestand weergeven

@@ -106,7 +106,7 @@ var bootstrap = function ($, learun) {
url: top.$.rootUrl + '/EducationalAdministration/StuInfoBasic_ChangeLog/GetPageList',
headData: [
{
label: "异动类型", name: "StuChangeType", width: 100, align: "left",
label: "异动类型", name: "StuChangeType", width: 150, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('dataItem', {
key: value,


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicService.cs Bestand weergeven

@@ -1073,9 +1073,9 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
{
entity.Modify(keyValue);

var oldEntity = db.FindEntity<StuInfoBasicEntity>(keyValue);
var oldEntity = this.BaseRepository("CollegeMIS").FindEntity<StuInfoBasicEntity>(keyValue);
List<StuInfoBasic_ChangeLogEntity> list = new List<StuInfoBasic_ChangeLogEntity>();
var tableInfos = db.FindTable(@"SELECT t.[name] AS 表名,c.[name] AS 字段名,cast(ep.[value]
var tableInfos = this.BaseRepository("CollegeMIS").FindTable(@"SELECT t.[name] AS 表名,c.[name] AS 字段名,cast(ep.[value]
as varchar(100)) AS [字段说明]
FROM sys.tables AS t
INNER JOIN sys.columns


Laden…
Annuleren
Opslaan