소스 검색

学籍异动 审核流程调整视图

临城职教中职
ndbs 2 년 전
부모
커밋
5f0af5f038
2개의 변경된 파일38개의 추가작업 그리고 16개의 파일을 삭제
  1. +12
    -9
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/FormView.cshtml
  2. +26
    -7
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/FormView.js

+ 12
- 9
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/FormView.cshtml 파일 보기

@@ -16,7 +16,6 @@
<div class="lr-form-item-title">姓名<font face="宋体">*</font></div>
<input id="StuName" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" readonly="readonly" />
</div>

<div class="col-xs-6 lr-form-item" data-table="StuInfoBasicChange">
<div class="lr-form-item-title">异动类型<font face="宋体">*</font></div>
<div id="StuChangeType" isvalid="yes" checkexpession="NotNull" readonly="readonly"></div>
@@ -25,22 +24,20 @@
<div class="lr-form-item-title">异动原因<font face="宋体">*</font></div>
<div id="StuChangeReason" isvalid="yes" checkexpession="NotNull" readonly="readonly"></div>
</div>

<div class="col-xs-12 text-center">学籍原安排</div>
<div class="col-xs-12 text-center">学籍异动前信息</div>
<div class="col-xs-4 lr-form-item" data-table="StuInfoBasicChange">
<div class="lr-form-item-title">系部<font face="宋体">*</font></div>
<div id="DeptNo" isvalid="yes" checkexpession="NotNull" readonly="readonly"></div>
<div id="DeptNo" readonly="readonly"></div>
</div>
<div class="col-xs-4 lr-form-item" data-table="StuInfoBasicChange">
<div class="lr-form-item-title">专业<font face="宋体">*</font></div>
<div id="MajorNo" isvalid="yes" checkexpession="NotNull" readonly="readonly"></div>
<div id="MajorNo" readonly="readonly"></div>
</div>
<div class="col-xs-4 lr-form-item" data-table="StuInfoBasicChange">
<div class="lr-form-item-title">班级<font face="宋体">*</font></div>
<div id="ClassNo" isvalid="yes" checkexpession="NotNull" readonly="readonly"></div>
<div id="ClassNo" readonly="readonly"></div>
</div>

<div class="col-xs-12 text-center">学籍新安排</div>
<div class="col-xs-12 text-center">学籍异动后信息</div>
<div class="NewContainer" style="display:none;">
<div class="col-xs-4 lr-form-item" data-table="StuInfoBasicChange">
<div class="lr-form-item-title" data-title="新系部">新系部</div>
@@ -55,7 +52,13 @@
<div id="NewClassNo" class="contentDiv zhuanban"></div>
</div>
</div>

<div class="col-xs-12 text-center">转出学校</div>
<div class="NewSchool" style="display:none;">
<div class="col-xs-12 lr-form-item" data-table="StuInfoBasicChange">
<div class="lr-form-item-title" data-title="转出学校">转出学校</div>
<input id="OutSchool" type="text" class="form-control" />
</div>
</div>
<div class="col-xs-12 lr-form-item" data-table="StuInfoBasicChange">
<div class="lr-form-item-title">备注</div>
<textarea id="StuChangeRemark" class="form-control" style="height:50px;" readonly="readonly"></textarea>


+ 26
- 7
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/FormView.js 파일 보기

@@ -31,22 +31,41 @@ var bootstrap = function ($, learun) {
$("#NewMajorNo").siblings('div').html($("#NewMajorNo").siblings('div').attr('data-title') + '<font face="宋体">*</font>');
$("#NewClassNo").siblings('div').html($("#NewClassNo").siblings('div').attr('data-title') + '<font face="宋体">*</font>');
$(".NewContainer").show();
if (item.id === "01" || item.id === "02") { //降级、转班
//$(".NewContainer").find('.contentDiv.zhuanban').removeAttr('readonly');
if (item.id === "01") { //留级
$(".NewSchool").hide();
$(".NewContainer").find('.contentDiv.zhuanban').removeAttr('readonly');
$("#NewDeptNo").lrselectSet($("#DeptNo").lrselectGet());
$("#NewMajorNo").lrselectSet($("#MajorNo").lrselectGet());
$('#OutSchool').val('');
} else if (item.id === "02") {//转校
$(".NewSchool").show();
$(".NewContainer").find('.contentDiv').removeAttr("isvalid");
$(".NewContainer").find('.contentDiv').removeAttr("checkexpession");
$(".NewContainer").find('.contentDiv').removeAttr('readonly');
$(".NewSchool").find('.OutSchool').attr("isvalid", 'yes');
$(".NewSchool").find('.OutSchool').attr("checkexpession");
$(".NewSchool").find('.OutSchool').attr('readonly');
} else if (item.id === "03") { //复学
$(".NewSchool").hide();
$(".NewContainer").find('.contentDiv').removeAttr('readonly');
$(".NewSchool").find('.OutSchool').attr("isvalid", "Null");
$('#OutSchool').val('');
} else if (item.id === "04") { //转入
$(".NewSchool").hide();
$(".NewContainer").find('.contentDiv').removeAttr('readonly');
$(".NewSchool").find('.OutSchool').attr("isvalid", "Null");
$('#OutSchool').val('');
}
else if (item.id === "03") { //转专业
//$(".NewContainer").find('.contentDiv').removeAttr('readonly');
}
else if (item.id === "04" || item.id === "05") { //退学、休学
else { //退学、休学、
$(".NewContainer").find('.contentDiv').removeAttr("isvalid");
$(".NewContainer").find('.contentDiv').removeAttr("checkexpession");
//$(".NewContainer").find('.contentDiv').removeAttr('readonly');
$(".NewContainer").find('.contentDiv').removeAttr('readonly');
$("#NewDeptNo").siblings('div').html($("#NewDeptNo").siblings('div').attr('data-title'));
$("#NewMajorNo").siblings('div').html($("#NewMajorNo").siblings('div').attr('data-title'));
$("#NewClassNo").siblings('div').html($("#NewClassNo").siblings('div').attr('data-title'));
$(".NewContainer").hide();
$(".NewSchool").hide();
$('#OutSchool').val('');
}

}


불러오는 중...
취소
저장