This commit is contained in:
parent
a01e95516f
commit
a158e681e4
|
|
@ -829,6 +829,7 @@ namespace NP.BO.Controllers
|
||||||
DateTime.Now.AddMonths(-2).ToString("yyyy-MM-dd");
|
DateTime.Now.AddMonths(-2).ToString("yyyy-MM-dd");
|
||||||
vm.Lects = Dao.Get<Lect>("lect.lecture.document", ht);
|
vm.Lects = Dao.Get<Lect>("lect.lecture.document", ht);
|
||||||
vm.pagetotalcount = GetCount(vm.Lects.FirstOrDefault());
|
vm.pagetotalcount = GetCount(vm.Lects.FirstOrDefault());
|
||||||
|
|
||||||
return View(vm);
|
return View(vm);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -875,6 +876,19 @@ namespace NP.BO.Controllers
|
||||||
vm.DocumentList = Dao.Get<Document>("cr.documnetspast", ht);
|
vm.DocumentList = Dao.Get<Document>("cr.documnetspast", ht);
|
||||||
vm.pagetotalcount = GetCount(vm.DocumentList.FirstOrDefault());
|
vm.pagetotalcount = GetCount(vm.DocumentList.FirstOrDefault());
|
||||||
|
|
||||||
|
if (vm.isexceldown == 1)
|
||||||
|
{
|
||||||
|
vm.DocumentList = Dao.Get<Document>("cr.documnetspast", ht);
|
||||||
|
return ExportExcel(
|
||||||
|
new String[] { "구분","과정분류","교육유형","이름","주민번호","기술인분류","교육구분","교육목적","등급","직무분야","과정명","수료번호","업체명","업체주소","사업자등록번호",
|
||||||
|
"고용보험관리번호","업태","종목","대표자","교육시작일","교육종료일","교육이수시간","소속협회","학력","직위","교육생연락처","업체담당자","업체담당당자 연락처","교육비",
|
||||||
|
"환급액","환급은행명","환급계좌" ,"환급계좌예금주","계산서이메일","교육연도"},
|
||||||
|
new String[] { "kind", "cg", "cshape", "username", "userpno", "typeman", "edukind", "typeedu", "typegrade", "typejob", "cgname", "completeno", "companyname",
|
||||||
|
"companyaddr", "brno", "eino", "btype", "bkind", "ceoname", "ssdate","sedate","sctime","assign","slevel","uduty","phone","mname","mphone",
|
||||||
|
"sprice","rprice","rbank","rbankno","rbankuser","taxemail","syear"},
|
||||||
|
vm.DocumentList,
|
||||||
|
"증빙서류출력(과거)");
|
||||||
|
}
|
||||||
return View(vm);
|
return View(vm);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -98,6 +98,8 @@
|
||||||
</section>
|
</section>
|
||||||
<div style="text-align: right; border-bottom: 1px solid #ddd; padding-bottom: 5px;">
|
<div style="text-align: right; border-bottom: 1px solid #ddd; padding-bottom: 5px;">
|
||||||
<button class="btn btn-default btn-s-xs" type="button" onclick="javascript:submit();"><i class="fa fa-search"></i></button>
|
<button class="btn btn-default btn-s-xs" type="button" onclick="javascript:submit();"><i class="fa fa-search"></i></button>
|
||||||
|
<a href="#" onclick="javascript:exceldown('mform', '/croom/documentspast', 'tbody1', 'DocumentsPast');" class="btn btn-default btn-s-xs" style="margin-left: 5px;">엑셀다운로드</a>
|
||||||
|
|
||||||
</div><br />
|
</div><br />
|
||||||
<div class="tar buttonbox">
|
<div class="tar buttonbox">
|
||||||
@Html.Partial("./Partial/pagerow", new ViewDataDictionary { { "tbodyid", "tbody1" }, { "searchmethod", "submit()" }, { "pagesize", Model.pagerowcount } })
|
@Html.Partial("./Partial/pagerow", new ViewDataDictionary { { "tbodyid", "tbody1" }, { "searchmethod", "submit()" }, { "pagesize", Model.pagerowcount } })
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue