parent
612b6f0310
commit
9ca36b8cfa
|
|
@ -33,10 +33,10 @@
|
|||
<section class="panel panel-default" style="border-top: 1px solid #ddd; margin-top: 5px;">
|
||||
<header class="panel-heading"><strong><i class="fa fa-bars"></i> 평가기준 및 비율<span class=""></span></strong></header>
|
||||
<table class="regtable" id="esttable">
|
||||
<colgroup><col style="width: 80px;" /><col style="width: 100px;" /><col /><col /><col /><col /><col /><col /><col style="display:none;" /></colgroup>
|
||||
<tr><th>기준</th><th>평가항목</th><th>출석(%)</th><th>진행평가(%)</th><th>최종평가(%)</th><th>과제(%)</th><th>토론(%)</th><th style="display:none;">기타(%)</th><th>합계(총점)</th></tr>
|
||||
<colgroup><col style="width: 80px;display:none;" /><col style="width: 100px;" /><col /><col /><col /><col /><col /><col /><col style="display:none;" /></colgroup>
|
||||
<tr><th style="display:none;">기준</th><th>평가항목</th><th>출석(%)</th><th>진행평가(%)</th><th>최종평가(%)</th><th>과제(%)</th><th>토론(%)</th><th style="display:none;">기타(%)</th><th>합계(총점)</th></tr>
|
||||
<tr class="auto" id="trest">
|
||||
<th rowspan="2">비환급</th>
|
||||
<th rowspan="2" style="display:none;">비환급</th>
|
||||
<th>비율(점수)</th>
|
||||
<td><input type="text" class="form-control int nocomma" maxlength="100" name="attend" id="attend" value="@Model.CMEV.attend" /></td>
|
||||
<td><input type="text" class="form-control int nocomma" maxlength="100" name="mid" id="mid" value="@Model.CMEV.mid" /></td>
|
||||
|
|
@ -44,7 +44,7 @@
|
|||
<td><input type="text" class="form-control int nocomma" maxlength="100" name="subject" id="subject" value="@Model.CMEV.subject" /></td>
|
||||
<td><input type="text" class="form-control int nocomma" maxlength="100" name="discuss" id="discuss" value="@Model.CMEV.discuss" /></td>
|
||||
<td style="display:none;"><input type="text" class="form-control int nocomma" maxlength="100" name="etc" id="etc" value="@Model.CMEV.etc" /></td>
|
||||
<td><input type="text" class="form-control int nocomma tot" maxlength="100" id="tot" value="@(Model.CMEV.attend+Model.CMEV.mid+Model.CMEV.final+Model.CMEV.subject+Model.CMEV.discuss+Model.CMEV.etc)" readonly="readonly" /></td>
|
||||
<td><input type="text" class="form-control int nocomma tot" maxlength="100" name="tot" id="tot" value="@(Model.CMEV.attend+Model.CMEV.mid+Model.CMEV.final+Model.CMEV.subject+Model.CMEV.discuss+Model.CMEV.etc)" readonly="readonly" /></td>
|
||||
</tr>
|
||||
<tr id="trestcut">
|
||||
<th>수료기준</th>
|
||||
|
|
@ -57,7 +57,7 @@
|
|||
<td><input type="text" class="form-control int nocomma" maxlength="100" name="cut" id="cut" value="@Model.CMEV.cut" /></td>
|
||||
</tr>
|
||||
<tr class="auto" id="trestrfd" style="@(Model.CM.isrefund == 1?"":"display:none;")">
|
||||
<th rowspan="2">환급</th>
|
||||
<th rowspan="2" style="display:none;">환급</th>
|
||||
<th>비율(점수)</th>
|
||||
<td><input type="text" class="form-control int nocomma" maxlength="100" name="attendrfd" id="attendrfd" value="@Model.CMEV.attendrfd" /></td>
|
||||
<td><input type="text" class="form-control int nocomma" maxlength="100" name="midrfd" id="midrfd" value="@Model.CMEV.midrfd" /></td>
|
||||
|
|
@ -163,7 +163,7 @@
|
|||
else if (idx == 4) { $("#dform").attr("action", "/cm/@(Model.viewname)menu").submit(); }
|
||||
}, t);
|
||||
}
|
||||
function save() {
|
||||
function save() {
|
||||
var isok = true;
|
||||
$.each($("tr td input.tot"), function (i, c) {
|
||||
if (getint($(c).val()) != 100) {
|
||||
|
|
@ -192,7 +192,17 @@
|
|||
});
|
||||
}
|
||||
var chked = $("#isoffabs").is(':checked');
|
||||
setv("isoffabs", chked == true? 1 : 0);
|
||||
setv("isoffabs", chked == true ? 1 : 0);
|
||||
|
||||
/* 비환급 값을 환급에 적용 */
|
||||
$.each($("#trest input"), function () {
|
||||
$("#trestrfd input[name='" + this.name + "rfd']").val(this.value);
|
||||
});
|
||||
$.each($("#trestcut input"), function () {
|
||||
$("#trestcutrfd input[name='" + this.name + "rfd']").val(this.value);
|
||||
});
|
||||
/* 비환급 값을 환급에 적용 */
|
||||
|
||||
if (isok && confirm("평가기준/비율을 저장하시겠습니까?")) {
|
||||
cap("/acommon/cmevsave", "mform", "cbsave");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,12 +10,12 @@
|
|||
<section class="panel panel-default" style="border-top: 1px solid #ddd; margin-top: 5px;">
|
||||
<header class="panel-heading"><strong><i class="fa fa-bars"></i> 평가기준 및 비율<span class=""></span></strong></header>
|
||||
<table class="table table-striped b-t b-light no-odd">
|
||||
<colgroup><col style="width: 80px;" /><col style="width: 100px;" /><col /><col /><col /><col /><col /><col /><col /></colgroup>
|
||||
<colgroup><col style="width: 80px;display:none;" /><col style="width: 100px;" /><col /><col /><col /><col /><col /><col /><col /></colgroup>
|
||||
<thead>
|
||||
<tr><th>기준</th><th>평가항목</th><th>출석(%)</th><th>진행평가(%)</th><th>최종평가(%)</th><th>과제(%)</th><th>토론(%)</th><th>기타(%)</th><th>합계(총점)</th></tr>
|
||||
<tr><th style="display:none;">기준</th><th>평가항목</th><th>출석(%)</th><th>진행평가(%)</th><th>최종평가(%)</th><th>과제(%)</th><th>토론(%)</th><th>기타(%)</th><th>합계(총점)</th></tr>
|
||||
</thead>
|
||||
<tr>
|
||||
<th rowspan="2">비환급</th>
|
||||
<th rowspan="2" style="display:none;">비환급</th>
|
||||
<th>비율(점수)</th>
|
||||
<td>@Model.CMEV.attend</td>
|
||||
<td>@Model.CMEV.mid</td>
|
||||
|
|
@ -38,7 +38,7 @@
|
|||
@if (Model.CM.isrefund == 1)
|
||||
{
|
||||
<tr>
|
||||
<th rowspan="2">환급</th>
|
||||
<th rowspan="2" style="display:none;">환급</th>
|
||||
<th>비율(점수)</th>
|
||||
<td>@Model.CMEV.attendrfd</td>
|
||||
<td>@Model.CMEV.midrfd</td>
|
||||
|
|
|
|||
Loading…
Reference in New Issue