YNICTE/FO/Views/CRoom/Grade.cshtml

92 lines
3.2 KiB
Plaintext
Raw Normal View History

2020-10-12 14:39:23 +09:00
@model NP.Model.VMCRoom
@{
}
2021-01-28 17:16:49 +09:00
<h3 class="grdTitle">
수료여부 : <span>@(Model.Lect.iscomplete == null || Model.Lect.iscomplete == 0 ? "미수료" : "수료")</span>
<span style="color:black;display:none;">@(Model.Lect.iscomplete == null || Model.Lect.iscomplete == 0 ? "(나의성적이 수료기준을 충족하였을 경우 아래 수료요청 버튼을 클릭해주세요)" : "")</span>
2021-01-28 17:16:49 +09:00
</h3>
2020-10-12 14:39:23 +09:00
<table class="evaTable">
<thead>
<tr>
<th>구분</th>
<th>진도율</th>
2021-07-07 10:32:05 +09:00
@*<th>진행평가</th>*@
2020-10-12 14:39:23 +09:00
<th>최종평가</th>
<th>과제평가</th>
<th style="display:@(Model.Lect.isoffabs == 1 ? "" : "none")">집체교육(7h)</th>
2021-07-07 10:32:05 +09:00
@*<th>토론평가</th>*@
2020-10-12 14:39:23 +09:00
<th>총점</th>
</tr>
</thead>
<tbody>
<tr>
<td>평가비율</td>
<td>@(Model.Lect.aportion)%</td>
2021-07-07 10:32:05 +09:00
@*<td>@(Model.Lect.mportion)%</td>*@
2020-10-12 14:39:23 +09:00
<td>@(Model.Lect.fportion)%</td>
<td>@(Model.Lect.sportion)%</td>
<td style="display:@(Model.Lect.isoffabs == 1 ? "" : "none")">-</td>
2021-07-07 10:32:05 +09:00
@*<td>@(Model.Lect.dportion)%</td>*@
<td class="red">100%(점)</td>
2020-10-12 14:39:23 +09:00
</tr>
<tr>
<td>수료기준</td>
<td>@(Model.Lect.acut)%이상</td>
2021-07-07 10:32:05 +09:00
@*<td>@(Model.Lect.mcut)%이상</td>*@
<td>@(Model.Lect.fcut)점이상</td>
<td>@(Model.Lect.scut)점이상</td>
<td style="display:@(Model.Lect.isoffabs == 1 ? "" : "none")">집체교육 참석(7h)</td>
2021-07-07 10:32:05 +09:00
@*<td>@(Model.Lect.dcut)%이상</td>*@
2020-10-12 14:39:23 +09:00
<td class="red">@(Model.Lect.cut)점이상</td>
</tr>
<tr>
<td>나의성적</td>
2021-06-28 14:32:12 +09:00
<td>@(Model.Lect.attrate)%</td>
2021-07-07 10:32:05 +09:00
@*<td>@(Model.Lect.ex0lectpoint)점</td>*@
2020-10-12 14:39:23 +09:00
<td>@(Model.Lect.ex1lectpoint)점</td>
<td>@(Model.Lect.sd0lectpoint)점</td>
<td style="display:@(Model.Lect.isoffabs == 1 ? "" : "none")">@(Model.Lect.istatus == 2 ? "출석완료" : "-")</td>
2021-07-07 10:32:05 +09:00
@*<td>@(Model.Lect.sd1lectpoint)점</td>*@
2020-10-12 14:39:23 +09:00
<td class="red">@(Model.Lect.apoint + Model.Lect.mpoint + Model.Lect.fpoint + Model.Lect.spoint + Model.Lect.dpoint)점</td>
</tr>
</tbody>
</table>
2021-09-10 14:02:05 +09:00
@*@if (Model.Lect.iscomplete == null || Model.Lect.iscomplete == 0)
2021-01-28 17:16:49 +09:00
{
<div class="notiBtn bot" style="display: none;">
2021-01-28 17:16:49 +09:00
<a href="#" onclick="save()">수료 요청</a>
</div>
2021-09-10 14:02:05 +09:00
}*@
2020-10-12 14:39:23 +09:00
@section styles{
}
@section scriptsHeader{
}
@section scripts{
<script>
$(document).ready(function () {
});
2021-09-10 14:02:05 +09:00
@*function save() {
if (confirm("수료 요청하시겠습니까?")) {
capp("/fcommon/lectcomplete", { lectno: @Model.Lect.lectno}, "cbsave");
}
}*@
@*function cbsave() {
2021-01-28 17:16:49 +09:00
if (capResult.code == 1000) {
msg("수료 처리했습니다.", 0, null, null, "reload()");
} else {
msg(capResult.msg);
return;
}
}
2021-09-10 14:02:05 +09:00
*@
2021-01-28 17:16:49 +09:00
function reload() {
window.location.reload();
}
2020-10-12 14:39:23 +09:00
</script>
}