<기능개선>
1. PMS NO : {7390}
2. 집합교육 출석 메뉴 내 엑셀다운로드 시 사유입력 창 적용
This commit is contained in:
parent
04d24fe453
commit
6708f26f21
|
|
@ -512,7 +512,7 @@ namespace NP.BO.Controllers
|
|||
ht.Add("cname", vm.stringval2);
|
||||
ht.Add("studyplace", vm.stringval3);
|
||||
ht.Add("stringval17", vm.stringval17);
|
||||
if (vm.intval2 == 1)
|
||||
if (vm.isexceldown == 1)
|
||||
{
|
||||
vm.Lects = Dao.Get<Lect>("lect.lectinnings.forattscd2", ht);
|
||||
//return ExportExcel(
|
||||
|
|
@ -520,7 +520,13 @@ namespace NP.BO.Controllers
|
|||
// new String[] { "rnorvt", "sseqstr", "studyplacename", "cname", "usernameid", "sdatestr", "edatestr", "stimestr", "istatusname", "iscompletename" },
|
||||
// vm.Lects,
|
||||
// "attscds_" + DateTime.Now.Year + DateTime.Now.Month + DateTime.Now.Day);
|
||||
if (vm.excellog != null)
|
||||
{
|
||||
vm.excellog.userno = SUserInfo.UserNo;
|
||||
vm.excellog.userip = GetUserIP();
|
||||
|
||||
Dao.Save("excellog.in", vm.excellog);
|
||||
}
|
||||
return ExportExcel(
|
||||
new String[] { "No", "교육장","아이디", "교육생이름", "교육생 전화번호", "이메일", "과정명", "기술인분류", "교육목적", "등급", "직무분야", "전문분야", "교육시작일", "교육종료일", "출석일", "집합교육출석여부", "수료여부" },
|
||||
new String[] { "rnorvt", "studyplacename", "userid", "username", "mobile", "email", "cname", "zstring0", "zstring1", "zstring2", "zstring4", "zstring5", "sdatestr", "edatestr", "zstring3", "istatusname", "iscompletename" },
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@
|
|||
<a href="#" class="btn btn-primary" onclick="save(2);" style=" text-align:right">출석처리</a>
|
||||
<a href="#" class="btn btn-danger" onclick="save(0);">결석처리</a>
|
||||
<a href="#" class="btn btn-danger" onclick="save(1);">미입력처리</a>
|
||||
<a href="#" class="btn btn-primary" onclick="excldown();">엑셀 다운로드</a>
|
||||
<a href="#" onclick="javascript:callComment('mform', '/croom/attscds', 'tbody1', 'attscds', 23);" class="btn btn-s-xs btn-success">엑셀 다운로드</a>
|
||||
</div>
|
||||
<div class="table-responsive" id="excel1">
|
||||
<table class="table table-striped b-t b-light">
|
||||
|
|
@ -124,6 +124,7 @@
|
|||
@Html.Pager((int)Model.pagenum, 10, Model.pagerowcount, Model.pagetotalcount)
|
||||
</section>
|
||||
</form>
|
||||
@Html.Partial("./Partial/ExcelCommentBox")
|
||||
<div id="scdbox" class="findbox draggable regbox" style="width: 400px; z-index: 1041; top: 60px; overflow: auto;">
|
||||
<h4><i class="fa fa-bars"></i> <span id="pcap">교육일정변경</span><a href="#" class="btn btn-default btn-xs f-r closethisbox">닫기</a></h4>
|
||||
<ul id="ulScd"></ul>
|
||||
|
|
@ -135,12 +136,12 @@
|
|||
<style type="text/css">
|
||||
</style>
|
||||
}
|
||||
@section scriptsHeader{
|
||||
@Html.Partial("./Partial/FileScript")
|
||||
@section scriptsHeader{
|
||||
@Html.Partial("./Partial/FileScript")
|
||||
@Html.Partial("./Partial/ScriptDate")
|
||||
@Html.Partial("./Partial/ScdScript")
|
||||
}
|
||||
@section scripts{
|
||||
@section scripts{
|
||||
<script>
|
||||
var _authtype = 1;
|
||||
var _lectno;
|
||||
|
|
@ -191,9 +192,9 @@
|
|||
msgf2("저장했습니다.", "submit('mform', 0, true)");
|
||||
} else { msgdev(true); }
|
||||
}
|
||||
function excldown() {
|
||||
$("#intval2").val(1);
|
||||
$("#mform").submit();
|
||||
}
|
||||
//function excldown() {
|
||||
// $("#intval2").val(1);
|
||||
// $("#mform").submit();
|
||||
//}
|
||||
</script>
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue