parent
b38e869e7c
commit
6e0f3b5b60
|
|
@ -1,5 +1,5 @@
|
||||||
@model NP.Model.VMLect
|
@model NP.Model.VMLect
|
||||||
@{
|
@{
|
||||||
var ev = Model.Lects.FirstOrDefault() ?? new NP.Model.Lect() { };
|
var ev = Model.Lects.FirstOrDefault() ?? new NP.Model.Lect() { };
|
||||||
}
|
}
|
||||||
<form id="mform" method="post">
|
<form id="mform" method="post">
|
||||||
|
|
@ -103,7 +103,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<th><input type="checkbox" onclick="javascript: checkall('excel1', this);" /></th>
|
<th><input type="checkbox" onclick="javascript: checkall('excel1', this);" /></th>
|
||||||
<th width="20">No</th>
|
<th width="20">No</th>
|
||||||
@if(Model.CMEV.cshape == 2)
|
@if (Model.CMEV.cshape == 2)
|
||||||
{
|
{
|
||||||
<th width="30">운영기수</th>
|
<th width="30">운영기수</th>
|
||||||
}
|
}
|
||||||
|
|
@ -118,7 +118,7 @@
|
||||||
<th>과제(@ev.sd0cnt)</th>
|
<th>과제(@ev.sd0cnt)</th>
|
||||||
<th style="display:none;">토론(@ev.sd1cnt)</th>
|
<th style="display:none;">토론(@ev.sd1cnt)</th>
|
||||||
<th>환산점수</th>
|
<th>환산점수</th>
|
||||||
@if(Model.CMEV.isoffabs == 1)
|
@if (Model.CMEV.isoffabs == 1)
|
||||||
{
|
{
|
||||||
<th>집합교육출석여부</th>
|
<th>집합교육출석여부</th>
|
||||||
}
|
}
|
||||||
|
|
@ -130,64 +130,64 @@
|
||||||
<tbody class="data" id="tbody1">
|
<tbody class="data" id="tbody1">
|
||||||
@foreach (var d in Model.Lects)
|
@foreach (var d in Model.Lects)
|
||||||
{
|
{
|
||||||
<tr>
|
<tr>
|
||||||
<td><input type="checkbox" class="autocheck" value="@d.lectno" data-userno="@d.userno" /></td>
|
<td><input type="checkbox" class="autocheck" value="@d.lectno" data-userno="@d.userno" /></td>
|
||||||
<td>@d.rnorvt</td>
|
<td>@d.rnorvt</td>
|
||||||
@if(Model.CMEV.cshape == 2)
|
@if (Model.CMEV.cshape == 2)
|
||||||
{
|
|
||||||
<td>@d.sseq</td>
|
|
||||||
}
|
|
||||||
<td>@d.isrebatename</td>
|
|
||||||
<td>@d.asname</td>
|
|
||||||
<td>@d.usernameid</td>
|
|
||||||
<td>@((Model.CM.cshape == 0 && d.isrebate == 0 ? d.payoktime : d.sdate).Value.ToShortDateString())</td>
|
|
||||||
@if(Model.CMEV.cshape == 2)
|
|
||||||
{
|
|
||||||
if(d.iscomplete != 1)
|
|
||||||
{
|
{
|
||||||
<td class="link text-center">[1] <a href="#" onclick="javascript: openScd(@Model.CM.cmno,@d.lectno,@d.cmisno);">@d.eend.ToShortDateString()</a></td>
|
<td>@d.sseq</td>
|
||||||
|
}
|
||||||
|
<td>@d.isrebatename</td>
|
||||||
|
<td>@d.asname</td>
|
||||||
|
<td>@d.usernameid</td>
|
||||||
|
<td>@((Model.CM.cshape == 0 && d.isrebate == 0 ? d.payoktime : d.sdate).Value.ToShortDateString())</td>
|
||||||
|
@if (Model.CMEV.cshape == 2)
|
||||||
|
{
|
||||||
|
if (d.iscomplete != 1)
|
||||||
|
{
|
||||||
|
<td class="link text-center"><a href="#" onclick="javascript: openScd(@Model.CM.cmno,@d.lectno,@d.cmisno);">@d.eend.ToShortDateString()</a></td>
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
<td>@d.eend.ToShortDateString()</td>
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
<td>[2] @d.eend.ToShortDateString()</td>
|
<td>@d.edate.Value.ToShortDateString()</td>
|
||||||
}
|
}
|
||||||
}
|
@if (!ViewBag.IsSubAdmin96)
|
||||||
else
|
{
|
||||||
{
|
<td class="link text-center"><a onclick="viewatt(@d.lectno)" href="#">@d.attrate %</a></td>
|
||||||
<td>[3] @d.edate.Value.ToShortDateString()</td>
|
}
|
||||||
}
|
else
|
||||||
@if (!ViewBag.IsSubAdmin96)
|
{
|
||||||
{
|
<td class="link text-center">@d.attrate %</td>
|
||||||
<td class="link text-center">[4] <a onclick="viewatt(@d.lectno)" href="#">@d.attrate %</a></td>
|
}
|
||||||
}
|
@*<td>@( d.ex0cnt < 1 ? "-" : d.ex0lectcnt < 1 && d.ex0cnt > 0 ? "미제출" : d.ex0lectpoint.ToString())</td>*@
|
||||||
else
|
<td>@(d.ex1cnt < 1 ? "-" :d.ex1lectcnt < 1 && d.ex1cnt > 0 ? "미제출" : d.ex1lectpoint.ToString())</td>
|
||||||
{
|
<td>@(d.sd0cnt < 1 ? "-" :d.sd0lectcnt < 1 && d.sd0cnt > 0 ? "미제출" : d.sd0lectpoint.ToString())</td>
|
||||||
<td class="link text-center">[5] @d.attrate %</td>
|
<td style="display:none;">@( d.sd1cnt < 1 ? "-" :d.sd1lectcnt < 1 && d.sd1cnt > 0 ? "미제출" : d.sd1lectpoint.ToString())</td>
|
||||||
}
|
<td>@(((d.apoint + d.mpoint + d.fpoint + d.spoint + d.dpoint)).ToString())</td>
|
||||||
@*<td>@( d.ex0cnt < 1 ? "-" : d.ex0lectcnt < 1 && d.ex0cnt > 0 ? "미제출" : d.ex0lectpoint.ToString())</td>*@
|
@*<td>@((d.isrebate == 1 && Model.CMEV.midrfd < 1) || (d.isrebate == 0 && Model.CMEV.mid < 1) ? "-" : d.ex0cnt < 1 ? "-" : d.ex0lectcnt < 1 && d.ex0cnt > 0 ? "미제출" : d.ex0lectpoint.ToString())</td>
|
||||||
<td>[6] @(d.ex1cnt < 1 ? "-" :d.ex1lectcnt < 1 && d.ex1cnt > 0 ? "미제출" : d.ex1lectpoint.ToString())</td>
|
<td>@((d.isrebate == 1 && Model.CMEV.finalrfd < 1) || (d.isrebate == 0 && Model.CMEV.final < 1) ? "-" : d.ex1cnt < 1 ? "-" : d.ex1lectcnt < 1 && d.ex1cnt > 0 ? "미제출" : d.ex1lectpoint.ToString())</td>
|
||||||
<td>[7] @(d.sd0cnt < 1 ? "-" :d.sd0lectcnt < 1 && d.sd0cnt > 0 ? "미제출" : d.sd0lectpoint.ToString())</td>
|
<td>@((d.isrebate == 1 && Model.CMEV.subjectrfd < 1) || (d.isrebate == 0 && Model.CMEV.subject < 1) ? "-" : d.sd0cnt < 1 ? "-" : d.sd0lectcnt < 1 && d.sd0cnt > 0 ? "미제출" : d.sd0lectpoint.ToString())</td>
|
||||||
<td style="display:none;">[8] @( d.sd1cnt < 1 ? "-" :d.sd1lectcnt < 1 && d.sd1cnt > 0 ? "미제출" : d.sd1lectpoint.ToString())</td>
|
<td>@((d.isrebate == 1 && Model.CMEV.discussrfd < 1) || (d.isrebate == 0 && Model.CMEV.discuss < 1) ? "-" : d.sd1cnt < 1 ? "-" : d.sd1lectcnt < 1 && d.sd1cnt > 0 ? "미제출" : d.sd1lectpoint.ToString())</td>*@
|
||||||
<td>[9] @(((d.apoint + d.mpoint + d.fpoint + d.spoint + d.dpoint)).ToString())</td>
|
@if (Model.CMEV.isoffabs == 1)
|
||||||
@*<td>@((d.isrebate == 1 && Model.CMEV.midrfd < 1) || (d.isrebate == 0 && Model.CMEV.mid < 1) ? "-" : d.ex0cnt < 1 ? "-" : d.ex0lectcnt < 1 && d.ex0cnt > 0 ? "미제출" : d.ex0lectpoint.ToString())</td>
|
{
|
||||||
<td>@((d.isrebate == 1 && Model.CMEV.finalrfd < 1) || (d.isrebate == 0 && Model.CMEV.final < 1) ? "-" : d.ex1cnt < 1 ? "-" : d.ex1lectcnt < 1 && d.ex1cnt > 0 ? "미제출" : d.ex1lectpoint.ToString())</td>
|
<td class="link text-center"><a href="#" onclick="save4();">@d.istatusname</a></td>
|
||||||
<td>@((d.isrebate == 1 && Model.CMEV.subjectrfd < 1) || (d.isrebate == 0 && Model.CMEV.subject < 1) ? "-" : d.sd0cnt < 1 ? "-" : d.sd0lectcnt < 1 && d.sd0cnt > 0 ? "미제출" : d.sd0lectpoint.ToString())</td>
|
}
|
||||||
<td>@((d.isrebate == 1 && Model.CMEV.discussrfd < 1) || (d.isrebate == 0 && Model.CMEV.discuss < 1) ? "-" : d.sd1cnt < 1 ? "-" : d.sd1lectcnt < 1 && d.sd1cnt > 0 ? "미제출" : d.sd1lectpoint.ToString())</td>*@
|
<td>@(d.rs0lectcnt) / @(d.rs0cnt)</td>
|
||||||
@if (Model.CMEV.isoffabs == 1)
|
@if (!ViewBag.IsSubAdmin96)
|
||||||
{
|
{
|
||||||
<td class="link text-center">[10] <a href="#" onclick="save4();">@d.istatusname</a></td>
|
<td class="@(d.iscomplete == 1 ? "link text-center" : "")">@Html.Raw(d.iscomplete == 1 ? string.Format("<a href=\"#\" onclick=\"viewcert({0})\">{1}</a>", d.lectno, "수료") : d.iscompletename)</td>
|
||||||
}
|
}
|
||||||
<td>[11] @(d.rs0lectcnt) / @(d.rs0cnt)</td>
|
else
|
||||||
@if (!ViewBag.IsSubAdmin96)
|
{
|
||||||
{
|
<td class="@(d.iscomplete == 1 ? "link text-center" : "")">@Html.Raw(d.iscomplete == 1 ? string.Format("{1}", d.lectno, "수료") : d.iscompletename)</td>
|
||||||
<td class="@(d.iscomplete == 1 ? "link text-center" : "")">[12] @Html.Raw(d.iscomplete == 1 ? string.Format("<a href=\"#\" onclick=\"viewcert({0})\">{1}</a>", d.lectno, "수료") : d.iscompletename)</td>
|
}
|
||||||
}
|
@*<td><a style="@(d.iscomplete == 1 ? "":"display:none;")" href="#" class="btn btn-select btn-xxs" onclick="changecompt('@(d.completetime != null ? d.completetime.Value.ToString("yyyy-MM-dd") : "0001-01-01")','@d.username','@d.userid',@d.lectno,'@d.cshape')">변경</a></td>*@
|
||||||
else
|
</tr>
|
||||||
{
|
|
||||||
<td class="@(d.iscomplete == 1 ? "link text-center" : "")">[13] @Html.Raw(d.iscomplete == 1 ? string.Format("{1}", d.lectno, "수료") : d.iscompletename)</td>
|
|
||||||
}
|
|
||||||
@*<td><a style="@(d.iscomplete == 1 ? "":"display:none;")" href="#" class="btn btn-select btn-xxs" onclick="changecompt('@(d.completetime != null ? d.completetime.Value.ToString("yyyy-MM-dd") : "0001-01-01")','@d.username','@d.userid',@d.lectno,'@d.cshape')">변경</a></td>*@
|
|
||||||
</tr>
|
|
||||||
}
|
}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
@ -219,7 +219,7 @@
|
||||||
<h4><i class="fa fa-bars"></i> <span id="pcap">OFF출결관리</span><a href="#" class="btn btn-default btn-xs f-r closethisbox">닫기</a></h4>
|
<h4><i class="fa fa-bars"></i> <span id="pcap">OFF출결관리</span><a href="#" class="btn btn-default btn-xs f-r closethisbox">닫기</a></h4>
|
||||||
<br />
|
<br />
|
||||||
<table class="regtable">
|
<table class="regtable">
|
||||||
<colgroup><col width="100"/><col/></colgroup>
|
<colgroup><col width="100" /><col /></colgroup>
|
||||||
<tr style="display:none;">
|
<tr style="display:none;">
|
||||||
<th>회차선택</th>
|
<th>회차선택</th>
|
||||||
<td>
|
<td>
|
||||||
|
|
@ -247,7 +247,7 @@
|
||||||
<td colspan="2">
|
<td colspan="2">
|
||||||
<select id="cmisno" class="form-control" onchange="getoff()">
|
<select id="cmisno" class="form-control" onchange="getoff()">
|
||||||
<option value="">신청교육일</option>
|
<option value="">신청교육일</option>
|
||||||
@foreach(var d in Model.CMinningscds)
|
@foreach (var d in Model.CMinningscds)
|
||||||
{
|
{
|
||||||
<option value="@d.cmisno">@d.estart.ToString("yyyy-MM-dd")</option>
|
<option value="@d.cmisno">@d.estart.ToString("yyyy-MM-dd")</option>
|
||||||
}
|
}
|
||||||
|
|
@ -389,7 +389,7 @@
|
||||||
msg2("수료일자를 변경했습니다.", null, null, null, true);
|
msg2("수료일자를 변경했습니다.", null, null, null, true);
|
||||||
submit("mform", 500, true);
|
submit("mform", 500, true);
|
||||||
} else { msgadmin2(); }
|
} else { msgadmin2(); }
|
||||||
}
|
}
|
||||||
function save4() {
|
function save4() {
|
||||||
bglayer(); $("#thisbox2").slideDown("fast", function () { $("#thisbox2").scrollTop(0); });
|
bglayer(); $("#thisbox2").slideDown("fast", function () { $("#thisbox2").scrollTop(0); });
|
||||||
if ($("#cmino option").length > 1) {
|
if ($("#cmino option").length > 1) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue