2020-10-12 14:39:23 +09:00
|
|
|
@model NP.Model.VMCM
|
2025-06-20 15:05:47 +09:00
|
|
|
<!-- div[id=container] -->
|
|
|
|
|
<div style="@(Model.CM.cmno < 1 ? "display: none;" : "")">
|
2020-10-12 14:39:23 +09:00
|
|
|
<ul class="pagination pagination-md" style="margin: 0;">
|
2025-06-20 15:05:47 +09:00
|
|
|
<li><a href="javascript:;" onclick="gotab(0);" data-toggle="tab">기본정보</a></li>
|
|
|
|
|
<li><a href="javascript:;" onclick="gotab(1);" data-toggle="tab">회차설정</a></li>
|
2022-07-26 15:51:18 +09:00
|
|
|
@if (Model.CM.ismaster == 0)
|
2020-10-22 10:12:30 +09:00
|
|
|
{
|
2025-06-20 15:05:47 +09:00
|
|
|
<li><a href="javascript:;" onclick="gotab(2);" data-toggle="tab">교육일정</a></li>
|
2020-10-22 10:12:30 +09:00
|
|
|
}
|
2025-06-20 15:05:47 +09:00
|
|
|
<li class="active"><a href="javascript:;" data-toggle="tab">평가설정</a></li>
|
2025-12-26 23:11:05 +09:00
|
|
|
<li><a href="javascript:;" data-toggle="tab" onclick="gotab(5);">시험설정</a></li>
|
2025-06-20 15:05:47 +09:00
|
|
|
<li><a href="javascript:;" onclick="gotab(4);" data-toggle="tab">메뉴설정</a></li>
|
2020-10-12 14:39:23 +09:00
|
|
|
</ul>
|
|
|
|
|
</div>
|
2025-06-20 15:05:47 +09:00
|
|
|
<!-- // div[id=container] -->
|
|
|
|
|
<!-- form[id=mform] -->
|
2020-10-12 14:39:23 +09:00
|
|
|
<form id="mform" method="post" class="form-horizontal">
|
2025-06-20 15:05:47 +09:00
|
|
|
<!-- section[class=panel panel-default] -->
|
2020-10-12 14:39:23 +09:00
|
|
|
<section class="panel panel-default" style="border-top: 1px solid #ddd; margin-top: 5px;">
|
|
|
|
|
<div class="panel-body">
|
|
|
|
|
@if (Model.CM.ismaster == 1)
|
|
|
|
|
{
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-4 col-md-2 control-label">과정분류 | 과정명</label>
|
2025-06-20 15:05:47 +09:00
|
|
|
<div class="col-sm-8 col-md-10">
|
|
|
|
|
<input type="text" class="form-control" disabled value="[ @(Model.CM.pcgname) | @(Model.CM.cgname) ] @(Model.CM.cname)" />
|
|
|
|
|
</div>
|
2020-10-12 14:39:23 +09:00
|
|
|
</div>
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-4 col-md-2 control-label">기수 | 강좌명 | 분반</label>
|
2025-06-20 15:05:47 +09:00
|
|
|
<div class="col-sm-8 col-md-10">
|
|
|
|
|
<input type="text" class="form-control" disabled value="@(Model.CM.tmname) | @(Model.CM.cname) | @(Model.CM.classno)반" />
|
|
|
|
|
</div>
|
2020-10-12 14:39:23 +09:00
|
|
|
</div>
|
|
|
|
|
}
|
|
|
|
|
</div>
|
|
|
|
|
</section>
|
2025-06-20 15:05:47 +09:00
|
|
|
<!-- // section[class=panel panel-default] -->
|
|
|
|
|
<!-- section[class=panel panel-default] -->
|
2020-10-12 14:39:23 +09:00
|
|
|
<section class="panel panel-default" style="border-top: 1px solid #ddd; margin-top: 5px;">
|
2025-06-20 15:05:47 +09:00
|
|
|
<header class="panel-heading">
|
|
|
|
|
<strong><i class="fa fa-bars"></i> 평가기준 및 비율<span></span></strong>
|
|
|
|
|
</header>
|
2020-10-12 14:39:23 +09:00
|
|
|
<table class="regtable" id="esttable">
|
2025-06-20 15:05:47 +09:00
|
|
|
<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 style="display: none;">토론(%)</th>
|
|
|
|
|
<th style="display: none;">기타(%)</th>
|
|
|
|
|
<th>합계(총점)</th>
|
|
|
|
|
</tr>
|
2020-10-12 14:39:23 +09:00
|
|
|
<tr class="auto" id="trest">
|
2025-06-20 15:05:47 +09:00
|
|
|
<th rowspan="2" style="display: none;">비환급</th>
|
2020-10-12 14:39:23 +09:00
|
|
|
<th>비율(점수)</th>
|
|
|
|
|
<td><input type="text" class="form-control int nocomma" maxlength="100" name="attend" id="attend" value="@Model.CMEV.attend" /></td>
|
2025-06-20 15:05:47 +09:00
|
|
|
<td style="display: none;"><input type="text" class="form-control int nocomma" maxlength="100" name="mid" id="mid" value="@Model.CMEV.mid" /></td>
|
2020-10-12 14:39:23 +09:00
|
|
|
<td><input type="text" class="form-control int nocomma" maxlength="100" name="final" id="final" value="@Model.CMEV.final" /></td>
|
|
|
|
|
<td><input type="text" class="form-control int nocomma" maxlength="100" name="subject" id="subject" value="@Model.CMEV.subject" /></td>
|
2025-06-20 15:05:47 +09:00
|
|
|
<td style="display: none;"><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" 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>
|
2020-10-12 14:39:23 +09:00
|
|
|
</tr>
|
|
|
|
|
<tr id="trestcut">
|
|
|
|
|
<th>수료기준</th>
|
|
|
|
|
<td><input type="text" class="form-control int nocomma" maxlength="100" name="attendcut" id="attendcut" value="@Model.CMEV.attendcut" /></td>
|
2025-06-20 15:05:47 +09:00
|
|
|
<td style="display: none;"><input type="text" class="form-control int nocomma" maxlength="100" name="midcut" id="midcut" value="@Model.CMEV.midcut" /></td>
|
2020-10-12 14:39:23 +09:00
|
|
|
<td><input type="text" class="form-control int nocomma" maxlength="100" name="finalcut" id="finalcut" value="@Model.CMEV.finalcut" /></td>
|
|
|
|
|
<td><input type="text" class="form-control int nocomma" maxlength="100" name="subjectcut" id="subjectcut" value="@Model.CMEV.subjectcut" /></td>
|
2025-06-20 15:05:47 +09:00
|
|
|
<td style="display: none;"><input type="text" class="form-control int nocomma" maxlength="100" name="discusscut" id="discusscut" value="@Model.CMEV.discusscut" /></td>
|
|
|
|
|
<td style="display: none;"><input type="text" class="form-control int nocomma" maxlength="100" name="etccut" id="etccut" value="@Model.CMEV.etccut" /></td>
|
2020-10-12 14:39:23 +09:00
|
|
|
<td><input type="text" class="form-control int nocomma" maxlength="100" name="cut" id="cut" value="@Model.CMEV.cut" /></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</section>
|
2025-06-20 15:05:47 +09:00
|
|
|
<!-- // section[class=panel panel-default] -->
|
|
|
|
|
|
|
|
|
|
@if (Model.CM.cshape == 1 || Model.CM.cshape == 2)
|
2020-10-20 17:44:00 +09:00
|
|
|
{
|
2025-06-20 15:05:47 +09:00
|
|
|
<!-- div[id=divoffabs] -->
|
|
|
|
|
<div id="divoffabs" style="@(Model.CMEV.scdtype == 1 ? "display: none;" : "")">
|
|
|
|
|
<label>
|
|
|
|
|
<input type="checkbox" @(Model.CMEV.scdtype == 1 ? "disabled" : "") name="isoffabs" id="isoffabs" @(Model.CMEV.isoffabs != 0 ? "checked" : "") /> 집합교육 출석 필수
|
|
|
|
|
</label>
|
2021-11-03 15:19:08 +09:00
|
|
|
</div>
|
2025-06-20 15:05:47 +09:00
|
|
|
<!-- // div[id=divoffabs] -->
|
2020-10-20 17:44:00 +09:00
|
|
|
}
|
2025-06-20 15:05:47 +09:00
|
|
|
|
|
|
|
|
<!-- div[class=note] -->
|
2020-10-20 17:44:00 +09:00
|
|
|
<div style="padding-left: 0px; font-weight: bold;">
|
2020-10-12 14:39:23 +09:00
|
|
|
※ 비율의 합은 100%가 되어야 하며, 합계(총점) 수료기준은 반드시 입력하셔야 합니다.<br />
|
|
|
|
|
※ 수료기준은 각 평가기준별 받아야하는 최소 점수를 의미합니다.<br /><br />
|
|
|
|
|
</div>
|
2025-06-20 15:05:47 +09:00
|
|
|
<!-- // div[class=note] -->
|
|
|
|
|
|
|
|
|
|
<div class="buttonbox text-center">
|
|
|
|
|
<a href="javascript:;" onclick="save();" class="btn btn-s-xs btn-info">평가기준 및 비율 저장</a>
|
|
|
|
|
</div>
|
2020-10-12 14:39:23 +09:00
|
|
|
<br />
|
|
|
|
|
<div class="tar buttonbox">
|
2025-12-26 23:11:05 +09:00
|
|
|
@*<a href="javascript:;" onclick="add(0, 0);" class="btn btn-s-xs btn-primary">최종평가추가</a>*@
|
2025-06-20 15:05:47 +09:00
|
|
|
<a href="javascript:;" onclick="add(1, 0);" class="btn btn-s-xs btn-primary">과제추가</a>
|
|
|
|
|
<a href="javascript:;" onclick="add(2, 0);" class="btn btn-s-xs btn-primary">설문추가</a>
|
2020-10-12 14:39:23 +09:00
|
|
|
</div>
|
2025-06-20 15:05:47 +09:00
|
|
|
|
|
|
|
|
<!-- section[class=panel panel-default] -->
|
2020-10-12 14:39:23 +09:00
|
|
|
<section class="panel panel-default" style="border-top: 1px solid #ddd; margin-top: 5px;">
|
2025-06-20 15:05:47 +09:00
|
|
|
<header class="panel-heading">
|
|
|
|
|
<strong><i class="fa fa-bars"></i> 평가내용 설정<span></span></strong>
|
|
|
|
|
</header>
|
2020-10-12 14:39:23 +09:00
|
|
|
<div class="table-responsive" id="excel2">
|
|
|
|
|
<table class="table table-striped b-t b-light">
|
|
|
|
|
<thead>
|
2025-12-26 23:11:05 +09:00
|
|
|
<tr>
|
|
|
|
|
<th>평가구분</th>
|
|
|
|
|
<th>평가명</th>
|
|
|
|
|
<th>참여조건</th>
|
|
|
|
|
<!--<th>총점</th>-->
|
|
|
|
|
<th>삭제</th>
|
|
|
|
|
</tr>
|
2020-10-12 14:39:23 +09:00
|
|
|
</thead>
|
|
|
|
|
<tbody class="data" id="tbody1">
|
2025-06-20 15:05:47 +09:00
|
|
|
@{
|
|
|
|
|
var estList = Model.ESTs.ToList();
|
|
|
|
|
foreach (var item in estList)
|
|
|
|
|
{
|
|
|
|
|
<tr>
|
|
|
|
|
<td>@item.estkindname</td>
|
|
|
|
|
<td class="link"><a href="javascript:;" onclick="add(@item.gubun, @item.exno)">@item.exname</a></td>
|
|
|
|
|
<td>
|
|
|
|
|
@if (item.rstype == 1)
|
|
|
|
|
{
|
|
|
|
|
@(item.iseq + "회차" + " (" + item.teachername + ")")
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
@:출석 @item.econdition 이상
|
|
|
|
|
}
|
|
|
|
|
</td>
|
2025-12-26 23:11:05 +09:00
|
|
|
<!--<td>@(item.estkind < 30 ? item.tpoint.ToString() + "점" : "-")</td>-->
|
2025-06-20 15:05:47 +09:00
|
|
|
<td><a href="javascript:;" class="delete-link" onclick="del(@item.estkind, @item.exno)">[삭제]</a></td>
|
|
|
|
|
</tr>
|
|
|
|
|
}
|
2020-10-12 14:39:23 +09:00
|
|
|
}
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</section>
|
2025-06-20 15:05:47 +09:00
|
|
|
<!-- // section[class=panel panel-default] -->
|
|
|
|
|
|
2020-10-12 14:39:23 +09:00
|
|
|
<input type="hidden" name="cmno" value="@Model.CM.cmno" />
|
|
|
|
|
</form>
|
2025-06-20 15:05:47 +09:00
|
|
|
<!-- // form[id=mform] -->
|
|
|
|
|
|
2020-10-12 14:39:23 +09:00
|
|
|
<form id="dform" method="post" action="/cm/@Model.listviewname">
|
|
|
|
|
@Html.Partial("./Partial/DForm", Model, new ViewDataDictionary { { "preform", 1 } })
|
|
|
|
|
</form>
|
2025-06-20 15:05:47 +09:00
|
|
|
|
|
|
|
|
@section styles {
|
2020-10-12 14:39:23 +09:00
|
|
|
<style type="text/css">
|
2025-06-20 15:05:47 +09:00
|
|
|
input.int {
|
|
|
|
|
text-align: right;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.delete-link {
|
|
|
|
|
color: red;
|
|
|
|
|
}
|
2020-10-12 14:39:23 +09:00
|
|
|
</style>
|
|
|
|
|
}
|
|
|
|
|
|
2025-06-20 15:05:47 +09:00
|
|
|
@section scriptsHeader { }
|
|
|
|
|
|
|
|
|
|
@section scripts {
|
2020-10-12 14:39:23 +09:00
|
|
|
<script>
|
2025-06-20 15:05:47 +09:00
|
|
|
@*/* 문서 로드 시 초기화 */*@
|
2020-10-12 14:39:23 +09:00
|
|
|
$(document).ready(function () {
|
|
|
|
|
$("#esttable tr td input.int").on("keyup", function (e) {
|
|
|
|
|
if ($(this).closest("tr").hasClass("auto")) {
|
|
|
|
|
var tot = 0;
|
|
|
|
|
$.each($(this).closest("tr").find("td input.int"), function (i, c) {
|
|
|
|
|
if (!$(c).hasClass("tot")) {
|
|
|
|
|
tot += getint($(c).val());
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
$(this).closest("tr").find("td input.int.tot").val(tot);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
});
|
2025-06-20 15:05:47 +09:00
|
|
|
|
|
|
|
|
@*/* 탭 이동 함수 */*@
|
|
|
|
|
function gotab(idx, t) {
|
|
|
|
|
bglayer();
|
|
|
|
|
t = t || 0;
|
|
|
|
|
setTimeout(function () {
|
|
|
|
|
switch (idx) {
|
|
|
|
|
case 0:
|
|
|
|
|
$("#dform").attr("action", "/cm/@Model.viewname").submit();
|
|
|
|
|
break;
|
|
|
|
|
case 1:
|
|
|
|
|
$("#dform").attr("action", "/cm/@(Model.viewname)inning").submit();
|
|
|
|
|
break;
|
|
|
|
|
case 2:
|
|
|
|
|
$("#dform").attr("action", "/cm/@(Model.viewname)eduschedule").submit();
|
|
|
|
|
break;
|
|
|
|
|
case 3:
|
|
|
|
|
$("#dform").attr("action", "/cm/@(Model.viewname)est").submit();
|
|
|
|
|
break;
|
|
|
|
|
case 4:
|
|
|
|
|
$("#dform").attr("action", "/cm/@(Model.viewname)menu").submit();
|
|
|
|
|
break;
|
2025-12-26 23:11:05 +09:00
|
|
|
case 5:
|
|
|
|
|
$("#dform").attr("action", "/cm/@(Model.viewname)exset").submit();
|
|
|
|
|
break;
|
2025-06-20 15:05:47 +09:00
|
|
|
}
|
|
|
|
|
}, t);
|
2020-10-12 14:39:23 +09:00
|
|
|
}
|
2025-06-20 15:05:47 +09:00
|
|
|
|
|
|
|
|
// 온라인 여부 변수
|
2021-11-03 15:19:08 +09:00
|
|
|
var _isonline = @(Model.CMEV.scdtype == 1 ? "true" : "false");
|
2025-06-20 15:05:47 +09:00
|
|
|
|
|
|
|
|
@*/* 평가기준 저장 함수 */*@
|
|
|
|
|
function save() {
|
2020-10-12 14:39:23 +09:00
|
|
|
var isok = true;
|
2021-11-03 15:19:08 +09:00
|
|
|
$("#isoffabs").attr("disabled", false);
|
2025-06-20 15:05:47 +09:00
|
|
|
|
|
|
|
|
// 총점 검증
|
2020-10-12 14:39:23 +09:00
|
|
|
$.each($("tr td input.tot"), function (i, c) {
|
|
|
|
|
if (getint($(c).val()) != 100) {
|
2025-06-20 15:05:47 +09:00
|
|
|
isok = false;
|
|
|
|
|
$(c).focus();
|
|
|
|
|
msg("평가항목의 " + ($(c).hasClass("tot") ? "합이" : "기준이") + " [100]이 되도록 입력해주세요.");
|
|
|
|
|
return false;
|
2020-10-12 14:39:23 +09:00
|
|
|
}
|
|
|
|
|
});
|
2025-06-20 15:05:47 +09:00
|
|
|
|
|
|
|
|
// 수료기준 검증
|
2020-10-12 14:39:23 +09:00
|
|
|
if (isok) {
|
|
|
|
|
$.each($("tr#trestcut td input.tot"), function (i, c) {
|
|
|
|
|
if (getint($(c).val()) != 100) {
|
2025-06-20 15:05:47 +09:00
|
|
|
isok = false;
|
|
|
|
|
$(c).focus();
|
|
|
|
|
msg("평가항목의 기준이 [100]이 되도록 입력해주세요.");
|
|
|
|
|
return false;
|
2020-10-12 14:39:23 +09:00
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
2025-06-20 15:05:47 +09:00
|
|
|
|
|
|
|
|
// 비환급 점수 검증
|
2020-10-12 14:39:23 +09:00
|
|
|
if (isok) {
|
|
|
|
|
$.each($("tr#trestrfd td input.int"), function (i, c) {
|
|
|
|
|
if (getint($(c).val()) > 100) {
|
2025-06-20 15:05:47 +09:00
|
|
|
isok = false;
|
|
|
|
|
$(c).focus();
|
|
|
|
|
msg("평가항목의 " + ($(c).hasClass("tot") ? "합이" : "기준이") + " 100 이하가 되도록 입력해주세요.");
|
|
|
|
|
return false;
|
2020-10-12 14:39:23 +09:00
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
2025-06-20 15:05:47 +09:00
|
|
|
|
|
|
|
|
// 비환급 수료기준 검증
|
2020-10-12 14:39:23 +09:00
|
|
|
if (isok) {
|
|
|
|
|
$.each($("tr#trestcutrfd td input.int"), function (i, c) {
|
|
|
|
|
if (getint($(c).val()) > 100) {
|
2025-06-20 15:05:47 +09:00
|
|
|
isok = false;
|
|
|
|
|
$(c).focus();
|
|
|
|
|
msg("평가항목의 기준이 100 이하가 되도록 입력해주세요.");
|
|
|
|
|
return false;
|
2020-10-12 14:39:23 +09:00
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
2025-06-20 15:05:47 +09:00
|
|
|
|
|
|
|
|
// 체크박스 값 설정
|
2020-10-20 17:44:00 +09:00
|
|
|
var chked = $("#isoffabs").is(':checked');
|
2025-06-20 15:05:47 +09:00
|
|
|
setv("isoffabs", chked ? 1 : 0);
|
2021-06-29 18:25:58 +09:00
|
|
|
|
2025-06-20 15:05:47 +09:00
|
|
|
// 비환급 값을 환급에 적용
|
|
|
|
|
$.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);
|
2021-06-29 18:25:58 +09:00
|
|
|
});
|
|
|
|
|
|
2020-10-12 14:39:23 +09:00
|
|
|
if (isok && confirm("평가기준/비율을 저장하시겠습니까?")) {
|
|
|
|
|
cap("/acommon/cmevsave", "mform", "cbsave");
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-06-20 15:05:47 +09:00
|
|
|
|
|
|
|
|
@*/* 저장 콜백 함수 */*@
|
2020-10-12 14:39:23 +09:00
|
|
|
function cbsave() {
|
2021-11-03 15:19:08 +09:00
|
|
|
$("#isoffabs").attr("disabled", _isonline);
|
2020-10-12 14:39:23 +09:00
|
|
|
if (capResult.code == 1000) {
|
|
|
|
|
msg("평가기준/비율을 저장했습니다.", null, true, null, true);
|
2020-10-23 17:42:52 +09:00
|
|
|
gotab(3, 500);
|
2025-06-20 15:05:47 +09:00
|
|
|
} else {
|
|
|
|
|
msgadmin();
|
|
|
|
|
}
|
2020-10-12 14:39:23 +09:00
|
|
|
}
|
2025-06-20 15:05:47 +09:00
|
|
|
|
|
|
|
|
@*/* 페이지 새로고침 함수 */*@
|
2020-10-12 14:39:23 +09:00
|
|
|
function pagerefresh() {
|
2020-10-23 17:42:52 +09:00
|
|
|
gotab(3, 500);
|
2020-10-12 14:39:23 +09:00
|
|
|
}
|
2025-06-20 15:05:47 +09:00
|
|
|
|
|
|
|
|
@*/* 평가 추가 함수 */*@
|
2020-10-12 14:39:23 +09:00
|
|
|
function add(idx, no) {
|
|
|
|
|
if (idx == 0) {
|
|
|
|
|
showramemainlayer("/cm/cmregex?cmno=@(Model.CM.cmno)&intval=" + no);
|
2025-06-20 15:05:47 +09:00
|
|
|
} else if (idx == 1) {
|
2020-10-12 14:39:23 +09:00
|
|
|
showramemainlayer("/cm/cmregsd?cmno=@(Model.CM.cmno)&intval=" + no);
|
2025-06-20 15:05:47 +09:00
|
|
|
} else if (idx == 2) {
|
2020-10-12 14:39:23 +09:00
|
|
|
showramemainlayer("/cm/cmregrs?cmno=@(Model.CM.cmno)&intval=" + no);
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-06-20 15:05:47 +09:00
|
|
|
|
|
|
|
|
@*/* 평가 삭제 함수 */*@
|
2020-10-12 14:39:23 +09:00
|
|
|
function del(extype, no) {
|
|
|
|
|
if (confirm("삭제하시겠습니까?")) {
|
|
|
|
|
capp("/acommon/estdel", { extype: extype, no: no }, "cbdel");
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-06-20 15:05:47 +09:00
|
|
|
|
|
|
|
|
@*/* 삭제 콜백 함수 */*@
|
2020-10-12 14:39:23 +09:00
|
|
|
function cbdel() {
|
|
|
|
|
if (capResult.code == 1000) {
|
|
|
|
|
msg("삭제했습니다.", null, true, null, true);
|
2020-10-23 17:42:52 +09:00
|
|
|
gotab(3, 500);
|
2020-10-12 14:39:23 +09:00
|
|
|
} else {
|
|
|
|
|
msg("수강데이터가 생성되어 삭제할 수 없습니다.");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
2025-06-20 15:05:47 +09:00
|
|
|
}
|