@ -14,115 +14,8 @@
List<Dictionary<string, object>> TrainingDic = ViewBag.TrainingDic;
Dictionary<string, bool?> StatementDic = ViewBag.StatementDic;
}
<style type="text/css">
body {
color: #000000d9;
font-size: 14px;
font-family: Noto Sans SC, PingFang SC, tahoma, arial, Hiragino Sans GB, Hiragino Sans GB W3, Microsoft Yahei, STHeitiSC-Light, Helvetica-Light, sans-serif !important;
page-break-before: always;
}
<link rel="stylesheet" href="@ViewBag.CssUrl">
.ghr-preview-staff-info .pageContainer {
background-color: #fff;
overflow-y: auto;
}
.ghr-preview-staff-info .pageContainer .a4page {
width: 794px;
/* padding: 40px; */
box-sizing: border-box;
/* page-break-after: always; */
}
.pageContainer .a4page.displayMode {
margin: 20px auto;
/* border: 1px #d3d3d3 solid;
box-shadow: 0 0 5px #0000001a; */
/* display: flex; */
flex-wrap: wrap;
}
.ghr-preview-staff-base-info .staffPhoto {
width: 100px;
height: 100px;
display: inline-block;
vertical-align: top;
position: relative;
}
.ghr-preview-staff-base-info .staffPhoto img {
width: 100%;
height: 100%;
-o-object-fit: contain;
object-fit: contain;
}
.ghr-preview-staff-base-info .staffBaseInfo {
height: 100px;
display: inline-block;
vertical-align: top;
padding-left: 25px;
}
.ghr-preview-staff-base-info .staffBaseInfo .staffName {
font-size: 20px;
margin-top: 10px;
}
.ghr-preview-staff-base-info .staffBaseInfo .staffEName {
font-size: 16px;
color: #5d5d5d;
}
.ghr-preview-staff-base-info .staffBaseInfo .staffHumanResourcesMsg {
font-size: 16px;
color: #5d5d5d;
margin-top: 15px;
}
.ghr-preview-staff-resume-title {
height: 26px;
line-height: 26px;
font-size: 18px;
color: #242424;
margin: 10px 0;
border-left: 2px solid #ff9300;
padding-left: 15px;
width: 100%
}
.ghr-preview-staff-resume-block-item {
width: 50%;
display: inline-block;
vertical-align: top;
min-height: 25px;
word-break: break-all;
line-height: 25px;
margin: 5px 0;
}
.ghr-preview-staff-resume-block-item .label {
width: 150px;
display: inline-block;
vertical-align: top;
height: 25px;
line-height: 25px;
text-align: right;
}
.ghr-preview-staff-resume-block-item .itemValue {
display: inline-block;
vertical-align: top;
min-height: 25px;
line-height: 25px;
}
.page-break-inside {
page-break-inside: avoid;
}
</style>
<div class="ghr-preview-staff-info">
<div class="pageContainer">
@ -368,6 +261,7 @@
@item.tabName
</div>
}
<div style="float:left;width:80%;padding-left: 10px;color: #ff9300;">员工本人声明(本人填写、提供的资料,是真实的、可靠的。如有虚假,则所签订的劳动合同将自动作废,由此产生的一切后果由本人负责。)</div>
if (item.children != null && item.children.Any())
foreach (var children in item.children)
@ -375,22 +269,26 @@
if (ii > 0)
{
<div style="margin-top:20 px;width:100%;float:left;"></div>
<div style="margin-top:5 px;width:100%;float:left;"></div>
}
<div class="ghr-preview-staff-resume-block-item" id="Base-0-StaffName" style="display: flex;width:80%">
<div class="itemValue" style="width:80%">@(ii + 1). @(children.placeholder):</div>
<div class="label" style="width:20%">
@{
ii++;
if (StatementDic.ContainsKey("Statement" + ii))
{
if (StatementDic["Statement" + ii] != null)
if (StatementDic["Statement" + ii] == true)
@("是")
else
@("否")
<div class="itemValue" style="float: left;width: 75%;">
<p style="margin: 0;padding: 10px;">
@(ii + 1). @(children.placeholder): @{
ii++;
if (StatementDic.ContainsKey("Statement" + ii))
{
if (StatementDic["Statement" + ii] != null)
if (StatementDic["Statement" + ii] == true)
@("是")
else
@("否")
}
}
}
</p>
</div>
<div class="label" style="float: left;width: 25%;">
</div>
</div>
}