录入
+
异动转入
修改
删除
查看
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js
index bb7223822..632c45f9c 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js
@@ -37,6 +37,19 @@ var bootstrap = function ($, learun) {
}
});
});
+ // 异动转入
+ $('#lt_transaction').on('click', function () {
+ learun.layerForm({
+ id: 'form',
+ title: '异动转入',
+ url: top.$.rootUrl + '/EducationalAdministration/StuInfoBasic/FormTran',
+ width: 800,
+ height: 600,
+ callBack: function (id) {
+ return top[id].acceptClick(refreshGirdData);
+ }
+ });
+ });
// 编辑
$('#lr_edit').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('StuId');
@@ -169,7 +182,7 @@ var bootstrap = function ($, learun) {
}
})
})
-
+
//查看异动
$("#lr_searchChange").on('click', function () {
var keyValue = $('#gridtable').jfGridValue('StuId');
@@ -346,12 +359,12 @@ var bootstrap = function ($, learun) {
{ label: "联系电话", name: "mobile", width: 100, align: "left" },
{ label: "户口所在地", name: "FatherUnit", width: 100, align: "left" },
{ label: "档案所在地", name: "MatherUnit", width: 100, align: "left" },
- {
- label: "异动状态", name: "AbmormityMoveMark", width: 80, align: "center",
- formatter: function (cellvalue) {
- return cellvalue == "1" ? "
" : "
";
- }
- },
+ //{
+ // label: "异动状态", name: "AbmormityMoveMark", width: 80, align: "center",
+ // formatter: function (cellvalue) {
+ // return cellvalue == "1" ? "
" : "
";
+ // }
+ //},
{
label: "审核状态", name: "CheckMark", width: 80, align: "center",
formatter: function (cellvalue) {
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj b/Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj
index 75b9fc77e..004135c32 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj
@@ -1081,6 +1081,7 @@
+
@@ -7551,6 +7552,7 @@
+
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicEntity.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicEntity.cs
index 8ecf1a84b..2daf2e7f4 100644
--- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicEntity.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicEntity.cs
@@ -742,7 +742,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
[NotMapped] public List
StuPunishmentList { get; set; }
[NotMapped] public List StuScoreClassOneList { get; set; }
-
+ [NotMapped] public string IsTran { get; set; }
#endregion
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicService.cs
index a31760d11..9b6f0d8ec 100644
--- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicService.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicService.cs
@@ -681,6 +681,27 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
else
{
entity.Create();
+ if (entity.IsTran == "0")
+ {
+ StuInfoBasicChangeEntity stuinfoChange = new StuInfoBasicChangeEntity
+ {
+ Id = Guid.NewGuid().ToString(),
+ StuNo = entity.StuNo,
+ StuName = entity.StuName,
+ DeptNo = entity.DeptNo,
+ MajorNo = entity.MajorNo,
+ ClassNo = entity.ClassNo,
+ StuChangeRemark = entity.Remark,
+ NewDeptNo = entity.DeptNo,
+ NewMajorNo = entity.MajorNo,
+ NewClassNo = entity.ClassNo,
+ CreateUserId = entity.StuNo,
+ StuChangeType = "04",
+ StuChangeReason = "10",
+ CreateTime = DateTime.Now,
+ };
+ this.BaseRepository("CollegeMIS").Insert(stuinfoChange);
+ }
this.BaseRepository("CollegeMIS").Insert(entity);
}
}