This commit is contained in:
parent
3c1555c4e8
commit
22e381106f
|
|
@ -5,10 +5,11 @@
|
|||
@if (Model.viewname == "user")
|
||||
{
|
||||
<li class="@(Model.tabidx == 1 ? "active" : "")"><a href="#" onclick="gotab(1);" data-toggle="tab">교육이력</a></li>
|
||||
<li class="@(Model.tabidx == 3 ? "active" : "")"><a href="#" onclick="gotab(3);" data-toggle="tab">교육이력</a></li>
|
||||
}
|
||||
else if (Model.viewname == "professor")
|
||||
{
|
||||
<li class="@(Model.tabidx == 1 ? "active" : "")"><a href="#" onclick="gotab(2);" data-toggle="tab">강의이력</a></li>
|
||||
<li class="@(Model.tabidx == 2 ? "active" : "")"><a href="#" onclick="gotab(2);" data-toggle="tab">강의이력</a></li>
|
||||
}
|
||||
</ul>
|
||||
</div>
|
||||
|
|
@ -292,6 +293,41 @@
|
|||
<a href="#" class="btn btn-default" onclick="golist();">목록</a>
|
||||
</div>
|
||||
</section>
|
||||
<section class="panel panel-default" id="boardbox" style="display: none;">
|
||||
<div class="table-responsive" id="excel3">
|
||||
<table class="table table-striped b-t b-light">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="20">No</th>
|
||||
<th>기수</th>
|
||||
<th>과정분류</th>
|
||||
<th>강좌명(분반)</th>
|
||||
<th>강의기간</th>
|
||||
<th>강의료</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="data" id="tbody3">
|
||||
@foreach (var item in Model.CMPRs)
|
||||
{
|
||||
<tr>
|
||||
<td>@item.rnorvt</td>
|
||||
<td>@item.tmname</td>
|
||||
<td>@item.cgname</td>
|
||||
<td class="text-left">@item.cname (@item.classno)</td>
|
||||
<td>@string.Format("{0} ~{1}", item.sstime == null ? "" : item.sstime.Value.ToString("yy-MM-dd"), item.setime == null ? "" : item.setime.Value.ToString("yy-MM-dd"))</td>
|
||||
<td><input type="text" class="pfee form-control int text-right" data-cmno="@item.cmno" value="@item.pfee.ToString("#,0")" /></td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="botfixempty"> </div>
|
||||
<div class="form-group botfix">
|
||||
<a href="#" class="btn btn-primary" onclick="savepfee();">저장</a>
|
||||
<a href="#" class="btn btn-select" onclick="prt();">인쇄</a>
|
||||
<a href="#" class="btn btn-default" onclick="golist();">목록</a>
|
||||
</div>
|
||||
</section>
|
||||
<form id="dform" method="post" action="/user/@(Model.viewname)s">
|
||||
@Html.Partial("./Partial/DForm", Model, new ViewDataDictionary { { "preform", 1 } })
|
||||
</form>
|
||||
|
|
@ -314,10 +350,11 @@
|
|||
@section scripts{
|
||||
<script>
|
||||
function gotab(idx) {
|
||||
$("#lectbox, #regbox, #profbox").hide();
|
||||
$("#lectbox, #regbox, #profbox, #boardbox").hide();
|
||||
if (idx == 0) { $("#regbox").show(); }
|
||||
else if (idx == 1) { $("#lectbox").show(); }
|
||||
else if (idx == 2) { $("#profbox").show(); }
|
||||
else if (idx == 2) { $("#boardbox").show(); }
|
||||
}
|
||||
function bindAssign(data) {
|
||||
var v = data.split(':')[0];
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
|
|
@ -1471,4 +1471,13 @@ create table smsauth (
|
|||
lectno bigint(20) NOT NULL,
|
||||
latime datetime NOT NULL DEFAULT current_timestamp(),
|
||||
lakey varchar(6) NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
create table councel (
|
||||
bno int auto_increment not null,
|
||||
userno int not null,
|
||||
bldgcat smallint not null,
|
||||
qtext mediumtext DEFAULT NULL,
|
||||
atext mediumtext DEFAULT NULL,
|
||||
,cdt datetime not null,cno bigint not NULL,udt datetime not null,uno bigint not NULL,uip varchar(50) not NULL
|
||||
,primary key(bno));
|
||||
|
|
@ -208,6 +208,8 @@ alter table paytaxitem add constraint foreign key fkpaytaxitempayitem (pino) ref
|
|||
alter table edub2b add constraint foreign key fkedub2bu (userno) references users(userno);
|
||||
alter table edub2b add constraint foreign key fkedub2bfg (fgno) references filegroup(fgno);
|
||||
|
||||
alter table councel add constraint foreign key fkcounceluserno (userno) references users(userno);
|
||||
alter table councel add constraint foreign key fkcouncelccast (bldgcat) references comcode(ccode);
|
||||
|
||||
|
||||
alter table assign add unique index uiassignascode(ascode);
|
||||
|
|
@ -218,4 +220,4 @@ alter table boardmaster add unique index uiboardmaster (bmcode);
|
|||
|
||||
alter table users add unique index uiusersuserid(userid);
|
||||
alter table users add unique index uiusersemail(email);
|
||||
alter table ct add unique index uictccode(ccode);
|
||||
alter table ct add unique index uictccode(ccode);
|
||||
|
|
|
|||
|
|
@ -55,5 +55,12 @@ insert into comcode(cname, cgroup, cgroupname, isuse, corder,refcode,cdt,cno,udt
|
|||
('안전관리','typejob','직무분야',1,7,null,now(),1,now(),1,'127.0.0.1'),
|
||||
('도시교통','typejob','직무분야',1,8,null,now(),1,now(),1,'127.0.0.1'),
|
||||
('전기전자','typejob','직무분야',1,9,null,now(),1,now(),1,'127.0.0.1'),
|
||||
('건설지원','typejob','직무분야',1,10,null,now(),1,now(),1,'127.0.0.1');
|
||||
('건설지원','typejob','직무분야',1,10,null,now(),1,now(),1,'127.0.0.1'),
|
||||
|
||||
('동영상','bldgcat','문의구분',1,1,null,now(),1,now(),1,'127.0.0.1'),
|
||||
('결제','bldgcat','문의구분',1,1,null,now(),1,now(),1,'127.0.0.1'),
|
||||
('환불','bldgcat','문의구분',1,1,null,now(),1,now(),1,'127.0.0.1'),
|
||||
('강의','bldgcat','문의구분',1,1,null,now(),1,now(),1,'127.0.0.1'),
|
||||
('회원','bldgcat','문의구분',1,1,null,now(),1,now(),1,'127.0.0.1'),
|
||||
('기타','bldgcat','문의구분',1,1,null,now(),1,now(),1,'127.0.0.1');
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -186,7 +186,7 @@
|
|||
.lctcWeek th,
|
||||
.lctcWeek td {display:block; width:100%;}
|
||||
.lctcWeek table {border-top:solid 1px #d6d6d6;}
|
||||
.lctcWeek tr {position:relative; padding:15px 0; padding-left:95px; padding-right:70px; border-bottom:solid 1px #d6d6d6;}
|
||||
.lctcWeek tr {position:relative;padding:15px 0; padding-right:70px;border-bottom:solid 1px #d6d6d6;}
|
||||
.lctcWeek th,
|
||||
.lctcWeek td {padding:0; border-top:none; border-bottom:none;}
|
||||
.lctcWeek th {width:80px; position:absolute; left:0; top:15px;}
|
||||
|
|
|
|||
Loading…
Reference in New Issue