@model NP.Model.VMCM @{ int studyplaceseq = 0; int tempInt = 0; int index = 0; }
기본설정
@Html.Partial("./Partial/Radio", Model.ComCodes.Where(w => w.cgroup == "studyplace"), new ViewDataDictionary() { { "checked", Model.CM.studyplace }, { "name", "CM.studyplace" }, { "isreadonly", 1 } })
@Html.Partial("./Partial/Radio", null, new ViewDataDictionary() { { "valuetext", "1:온라인;0:교육장" }, { "checked", 0 }, { "name", "isonline" } })
회차등록
교육회차등록
@if (Model.CMInnings.Count() > 0) { foreach (var item in Model.CMInnings) { } }
회차 학습방식 강의주제 최근수정일
@item.iseq @(item.istaste == 1 ? "(S)" : "") @item.scdtypename @item.udtymd
@{ long cmino = 0; if (Model.CMInningscds.Count() > 0) { cmino = Model.CMInningscds.First().cmino; } }
일정등록
교육일정등록
@if (Model.CMInningscds.Count() > 0) { foreach (var item in Model.CMInningscds.OrderByDescending(c => c.estart)) { tempInt = Model.CMInningscds2.Where(c => c.cmino == item.cmino && c.cmisno == item.cmisno && c.intv1 == 2).Count(); } }
순서 운영기수 교육장소 교육종료일 제한인원 등록인원(완료/대기/출결완료) 최근수정일
@item.scdseq @item.sseq @item.studyplacename @item.quotastr @item.regmem / @item.zstring0 / @tempInt @item.udt
@Html.Partial("./Partial/DForm", Model, new ViewDataDictionary { { "preform", 1 } })

회차등록/수정닫기

@*20220725 교육유형이 오프라인인 경우 학습방식 변경 불가*@ @if (Model.CM.cshape == 1) { } else { }
학습방식@Html.Partial("./Partial/Radio", null, new ViewDataDictionary() { { "valuetext", "0:오프라인;1:온라인대체" }, { "disabled", "disabled" }, { "checked", 0 }, { "name", "scdtype" } })@Html.Partial("./Partial/Radio", null, new ViewDataDictionary() { { "valuetext", "0:오프라인;1:온라인대체" }, { "checked", 0 }, { "name", "scdtype" } })
회차(순서) @Html.TextBox("iseq", "", new { @class = "form-control disp-init int nocomma text-center", @style = "width: 80px;", @maxlength = "3" })
저장 삭제


일정등록/수정닫기

@*20220725 교육유형이 오프라인인 경우 From~To 형태로 기재*@ @if (Model.CM.cshape == 1) { } else { // pms 7022 시/분 제거 }
운영기수 @Html.TextBox("sseq", "", new { @class = "form-control disp-init int nocomma text-center", @style = "width: 80px;", @maxlength = "3" }) 기
교육종료일 @Html.Partial("./Partial/Date", (DateTime?)null, new ViewDataDictionary { { "name", "iestart" } }) ~ @Html.Partial("./Partial/Date", (DateTime?)null, new ViewDataDictionary { { "name", "ieend" } }) @Html.Partial("./Partial/Date", (DateTime?)null, new ViewDataDictionary { { "name", "idate" } }) @*@Html.Partial("./Partial/Select", "", new ViewDataDictionary { { "special", "fromto" }, { "name", "isth" }, { "start", 0 }, { "end", 23 }, { "textadd", "시" }, { "df", ":-시" }, { "class", "disp-init idoff" }, { "style", "width: 80px;" } }) @Html.Partial("./Partial/Select", "", new ViewDataDictionary { { "special", "fromto" }, { "name", "istm" }, { "start", 0 }, { "end", 59 }, { "textadd", "분" }, { "df", ":-분" }, { "class", "disp-init idoff" }, { "style", "width: 80px;" } }) ~ @Html.Partial("./Partial/Select", "", new ViewDataDictionary { { "special", "fromto" }, { "name", "ieth" }, { "start", 0 }, { "end", 23 }, { "textadd", "시" }, { "df", ":-시" }, { "class", "disp-init idoff" }, { "style", "width: 80px;" } }) @Html.Partial("./Partial/Select", "", new ViewDataDictionary { { "special", "fromto" }, { "name", "ietm" }, { "start", 0 }, { "end", 59 }, { "textadd", "분" }, { "df", ":-분" }, { "class", "disp-init idoff" }, { "style", "width: 80px;" } })*@
교육장소 @foreach (var item in Model.ComCodes.Where(w => w.cgroup == "studyplace")) { studyplaceseq++; }
제한인원 @Html.TextBox("iquota", "", new { @class = "form-control disp-init int nocomma text-center", @style = "width: 80px;", @maxlength = "5" })
안내문구 @Html.TextBox("icomment", "", new { @class = "form-control disp-init", @style = "width: 98%;", @maxlength = "30" })
교강사 @foreach (var item in Model.Datas.Where(w => w.dtype == 1)) { index = index + 1; if ((index) % 5 == 0) { @: } }
저장 삭제


@section styles{ } @section scriptsHeader{ @Html.Partial("./Partial/ScriptDate") } @section scripts{ }