149 lines
6.8 KiB
Plaintext
149 lines
6.8 KiB
Plaintext
@model NP.Model.VMMM
|
|
<form id="mform" method="post">
|
|
<br />
|
|
<div class="rowvm" style="border: 1px solid #ddd; padding: 10px; margin-top: 1px;">
|
|
<a href="#" onclick="days(0)" class="btn btn-md btn-info">오늘</a>
|
|
<a href="#" onclick="days(-1)" class="btn btn-md btn-default botbd">< 이전</a>
|
|
<span style="color: #0094ff; font-weight: bold; font-size: 18px; vertical-align: middle;">@Model.WStartDay.Value.ToShortDateString() ~ @Model.WStartDay.Value.AddDays(6).ToShortDateString()</span>
|
|
<a href="#" onclick="days(1)" class="btn btn-md btn-default botbd">다음 ></a>
|
|
</div>
|
|
<br />
|
|
<div class="buttonbox" style="height: 30px; line-height: 30px;"><strong><i class="fa fa-bars"></i> New Candidate ( <span style="background-color: #ffef99; display: inline-block; width: 20px; height: 20px; vertical-align: middle;"> </span> : 관심회원 )</strong></div>
|
|
<section class="panel panel-default">
|
|
<div class="table-responsive" id="excel1">
|
|
<table class="table table-striped b-t b-light">
|
|
<thead>
|
|
<tr>
|
|
<th>내부(컨설턴트등록)</th>
|
|
<th>홈페이지</th>
|
|
<th>스크랩</th>
|
|
<th>외부기관</th>
|
|
<th>명함</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="data" id="tbody1">
|
|
<tr>
|
|
<td>@Model.Users.Where(w => w.UserType == 1).Count().ToString("#,0")</td>
|
|
<td>@Model.Users.Where(w => w.UserType == 3).Count().ToString("#,0")</td>
|
|
<td>@Model.Users.Where(w => w.UserType == 2).Count().ToString("#,0")</td>
|
|
<td>@Model.Users.Where(w => w.UserType == 5).Count().ToString("#,0")</td>
|
|
<td>@Model.Users.Where(w => w.UserType == 4).Count().ToString("#,0")</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</section>
|
|
<section class="panel panel-default">
|
|
<div class="table-responsive" id="excel2">
|
|
<table class="table table-striped b-t b-light">
|
|
<thead>
|
|
<tr>
|
|
<th>@(Model.StringVal21 == null ? "↑" : "") 구분</th>
|
|
<th>Name(Gender)</th>
|
|
<th>D.O.B(Age)</th>
|
|
<th>Company Name / Career Keyword</th>
|
|
<th>School</th>
|
|
<th>Source</th>
|
|
<th><a href="#" onclick="orderchange()" class="link">@(Model.StringVal21==null?"":Model.StringVal21 == "b.udt" ? "↑" : "↓") Ups</a></th>
|
|
<th>Attach</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="data" id="tbody2">
|
|
@foreach (var item in Model.Users)
|
|
{
|
|
<tr class="@(item.IsSpecial == 1?"special":"")">
|
|
<td>@item.UserTypeName</td>
|
|
<td><a href="#" class="link" onclick="viewuser(@item.UserNo, '', true)">@item.UserName (@item.SexName)</a></td>
|
|
<td>@item.BirthAge</td>
|
|
<td>@item.CompanyNameKeyword</td>
|
|
<td>@item.SchoolName</td>
|
|
<td>@item.DBSrcName</td>
|
|
<td>@item.UDT1</td>
|
|
<td>
|
|
@Html.Raw((item.FGNo ?? 0) < 1 || Model.FileList.Where(w => w.FGNo == item.FGNo.Value).Count() < 1 ? "" : ("<a class=\"link fileview\" href=\"#\" onclick=\"viewfile(this)\">파일(" + Model.FileList.Where(w => w.FGNo == item.FGNo.Value).Count() + ")</a>"))
|
|
<div class="fbox">
|
|
@foreach (var f in Model.FileList.Where(w => w.FGNo == (item.FGNo ?? 0)))
|
|
{
|
|
<a class="link" href="/aCommon/DownFile?fno=@(f.FileNo)" title="다운로드">@f.OrgName</a><br />
|
|
}
|
|
<br /><a class="btn btn-xxs btn-default" href="#" onclick="$('.fbox').hide();">닫기</a>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</section>
|
|
@Html.HiddenFor(m=>m.StringVal21)
|
|
@Html.HiddenFor(m => m.WStartDay)
|
|
@Html.HiddenFor(m => m.TabIdx)
|
|
</form>
|
|
<style type="text/css">
|
|
.bluebold{color: #0094ff; font-weight: bold;}
|
|
.newicon{background-color: #0094ff; color: #fff; padding: 1px 3px; border-radius: 3px;}
|
|
.fa.fa-smile-o{color: #0094ff; font-size: 20px; margin: 0 4px; vertical-align: middle;}
|
|
.fbox {
|
|
position: absolute;
|
|
z-index: 10;
|
|
display: none;
|
|
background-color: #555;
|
|
border: 1px solid #fff;
|
|
padding: 10px 10px;
|
|
text-align: left;
|
|
right: 30px;
|
|
}
|
|
.fbox a {
|
|
color: #fff;
|
|
line-height: 20px;
|
|
}
|
|
|
|
.fbox a.btn-xxs {
|
|
float: right;
|
|
}
|
|
tr.special td {
|
|
background-color: #ffef99 !important;
|
|
}
|
|
</style>
|
|
<script>
|
|
function viewfile(a) {
|
|
$(".fbox").hide();
|
|
$(a).closest("td").find(".fbox").show();
|
|
}
|
|
function admingo(idx) {
|
|
if (idx < 0 && $('#AdminNo').prop("selectedIndex") != '') {
|
|
$('#AdminNo').val($('#AdminNo option').eq($('#AdminNo').prop("selectedIndex") - 1).val());
|
|
submitnew(null, 1, true);
|
|
}
|
|
else if (idx > 0 && ($('#AdminNo').prop("selectedIndex") + 1) < $('#AdminNo option').length) {
|
|
$('#AdminNo').val($('#AdminNo option').eq($('#AdminNo').prop("selectedIndex") + 1).val());
|
|
submitnew(null, 1, true);
|
|
}
|
|
}
|
|
function days(idx) {
|
|
if (idx < 0) {
|
|
$("#WStartDay").val('@(Model.WStartDay.Value.AddDays(-7).ToShortDateString())');
|
|
submitnew(null, 1, true);
|
|
}
|
|
else if (idx > 0) {
|
|
$("#WStartDay").val('@(Model.WStartDay.Value.AddDays(7).ToShortDateString())');
|
|
submitnew(null, 1, true);
|
|
}
|
|
else {
|
|
$("#WStartDay").val('@(DateTime.Now.AddDays(-1 * ((int)DateTime.Now.DayOfWeek - 1)).ToShortDateString())');
|
|
submitnew(null, 1, true);
|
|
}
|
|
}
|
|
function orderchange() {
|
|
if (val("StringVal21") == "") {
|
|
setv("StringVal21", "b.udt");
|
|
}
|
|
else if (val("StringVal21") == "b.udt") {
|
|
setv("StringVal21", "b.udt desc");
|
|
}
|
|
else {
|
|
setv("StringVal21", "");
|
|
}
|
|
submitnew(null, 1, true);
|
|
}
|
|
</script> |