@@ -91,6 +91,15 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers | |||
{ | |||
return View(); | |||
} | |||
/// <summary> | |||
/// 异动转入 | |||
/// </summary> | |||
/// <returns></returns> | |||
public ActionResult FormTran() | |||
{ | |||
return View(); | |||
} | |||
/// <summary> | |||
/// 学生列表【班级信息管理】 | |||
/// <summary> | |||
@@ -0,0 +1,204 @@ | |||
@{ | |||
ViewBag.Title = "学生学籍"; | |||
Layout = "~/Views/Shared/_Form.cshtml"; | |||
} | |||
<div class="lr-form-wrap"> | |||
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">学校<font face="宋体">*</font></div> | |||
<div id="F_SchoolId" isvalid="yes" checkexpession="NotNull"></div> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">学号<font face="宋体">*</font></div> | |||
<input id="StuNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">学籍号</div> | |||
<input id="StuCode" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">考生号<font face="宋体">*</font></div> | |||
<input id="ksh" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">通知书号<font face="宋体">*</font></div> | |||
<input id="NoticeNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">省编学号</div> | |||
<input id="ProvinceCode" type="text" class="form-control"/> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">身份证号<font face="宋体">*</font></div> | |||
<input id="IdentityCardNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">姓名<font face="宋体">*</font></div> | |||
<input id="StuName" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">民族<font face="宋体">*</font></div> | |||
<div id="NationalityNo" isvalid="yes" checkexpession="NotNull"></div> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">性别<font face="宋体">*</font></div> | |||
<div id="GenderNo" isvalid="yes" checkexpession="NotNull"></div> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">疫情状态</div> | |||
<div id="HealthStatus" ></div> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">政治面貌</div> | |||
<div id="PartyFaceNo"></div> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">出生日期<font face="宋体">*</font></div> | |||
<input id="Birthday" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt: 'yyyy-MM-dd', onpicked: function() { $('#Birthday').trigger('change'); } })" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">健康状况</div> | |||
<div id="HealthStatusNo"></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">户口分类</div> | |||
<div id="ResidenceNo"></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">籍贯</div> | |||
<div class="col-xs-12 lr-form-area"> | |||
<div id="F_ProvinceId" placeholder="省" class="col-xs-4"></div> | |||
<div id="F_CityId" placeholder="市" class="col-xs-4"></div> | |||
<div id="F_CountyId" placeholder="县/区" class="col-xs-4"></div> | |||
</div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">照片</div> | |||
<div id="Photo"></div> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">联系电话<font face="宋体">*</font></div> | |||
<input id="mobile" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">E-mail</div> | |||
<input id="EMail" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">通信地址<font face="宋体">*</font></div> | |||
<input id="MailAddress" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">邮政编码<font face="宋体">*</font></div> | |||
<input id="PostalCode" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">户口所在地</div> | |||
<input id="FatherUnit" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">档案所在地</div> | |||
<input id="MatherUnit" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">父亲姓名<font face="宋体">*</font></div> | |||
<input id="FatherName" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">父亲电话<font face="宋体">*</font></div> | |||
<input id="FatherPhone" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">母亲姓名<font face="宋体">*</font></div> | |||
<input id="MatherName" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">母亲电话<font face="宋体">*</font></div> | |||
<input id="MatherPhone" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">家庭出身</div> | |||
<div id="FamilyOriginNo"></div> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">港澳台侨</div> | |||
<div id="OverseasChineseNo"></div> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">年级<font face="宋体">*</font></div> | |||
<div id="Grade" type="text" class="form-control" isvalid="yes" checkexpession="NotNull"></div> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">本专科</div> | |||
<div id="GraduateNo"></div> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">学制</div> | |||
<div id="EduSystem"></div> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">报到日期<font face="宋体">*</font></div> | |||
<input id="RegisterDate" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt: 'yyyy-MM-dd', onpicked: function() { $('#RegisterDate').trigger('change'); } })" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">学习形式</div> | |||
<div id="StudyModality"></div> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">毕业证号</div> | |||
<input id="DiplomaNo" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">毕业日期</div> | |||
<input id="GraduateYear" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt: 'yyyy-MM-dd', onpicked: function() { $('#GraduateYear').trigger('change'); } })" /> | |||
</div> | |||
<div class="col-xs-4 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">系所<font face="宋体">*</font></div> | |||
<div id="DeptNo" isvalid="yes" checkexpession="NotNull"></div> | |||
</div> | |||
<div class="col-xs-4 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">专业<font face="宋体">*</font></div> | |||
<div id="MajorNo" isvalid="yes" checkexpession="NotNull"></div> | |||
</div> | |||
<div class="col-xs-4 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">班级<font face="宋体">*</font></div> | |||
<div id="ClassNo" isvalid="yes" checkexpession="NotNull"></div> | |||
</div> | |||
<div class="col-xs-4 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">入学年月<font face="宋体">*</font></div> | |||
<input id="EntranceDate" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt: 'yyyy-MM-dd', onpicked: function() { $('#EntranceDate').trigger('change'); } })" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-4 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">入党时间</div> | |||
<input id="JoinPartyDate" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt: 'yyyy-MM-dd', onpicked: function() { $('#JoinPartyDate').trigger('change'); } })" /> | |||
</div> | |||
<div class="col-xs-4 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">入团时间</div> | |||
<input id="JoinLeagueDate" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt: 'yyyy-MM-dd', onpicked: function() { $('#JoinLeagueDate').trigger('change'); } })" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">校内地址</div> | |||
<input id="InSchoolAddress" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">校内电话</div> | |||
<input id="InSchoolTelephone" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">QQ</div> | |||
<input id="QQ" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">特长</div> | |||
<input id="GoodAt" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">备注</div> | |||
<textarea id="Remark" class="form-control" style="height: 100px;"></textarea> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="StuInfoBasic"> | |||
<div class="lr-form-item-title">毕业证书备注</div> | |||
<input id="DiplomaRemark" type="text" class="form-control" /> | |||
<input id="IsTran" hidden="hidden" /> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/EducationalAdministration/Views/StuInfoBasic/FormTran.js") |
@@ -0,0 +1,205 @@ | |||
/* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn) | |||
* Copyright (c) 2013-2018 北京泉江科技有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2019-02-21 16:53 | |||
* 描 述:学生学籍 | |||
*/ | |||
var acceptClick; | |||
var keyValue = request('keyValue'); | |||
var isStudent = request('isStudent'); | |||
var bootstrap = function ($, learun) { | |||
"use strict"; | |||
var page = { | |||
init: function () { | |||
$('.lr-form-wrap').lrscroll(); | |||
page.bind(); | |||
page.initData(); | |||
page.hide(); | |||
}, | |||
hide: function () { | |||
if (isStudent == "1") { | |||
$("#StuName").parent().hide(); | |||
$("#IdentityCardNo").parent().hide(); | |||
$("#StuNo").parent().hide(); | |||
$("#ClassNo").parent().hide(); | |||
$("#MajorNo").parent().hide(); | |||
$("#EduSystem").parent().hide(); | |||
$("#F_SchoolId").parent().hide(); | |||
$("#StuCode").parent().hide(); | |||
$("#ksh").parent().hide(); | |||
$("#NoticeNo").parent().hide(); | |||
$("#HealthStatusNo").parent().hide(); | |||
$("#ResidenceNo").parent().hide(); | |||
$("#F_ProvinceId").parent().parent().hide(); | |||
$("#Photo").parent().hide(); | |||
$("#DeptNo").parent().hide(); | |||
$("#FamilyOriginNo").parent().hide(); | |||
$("#OverseasChineseNo").parent().hide(); | |||
$("#Grade").parent().hide(); | |||
$("#GraduateNo").parent().hide(); | |||
$("#EduSystem").parent().hide(); | |||
$("#RegisterDate").parent().hide(); | |||
$("#StudyModality").parent().hide(); | |||
$("#GraduateYear").parent().hide(); | |||
$("#EntranceDate").parent().hide(); | |||
$("#JoinPartyDate").parent().hide(); | |||
$("#JoinLeagueDate").parent().hide(); | |||
$("#InSchoolAddress").parent().hide(); | |||
$("#InSchoolTelephone").parent().hide(); | |||
$("#Remark").parent().hide(); | |||
$("#DiplomaRemark").parent().hide(); | |||
$("#GoodAt").parent().hide(); | |||
$("#InSchoolAddress").parent().hide(); | |||
$("#InSchoolTelephone").parent().hide(); | |||
$("#JoinLeagueDate").parent().hide(); | |||
} | |||
}, | |||
bind: function () { | |||
$('#F_ProvinceId').lrDataSourceSelect({ | |||
code: 'DIC_PROVINCE', value: 'pcode', text: 'pname', | |||
select: function (item) { | |||
if (item) { | |||
$('#F_CityId').lrselectRefresh({ | |||
url: top.$.rootUrl + "/DIC_CITY/GetListByProvinceCode", | |||
param: { ProvinceCode: item.pcode }, | |||
value: 'CCODE', | |||
text: 'CNAME' | |||
}); | |||
} else { | |||
$('#F_CityId').lrselectRefresh({ | |||
url: "", | |||
data: [] | |||
}); | |||
} | |||
$('#F_CountyId').lrselectRefresh({ | |||
url: "", | |||
data: [] | |||
}); | |||
} | |||
}); | |||
$('#F_CityId').lrselect({ | |||
value: 'ccode', text: 'cname', | |||
select: function (item) { | |||
if (item) { | |||
$('#F_CountyId').lrselectRefresh({ | |||
url: top.$.rootUrl + "/DIC_AREA/GetAreasListByCityCode", | |||
param: { cityCode: item.CCODE }, | |||
value: 'ACODE', | |||
text: 'ANAME' | |||
}); | |||
} | |||
} | |||
}); | |||
$('#F_CountyId').lrselect({ | |||
value: 'ACODE', text: 'ANAME' | |||
}); | |||
$('#ClassNo').lrselect({ | |||
value: "classno", | |||
text: "classname" | |||
}); | |||
$('#Grade').lrselect({ | |||
url: top.$.rootUrl + '/EducationalAdministration/ClassInfo/GenerateNearByYear', | |||
value: 'value', | |||
text: 'text' | |||
}); | |||
$('#HealthStatus').lrDataItemSelect({ code: 'QRCodeHealthStatus' }); | |||
$('#F_SchoolId').lrDataSourceSelect({ code: 'company', value: 'f_companyid', text: 'f_fullname' }); | |||
$('#NationalityNo').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' }); | |||
$('#GenderNo').lrDataItemSelect({ code: 'usersexbit' }); | |||
$('#PartyFaceNo').lrDataSourceSelect({ code: 'BCdPartyFace', value: 'partyfaceno', text: 'partyface' }); | |||
$('#HealthStatusNo').lrDataSourceSelect({ code: 'BCdHealthStatus', value: 'healthstatusno', text: 'healthstatus' }); | |||
$('#Photo').lrUploader(); | |||
$('#FamilyOriginNo').lrDataSourceSelect({ code: 'BCdFamilyOrigin', value: 'familyoriginno', text: 'familyorigin' }); | |||
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' }); | |||
$('#GraduateNo').lrDataItemSelect({ code: 'CollegeType' }); | |||
$('#EduSystem').lrDataItemSelect({ code: 'EduSystem' }); | |||
$('#StudyModality').lrDataItemSelect({ code: 'StudyModality' }); | |||
$('#ResidenceNo').lrDataItemSelect({ code: 'ResidenceNo' }); | |||
$('#DeptNo').lrselect({ | |||
value: "deptno", | |||
text: "deptname", | |||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo', | |||
select: function (item) { | |||
if (item) { | |||
$('#MajorNo').lrselectRefresh({ | |||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable', | |||
param: { code: "CdMajorInfo", strWhere: "DeptNo='" + item.deptno + "'" } | |||
}); | |||
} | |||
else { | |||
$('#MajorNo').lrselectRefresh({ | |||
url: "", | |||
data: [] | |||
}); | |||
} | |||
$('#ClassNo').lrselectRefresh({ | |||
url: "", | |||
data: [] | |||
}); | |||
} | |||
}); | |||
$('#MajorNo').lrselect({ | |||
value: "majorno", | |||
text: "majorname", | |||
select: function (item) { | |||
if (item) { | |||
$('#ClassNo').lrselectRefresh({ | |||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable', | |||
param: { code: "bjsj", strWhere: "DeptNo='" + item.deptno + "' and majorno='" + item.majorno + "'" } | |||
}); | |||
} | |||
} | |||
}); | |||
$('#MajorNo').on("click", | |||
function () { | |||
var data = $('#DeptNo').lrselectGet(); | |||
if (!data) { | |||
learun.alert.error('请先选择系'); | |||
} | |||
}); | |||
$('#ClassNo').on("click", | |||
function () { | |||
var data1 = $('#DeptNo').lrselectGet(); | |||
var data2 = $('#MajorNo').lrselectGet(); | |||
if (!data1 || !data2) { | |||
learun.alert.error('请先选择系和专业'); | |||
} | |||
}); | |||
}, | |||
initData: function () { | |||
if (!!keyValue) { | |||
$.lrSetForm(top.$.rootUrl + '/EducationalAdministration/StuInfoBasic/GetFormData?keyValue=' + keyValue, function (data) { | |||
for (var id in data) { | |||
if (!!data[id].length && data[id].length > 0) { | |||
$('#' + id).jfGridSet('refreshdata', data[id]); | |||
} | |||
else { | |||
$('[data-table="' + id + '"]').lrSetFormData(data[id]); | |||
} | |||
} | |||
}); | |||
} | |||
$('#IsTran').val('0'); | |||
} | |||
}; | |||
// 保存数据 | |||
acceptClick = function (callBack) { | |||
if (!$('body').lrValidform()) { | |||
return false; | |||
} | |||
var postData = { | |||
strEntity: JSON.stringify($('body').lrGetFormData()) | |||
}; | |||
$.lrSaveForm(top.$.rootUrl + '/EducationalAdministration/StuInfoBasic/SaveForm?keyValue=' + keyValue, postData, function (res) { | |||
// 保存成功后才回调 | |||
if (!!callBack) { | |||
callBack(); | |||
} | |||
}); | |||
}; | |||
page.init(); | |||
} |
@@ -40,6 +40,7 @@ | |||
</div> | |||
<div class=" btn-group btn-group-sm" learun-authorize="yes"> | |||
<a id="lr_add" class="btn btn-default"><i class="fa fa-plus"></i> 录入</a> | |||
<a id="lt_transaction" class="btn btn-default"><i class="fa fa-plus"></i> 异动转入</a> | |||
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i> 修改</a> | |||
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i> 删除</a> | |||
<a id="lr_view" class="btn btn-default"><i class="fa fa-pencil-square-o"></i> 查看</a> | |||
@@ -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" ? "<i class=\"fa fa-toggle-on\"></i>" : "<i class=\"fa fa-toggle-off\"></i>"; | |||
} | |||
}, | |||
//{ | |||
// label: "异动状态", name: "AbmormityMoveMark", width: 80, align: "center", | |||
// formatter: function (cellvalue) { | |||
// return cellvalue == "1" ? "<i class=\"fa fa-toggle-on\"></i>" : "<i class=\"fa fa-toggle-off\"></i>"; | |||
// } | |||
//}, | |||
{ | |||
label: "审核状态", name: "CheckMark", width: 80, align: "center", | |||
formatter: function (cellvalue) { | |||
@@ -1081,6 +1081,7 @@ | |||
<Content Include="Areas\EducationalAdministration\Views\StuInfoBasicChange\Form.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuInfoBasicChange\FormView.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuInfoBasicChange\Index.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuInfoBasic\FormTran.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuInfoBasic\FormOfDC.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuInfoBasic\Graduate.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuInfoBasic\CreateGraduateNo.js" /> | |||
@@ -7551,6 +7552,7 @@ | |||
<Content Include="Areas\EducationalAdministration\Views\StuVolunteer\FormGenerate.cshtml" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuVolunteer\IndexMajor.cshtml" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuVolunteer\FormMajor.cshtml" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuInfoBasic\FormTran.cshtml" /> | |||
<None Include="Properties\PublishProfiles\CustomProfile.pubxml" /> | |||
<None Include="Properties\PublishProfiles\FolderProfile.pubxml" /> | |||
<Content Include="Views\Login\Default-beifen.cshtml" /> | |||
@@ -742,7 +742,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||
[NotMapped] public List<StuPunishmentEntity> StuPunishmentList { get; set; } | |||
[NotMapped] public List<StuScoreClassOne> StuScoreClassOneList { get; set; } | |||
[NotMapped] public string IsTran { get; set; } | |||
#endregion | |||
@@ -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); | |||
} | |||
} | |||