This commit is contained in:
parent
631218e24b
commit
80caa003d5
|
|
@ -98,7 +98,7 @@
|
|||
}
|
||||
<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>
|
||||
<div class="col-sm-8 col-md-10">@Html.Partial("./Partial/Radio", Model.CM.cshape, new ViewDataDictionary() { { "valuetext", "0:온라인;1:오프라인;2:혼합(온라인+오프라인)" }, { "checked", Model.CM.cshape }, { "name", "CM.cshape" } })</div>
|
||||
<div class="col-sm-8 col-md-10">@Html.Partial("./Partial/Radio", Model.CM.cshape, new ViewDataDictionary() { { "valuetext", "0:온라인;1:교육장;2:온라인 혼합" }, { "checked", Model.CM.cshape }, { "name", "CM.cshape" } })</div>
|
||||
</div>
|
||||
<div id="divLegalEdu" style="display:none">
|
||||
<div class="line line-dashed line-lg pull-in"></div><div class="form-group">
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
@Html.Partial("./Partial/Radio", Model.ComCodes.Where(w => w.cgroup == "studyplace"), new ViewDataDictionary() { { "checked", Model.CM.studyplace }, { "name", "CM.studyplace" }, { "isreadonly", 1 } })
|
||||
</div>
|
||||
<div style="display:none">
|
||||
@Html.Partial("./Partial/Radio", null, new ViewDataDictionary() { { "valuetext", "1:온라인;0:오프라인" }, { "checked", 0 }, { "name", "isonline" } })
|
||||
@Html.Partial("./Partial/Radio", null, new ViewDataDictionary() { { "valuetext", "1:온라인;0:교육장" }, { "checked", 0 }, { "name", "isonline" } })
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
|||
|
|
@ -87,18 +87,18 @@
|
|||
@if (Model.CM.cshape == 0)
|
||||
{
|
||||
<input type="radio" name="isonline" id="rdoOnline" value="1" checked><label for="rdoOnline">온라인</label>
|
||||
<input type="radio" name="isonline" id="rdoOffline" value="0" disabled><label for="rdoOffline">오프라인</label>
|
||||
<input type="radio" name="isonline" id="rdoOffline" value="0" disabled><label for="rdoOffline">교육장</label>
|
||||
}
|
||||
@if (Model.CM.cshape == 1)
|
||||
{
|
||||
<input type="radio" name="isonline" id="rdoOnline" value="1" disabled><label for="rdoOnline">온라인</label>
|
||||
<input type="radio" name="isonline" id="rdoOffline" value="0" checked><label for="rdoOffline">오프라인</label>
|
||||
<input type="radio" name="isonline" id="rdoOffline" value="0" checked><label for="rdoOffline">교육장</label>
|
||||
}
|
||||
|
||||
@if (Model.CM.cshape == 2)
|
||||
{
|
||||
<input type="radio" name="isonline" id="rdoOnline" value="1" checked><label for="rdoOnline">온라인</label>
|
||||
<input type="radio" name="isonline" id="rdoOffline" value="0" disabled><label for="rdoOffline">오프라인</label>
|
||||
<input type="radio" name="isonline" id="rdoOffline" value="0" disabled><label for="rdoOffline">교육장</label>
|
||||
}
|
||||
@*@Html.Partial("./Partial/Radio", null, new ViewDataDictionary() { { "valuetext", "1:온라인;0:오프라인" }, { "checked", 1 }, { "name", "isonline" } })*@
|
||||
</td>
|
||||
|
|
@ -259,7 +259,7 @@
|
|||
capp("/acommon/cminningsave", { cmino: _cmino, cmno: @Model.CM.cmno, isonline: getrv("isonline"), ititle: getv("ititle"), ctno: $("#contentdatabox li").attr("data-no"), istaste: getrv("istaste"), sttime: getint(val("sttime")), atime: getint(val("atime")), mstime: getint(val("mstime")), metime: getint(val("metime")), userno: val("userno"), iseq: val("iseq") }, "cbcminningsave", null, null,null,true);
|
||||
} else {
|
||||
if (@Model.CM.cshape == 2) {
|
||||
msg2("혼합(온라인 + 오프라인)교육시 오프라인 회차는 등록 할 수 없습니다.");
|
||||
msg2("온라인 혼합 교육시 교육장 회차는 등록 할 수 없습니다.");
|
||||
return;
|
||||
}
|
||||
var data = new FormData();
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@
|
|||
<th>교육유형</th>
|
||||
<td>
|
||||
<div class="col-md-12">
|
||||
@Html.Partial("./Partial/Select", null, new ViewDataDictionary { { "valuetext", "0:온라인;1:오프라인;2:혼합" }, { "name", "stringval3" }, { "selected", Model.stringval3 }, { "style", "width: 100%" }, { "df", ":-유형선택" } })
|
||||
@Html.Partial("./Partial/Select", null, new ViewDataDictionary { { "valuetext", "0:온라인;1:교육장;2:온라인 혼합" }, { "name", "stringval3" }, { "selected", Model.stringval3 }, { "style", "width: 100%" }, { "df", ":-유형선택" } })
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
|||
|
|
@ -189,7 +189,7 @@
|
|||
if (isOK) {
|
||||
educontract(lectnos.substring(1));
|
||||
} else {
|
||||
msg("오프라인교육만 조회하실 수 있습니다.");
|
||||
msg("교육장 교육만 조회하실 수 있습니다.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
{
|
||||
var scdlect = Model.SCDLects.Where(w => w.scdno == i + 1).FirstOrDefault() ?? new NP.Model.SCDLect();
|
||||
<tr data-no="@(i + 1)">
|
||||
<td>작업@(i+1). @(i == 7 ? "오프라인" : i == 8 ? "자격검정" : "온라인/혼합")</td>
|
||||
<td>작업@(i+1). @(i == 7 ? "교육장" : i == 8 ? "자격검정" : "온라인 혼합")</td>
|
||||
<td>@(i < 2 || i > 6 ? "출석" : i == 2 ? "진행평가" : i == 3 ? "최종평가" : i == 4 ? "과제" : i == 5 ? "토론" : i == 6 ? "강의평가" : "-")</td>
|
||||
<td>@(i < 2 ? "진도율 80% 미만" : i == 2 || i == 3 ? "미응시자 대상" : i == 4 || i == 5 ? "미제출자 대상" : i == 6 ? "미참여자 대상" : i == 7 ? "교육일" : i == 8 ? "시험일" : "")</td>
|
||||
<td class="dday">@Html.Partial("./Partial/Select", null, new ViewDataDictionary { { "special", "fromto" }, { "start", 1 }, { "end", 10 }, { "name", "dday" }, { "selected", scdlect.dday } }) 일 남음</td>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
<option value="@t.tmno" @(Model.stringval2 == t.tmno.ToString() ? "selected" : "")>@t.tseq 기</option>
|
||||
}
|
||||
</select>
|
||||
@Html.Partial("./Partial/Select", null, new ViewDataDictionary { { "valuetext", ":-유형선택;0:온라인;1:오프라인;2:혼합" }, { "name", "stringval3" }, { "selected", Model.stringval3 } })
|
||||
@Html.Partial("./Partial/Select", null, new ViewDataDictionary { { "valuetext", ":-유형선택;0:온라인;1:교육장;2:온라인 혼합" }, { "name", "stringval3" }, { "selected", Model.stringval3 } })
|
||||
@Html.Partial("./Partial/Select", null, new ViewDataDictionary { { "valuetext", ":-수료처리여부;3:수료처리;4:수료 미처리" }, { "name", "stringval4" }, { "selected", Model.stringval4 } })
|
||||
@Html.Partial("./Partial/Text", Model.stringval5, Helpers.DicText(new NP.Model.TextDic() { Name = "stringval5", Value = Model.stringval5, PH = "강좌명을 입력하세요.", CssClass = "ff" }))
|
||||
@Html.Partial("./Partial/Button", new NP.Model.Button() { Special = "search" })
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
<option value="@t.tmno" @(Model.stringval2 == t.tmno.ToString() ? "selected" : "")>@t.tseq 기</option>
|
||||
}
|
||||
</select>
|
||||
@Html.Partial("./Partial/Select", null, new ViewDataDictionary { { "valuetext", ":-유형선택;0:온라인;1:오프라인;2:혼합" }, { "name", "stringval3" }, { "selected", Model.stringval3 } })
|
||||
@Html.Partial("./Partial/Select", null, new ViewDataDictionary { { "valuetext", ":-유형선택;0:온라인;1:교육장;2:온라인 혼합" }, { "name", "stringval3" }, { "selected", Model.stringval3 } })
|
||||
<br /><br />
|
||||
교육기간 @Html.Partial("./Partial/Date", string.IsNullOrEmpty(Model.stringval5) ? (DateTime?)null : Convert.ToDateTime(Model.stringval5), new ViewDataDictionary { { "name", "stringval5" } }) ~ @Html.Partial("./Partial/Date", string.IsNullOrEmpty(Model.stringval6) ? (DateTime?)null : Convert.ToDateTime(Model.stringval6), new ViewDataDictionary { { "name", "stringval6" } })
|
||||
@Html.Partial("./Partial/Text", Model.stringval4, Helpers.DicText(new NP.Model.TextDic() { Name = "stringval4", Value = Model.stringval4, PH = "강좌명을 입력하세요.", CssClass = "ff" }))
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@
|
|||
<td class="text-left">
|
||||
@Html.HiddenFor(m => m.stringval14)
|
||||
@*@Html.Partial("./Partial/Select", null, new ViewDataDictionary { { "valuetext", ":상품구분;0:강좌;1:패키지;2:교재;3:시험;4:자격증강좌" }, { "name", "stringval11" }, { "selected", Model.stringval11 } })*@
|
||||
@Html.Partial("./Partial/Select", null, new ViewDataDictionary { { "valuetext", ":상품유형;0:온라인;1:오프라인;2:혼합" }, { "name", "stringval12" }, { "selected", Model.stringval12 } })
|
||||
@Html.Partial("./Partial/Select", null, new ViewDataDictionary { { "valuetext", ":상품유형;0:온라인;1:교육장;2:온라인 혼합" }, { "name", "stringval12" }, { "selected", Model.stringval12 } })
|
||||
@Html.Partial("./Partial/Select", Model.CGs, new ViewDataDictionary { { "name", "stringval13" }, { "selected", Model.stringval13 }, { "df", ":-과정분류" } })
|
||||
<label><input type="checkbox" name="rebate" value="1" @(sv14.Contains(",1,") ? "checked" : "") /> 환급</label>
|
||||
<label><input type="checkbox" name="rebate" value="0" @(sv14.Contains(",0,") ? "checked" : "") /> 비환급</label>
|
||||
|
|
|
|||
|
|
@ -205,7 +205,7 @@ else if (p.isunpay == 3)
|
|||
@if (p.isgroup == 1 && pi.Where(w => w.ptype == 0).Count() > 1)
|
||||
{
|
||||
<section class="panel panel-default">
|
||||
<header class="panel-heading"><strong><i class="fa fa-bars"></i> 오프라인강의(단과) 단체수강 교육생정보<span class=""></span></strong></header>
|
||||
<header class="panel-heading"><strong><i class="fa fa-bars"></i> 교육장 강의(단과) 단체수강 교육생정보<span class=""></span></strong></header>
|
||||
<table class="regtable" style="margin-top: 0;">
|
||||
<thead>
|
||||
<tr><th>이름(ID)</th><th>회사</th><th>사업장과의관계</th><th>부서/직위</th><th>회사전화번호</th><th>휴대전화번호</th><th>공정거래업무경력</th></tr>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
<option value="@t.tmno" @(Model.stringval2 == t.tmno.ToString() ? "selected" : "")>@t.tseq 기</option>
|
||||
}
|
||||
</select>
|
||||
@Html.Partial("./Partial/Select", null, new ViewDataDictionary { { "valuetext", ":-유형선택;0:온라인;1:오프라인;2:혼합" }, { "name", "stringval3" }, { "selected", Model.stringval3 } })
|
||||
@Html.Partial("./Partial/Select", null, new ViewDataDictionary { { "valuetext", ":-유형선택;0:온라인;1:교육장;2:온라인 혼합" }, { "name", "stringval3" }, { "selected", Model.stringval3 } })
|
||||
@Html.Partial("./Partial/Select", null, new ViewDataDictionary { { "valuetext", ":-유형선택;0:강의평가;1:사전설문" }, { "name", "stringval4" }, { "selected", Model.stringval4 } })
|
||||
@Html.Partial("./Partial/Text", Model.stringval5, Helpers.DicText(new NP.Model.TextDic() { Name = "stringval5", Value = Model.stringval5, PH = "강좌명을 입력하세요.", CssClass = "ff" }))
|
||||
@Html.Partial("./Partial/Button", new NP.Model.Button() { Special = "search" })
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
@*<li class="@(Model.tabidx == 2 ? "active" : "")"><a href="#" onclick="gotab(2);" data-toggle="tab">계열별</a></li>*@
|
||||
@*<li class="@(Model.tabidx == 3 ? "active" : "")"><a href="#" onclick="gotab(3);" data-toggle="tab">직급별</a></li>*@
|
||||
<li class="@(Model.tabidx == 0 ? "active" : "")"><a href="#" onclick="gotab(0);" data-toggle="tab">온라인</a></li>
|
||||
<li class="@(Model.tabidx == 6 ? "active" : "")"><a href="#" onclick="gotab(6);" data-toggle="tab">온라인혼합</a></li>
|
||||
<li class="@(Model.tabidx == 6 ? "active" : "")"><a href="#" onclick="gotab(6);" data-toggle="tab">온라인 혼합</a></li>
|
||||
<li class="@(Model.tabidx == 7 ? "active" : "")"><a href="#" onclick="gotab(7);" data-toggle="tab">교육장</a></li>
|
||||
<li class="@(Model.tabidx == 4 ? "active" : "")"><a href="#" onclick="gotab(4);" data-toggle="tab">RawData</a></li>
|
||||
</ul>
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
<option value="@t.tmno" @(Model.stringval2 == t.tmno.ToString() ? "selected" : "")>@t.tseq 기</option>
|
||||
}
|
||||
</select>
|
||||
@Html.Partial("./Partial/Select", null, new ViewDataDictionary { { "valuetext", "0:온라인;1:오프라인;2:혼합" }, { "name", "stringval3" }, { "selected", Model.stringval3 }, { "df", ":-유형선택" } })
|
||||
@Html.Partial("./Partial/Select", null, new ViewDataDictionary { { "valuetext", "0:온라인;1:교육장;2:온라인 혼합" }, { "name", "stringval3" }, { "selected", Model.stringval3 }, { "df", ":-유형선택" } })
|
||||
@Html.Partial("./Partial/Select", Model.CGs.Where(w => w.pcgno == null), new ViewDataDictionary { { "name", "stringval4" }, { "selected", Model.stringval4 }, { "style", "width: 100%" }, { "df", ":-상위분류" } })
|
||||
@Html.Partial("./Partial/Select", Model.CGs.Where(w => w.pcgno != null && w.pcgno.ToString() == Model.stringval4), new ViewDataDictionary { { "name", "stringval5" }, { "selected", Model.stringval5 }, { "style", "width: 100%;" }, { "df", ":-과정분류" } })
|
||||
@Html.Partial("./Partial/Button", new NP.Model.Button() { Special = "search", OnClick = "" })
|
||||
|
|
|
|||
14
Model/CM.cs
14
Model/CM.cs
|
|
@ -275,14 +275,14 @@ namespace NP.Model
|
|||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 강의유형 0: 온라인, 1: 오프라인, 2: 혼합(온+오프)
|
||||
/// 강의유형 0: 온라인, 1: 교육장, 2: 혼합(온+오프)
|
||||
/// </summary>
|
||||
public int cshape {get;set;}
|
||||
public String cshapename
|
||||
{
|
||||
get
|
||||
{
|
||||
return cshape == 0 ? "온라인" : cshape == 1 ? "오프라인" : cshape == 2 ? "혼합" : "-";
|
||||
return cshape == 0 ? "온라인" : cshape == 1 ? "교육장" : cshape == 2 ? "온라인 혼합" : "-";
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
|
|
@ -507,7 +507,7 @@ namespace NP.Model
|
|||
/// </summary>
|
||||
public int iseq {get;set;}
|
||||
/// <summary>
|
||||
/// 학습방식 0:오프라인,1:온라인
|
||||
/// 학습방식 0:교육장,1:온라인
|
||||
/// </summary>
|
||||
public int isonline {get;set;}
|
||||
public String tasteurl { get; set; }
|
||||
|
|
@ -515,7 +515,7 @@ namespace NP.Model
|
|||
{
|
||||
get
|
||||
{
|
||||
return isonline == 0 ? "오프라인" : "온라인";
|
||||
return isonline == 0 ? "교육장" : "온라인";
|
||||
}
|
||||
}
|
||||
public String isonlinename2
|
||||
|
|
@ -635,7 +635,7 @@ namespace NP.Model
|
|||
{
|
||||
get
|
||||
{
|
||||
return cshape == 0 ? "온라인" : cshape == 1 ? "오프라인" : cshape == 2 ? "혼합" : "-";
|
||||
return cshape == 0 ? "온라인" : cshape == 1 ? "교육장" : cshape == 2 ? "온라인 혼합" : "-";
|
||||
}
|
||||
}
|
||||
public Int64 lectno { get; set; }
|
||||
|
|
@ -1113,7 +1113,7 @@ namespace NP.Model
|
|||
{
|
||||
get
|
||||
{
|
||||
return cshape == 0 ? "온라인" : cshape == 1 ? "교육장" : cshape == 2 ? "온라인" : "-";
|
||||
return cshape == 0 ? "온라인" : cshape == 1 ? "교육장" : cshape == 2 ? "온라인 혼합" : "-";
|
||||
}
|
||||
}
|
||||
public String cshapename2 { get; set; }
|
||||
|
|
@ -2254,7 +2254,7 @@ namespace NP.Model
|
|||
{
|
||||
get
|
||||
{
|
||||
return cshape == 0 ? "온라인" : cshape == 1 ? "오프라인" : cshape == 2 ? "혼합" : "-";
|
||||
return cshape == 0 ? "온라인" : cshape == 1 ? "교육장" : cshape == 2 ? "온라인 혼합" : "-";
|
||||
}
|
||||
}
|
||||
public String cgname { get; set; }
|
||||
|
|
|
|||
Loading…
Reference in New Issue