This commit is contained in:
parent
ccdf344ba4
commit
f4f420457b
|
|
@ -151,9 +151,9 @@
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@*@if (Model.viewidx == 0)
|
@*@if (Model.viewidx == 0)
|
||||||
{
|
{
|
||||||
<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>
|
||||||
<th width="80">@(Model.viewidxname)코드</th>
|
<th width="80">@(Model.viewidxname)코드</th>
|
||||||
@Html.Raw(Model.viewidx == 0 ? "<th>기수</th>" : "")
|
@Html.Raw(Model.viewidx == 0 ? "<th>기수</th>" : "")
|
||||||
|
|
@ -163,6 +163,7 @@
|
||||||
<th>@(Model.viewidxname)명</th>
|
<th>@(Model.viewidxname)명</th>
|
||||||
@Html.Raw(Model.viewidx == 1 ? "<th>복제</th>" : "")
|
@Html.Raw(Model.viewidx == 1 ? "<th>복제</th>" : "")
|
||||||
@Html.Raw(Model.viewidx == 1 ? "<th>강좌추가</th>" : "")
|
@Html.Raw(Model.viewidx == 1 ? "<th>강좌추가</th>" : "")
|
||||||
|
@Html.Raw(Model.viewidx == 0 ? "<th>제한인원</th>" : "")
|
||||||
@Html.Raw(Model.viewidx == 0 ? "<th>신청인원</th>" : "")
|
@Html.Raw(Model.viewidx == 0 ? "<th>신청인원</th>" : "")
|
||||||
@Html.Raw(Model.viewidx == 0 ? "<th>복제</th>" : "")
|
@Html.Raw(Model.viewidx == 0 ? "<th>복제</th>" : "")
|
||||||
</tr>
|
</tr>
|
||||||
|
|
@ -172,22 +173,23 @@
|
||||||
{
|
{
|
||||||
foreach (var item in Model.CMs)
|
foreach (var item in Model.CMs)
|
||||||
{
|
{
|
||||||
<tr>
|
<tr>
|
||||||
@*@if (Model.viewidx == 0)
|
@*@if (Model.viewidx == 0)
|
||||||
{
|
{
|
||||||
<td><input type="checkbox" class="autocheck" value="@item.cmno" /></td>
|
<td><input type="checkbox" class="autocheck" value="@item.cmno" /></td>
|
||||||
}*@
|
}*@
|
||||||
<td>@item.rnorvt</td>
|
<td>@item.rnorvt</td>
|
||||||
@*<td>@Html.Raw(Model.addstringval.Contains("," + item.cmno + ",") ? "" : string.Format("<input type=\"checkbox\" class=\"autocheck\" value=\"{0}\" />", item.cmno))</td>*@
|
@*<td>@Html.Raw(Model.addstringval.Contains("," + item.cmno + ",") ? "" : string.Format("<input type=\"checkbox\" class=\"autocheck\" value=\"{0}\" />", item.cmno))</td>*@
|
||||||
<td>@item.cmno</td>
|
<td>@item.cmno</td>
|
||||||
<td>@item.tmname</td>
|
<td>@item.tmname</td>
|
||||||
<td>@item.pcgname</td>
|
<td>@item.pcgname</td>
|
||||||
<td>@item.cgname</td>
|
<td>@item.cgname</td>
|
||||||
<td>@item.cshapename</td>
|
<td>@item.cshapename</td>
|
||||||
<td class="link cname"><a href="#" onclick="reg(@item.cmno)">@item.cname (@item.classno)</a></td>
|
<td class="link cname"><a href="#" onclick="reg(@item.cmno)">@item.cname (@item.classno)</a></td>
|
||||||
<td class="link text-center"><a href="#" onclick="golect(@item.cmno)">@Model.Datas.Where(w => w.intval == item.cmno).Select(w => w.intval2).FirstOrDefault()</a></td>
|
<td>@Html.Raw(item.quota == 0? "무제한": item.quota.ToString())</td>
|
||||||
<td class="link text-center"><a href="#" onclick="copycm(@item.cmno, '@item.cname', @item.pcgno, @item.cgno, @item.pcmno, this)">[복제]</a></td>
|
<td class="link text-center"><a href="#" onclick="golect(@item.cmno)">@Model.Datas.Where(w => w.intval == item.cmno).Select(w => w.intval2).FirstOrDefault()</a></td>
|
||||||
</tr>
|
<td class="link text-center"><a href="#" onclick="copycm(@item.cmno, '@item.cname', @item.pcgno, @item.cgno, @item.pcmno, this)">[복제]</a></td>
|
||||||
|
</tr>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue