<기능개선>

통합테스트목록 - {505,506}
BO/Controllers/cmController.cs
BO/Views/cm/cmregest.cshtml
BO/Views/cm/cmregex.cshtml
진행평가삭제
This commit is contained in:
kdh0120 2021-11-09 23:50:20 +00:00
parent 58914e6393
commit 1f73d15513
3 changed files with 7 additions and 6 deletions

View File

@ -186,7 +186,7 @@ namespace NP.BO.Controllers
public ActionResult cmregex(VMCM vm)
{
ModelState.Clear();
vm.CMEX = new CMEX() { cmno = vm.cmno ,isresultopen=1};
vm.CMEX = new CMEX() { cmno = vm.cmno ,isresultopen=1,extype=1};
vm.CMEXLayers = new List<CMEXLayer>() { };
vm.CMEXQs = new List<CMEXQ>() { };
vm.ComGroups = Dao.Get<ComCode>("sys.comcode.glist", new System.Collections.Hashtable() { { "orderby", "cgroupname" } });

View File

@ -34,12 +34,12 @@
<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;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 style="display:none;">토론(%)</th><th style="display:none;">기타(%)</th><th>합계(총점)</th></tr>
<tr><th style="display:none;">기준</th><th>평가항목</th><th>진도율</th>@*<th>진행평가(%)</th>*@<th>최종평가(%)</th><th>과제(%)</th><th style="display:none;">토론(%)</th><th style="display:none;">기타(%)</th><th>합계(총점)</th></tr>
<tr class="auto" id="trest">
<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>
<td style="display:none;"><input type="text" class="form-control int nocomma" maxlength="100" name="mid" id="mid" value="@Model.CMEV.mid" /></td>
<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>
<td style="display:none;"><input type="text" class="form-control int nocomma" maxlength="100" name="discuss" id="discuss" value="@Model.CMEV.discuss" /></td>
@ -49,7 +49,7 @@
<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>
<td><input type="text" class="form-control int nocomma" maxlength="100" name="midcut" id="midcut" value="@Model.CMEV.midcut" /></td>
<td style="display:none;"><input type="text" class="form-control int nocomma" maxlength="100" name="midcut" id="midcut" value="@Model.CMEV.midcut" /></td>
<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>
<td style="display:none;"><input type="text" class="form-control int nocomma" maxlength="100" name="discusscut" id="discusscut" value="@Model.CMEV.discusscut" /></td>
@ -92,7 +92,7 @@
<div class="buttonbox text-center"><a href="#" onclick="save();" class="btn btn-s-xs btn-info">평가기준 및 비율 저장</a></div>
<br />
<div class="tar buttonbox">
<a href="#" onclick="add(0, 0);" class="btn btn-s-xs btn-primary">진행평가/최종평가추가</a>
<a href="#" onclick="add(0, 0);" class="btn btn-s-xs btn-primary">최종평가추가</a>
<a href="#" onclick="add(1, 0);" class="btn btn-s-xs btn-primary">과제추가</a>
<a href="#" onclick="add(2, 0);" class="btn btn-s-xs btn-primary">설문추가</a>
</div>

View File

@ -22,7 +22,8 @@
<div class="panel-body">
<div class="form-group">
<label class="col-sm-4 col-md-2 control-label req">평가구분</label>
<div class="col-sm-8 col-md-10">@Html.Partial("./Partial/Radio", "0:진행평가;1:최종평가", new ViewDataDictionary { { "special", "stringlist" }, { "name", "CMEX.extype" }, { "checked", Model.CMEX.extype } })</div>
<div class="col-sm-8 col-md-10">@*@Html.Partial("./Partial/Radio", "0:진행평가;1:최종평가", new ViewDataDictionary { { "special", "stringlist" }, { "name", "CMEX.extype" }, { "checked", Model.CMEX.extype } })*@</div>
<div class="col-sm-8 col-md-10">@Html.Partial("./Partial/Radio", "1:최종평가", new ViewDataDictionary { { "special", "stringlist" }, { "name", "CMEX.extype" }, { "checked", Model.CMEX.extype } })</div>
</div>
<div class="line line-dashed line-lg pull-in"></div><div class="form-group">
<label class="col-sm-4 col-md-2 control-label req">평가명</label>