|
|
@ -1,6 +1,8 @@ |
|
|
|
@using Tiobon.Core.Model.ViewModels.Extend |
|
|
|
@using Tiobon.Core.Model.ViewModels.Extend |
|
|
|
@{ |
|
|
|
@{ |
|
|
|
Layout = "~/Views/Shared/_Layout.cshtml"; |
|
|
|
Layout = "~/Views/Shared/_Layout.cshtml"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
string frontUrl = AppSettings.app(["Startup", "FrontUrl"]); |
|
|
|
List<ResumeFormColumn> Columns = ViewBag.Columns; |
|
|
|
List<ResumeFormColumn> Columns = ViewBag.Columns; |
|
|
|
Ghrh_ResumeDto entity = ViewBag.entity; |
|
|
|
Ghrh_ResumeDto entity = ViewBag.entity; |
|
|
|
ViewData["Title"] = entity.StaffName; |
|
|
|
ViewData["Title"] = entity.StaffName; |
|
|
@ -35,10 +37,10 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.pageContainer .a4page.displayMode { |
|
|
|
.pageContainer .a4page.displayMode { |
|
|
|
margin: 10px auto; |
|
|
|
margin: 20px auto; |
|
|
|
/* border: 1px #d3d3d3 solid; |
|
|
|
/* border: 1px #d3d3d3 solid; |
|
|
|
box-shadow: 0 0 5px #0000001a; */ |
|
|
|
box-shadow: 0 0 5px #0000001a; */ |
|
|
|
display: flex; |
|
|
|
/* display: flex; */ |
|
|
|
flex-wrap: wrap; |
|
|
|
flex-wrap: wrap; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -131,11 +133,11 @@ |
|
|
|
if (item.tabKey == "Photo") |
|
|
|
if (item.tabKey == "Photo") |
|
|
|
{ |
|
|
|
{ |
|
|
|
<div class="a4page displayMode page-break-inside" id="pageIndex-0"> |
|
|
|
<div class="a4page displayMode page-break-inside" id="pageIndex-0"> |
|
|
|
<main class="ghr-preview-staff-base-info" id="info"> |
|
|
|
<div class="ghr-preview-staff-base-info" id="info"> |
|
|
|
<div class="staffPhoto"> |
|
|
|
<div class="staffPhoto"> |
|
|
|
@if (!string.IsNullOrEmpty(entity.PhotoUrl)) |
|
|
|
@if (!string.IsNullOrEmpty(entity.PhotoUrl)) |
|
|
|
{ |
|
|
|
{ |
|
|
|
<img src="http://g.tiobon.com/@(entity.PhotoUrl)" alt=""> |
|
|
|
<img src="@frontUrl@entity.PhotoUrl" alt=""> |
|
|
|
} |
|
|
|
} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="staffBaseInfo"> |
|
|
|
<div class="staffBaseInfo"> |
|
|
@ -143,19 +145,19 @@ |
|
|
|
<div class="staffEName">@(entity.ApplyStatusLabel) </div> |
|
|
|
<div class="staffEName">@(entity.ApplyStatusLabel) </div> |
|
|
|
<div class="staffHumanResourcesMsg">经验:@(entity.WorkYears)年工作经验 <span><span> | </span><span>年龄:@(entity.Age)</span> </span><span><span> | </span><span>学历: @(entity.EduDegreeLabel)</span> </span></div> |
|
|
|
<div class="staffHumanResourcesMsg">经验:@(entity.WorkYears)年工作经验 <span><span> | </span><span>年龄:@(entity.Age)</span> </span><span><span> | </span><span>学历: @(entity.EduDegreeLabel)</span> </span></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</main> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
} |
|
|
|
} |
|
|
|
else if (item.tabKey == "Base") |
|
|
|
else if (item.tabKey == "Base") |
|
|
|
{ |
|
|
|
{ |
|
|
|
<div class="a4page displayMode page-break-inside" id="pageIndex-0"> |
|
|
|
<div class="a4page displayMode page-break-inside" id="pageIndex-0"> |
|
|
|
<main class="ghr-preview-staff-resume-title" id="Base"> |
|
|
|
<div class="ghr-preview-staff-resume-title" id="Base" style="float:left;"> |
|
|
|
@item.tabName |
|
|
|
@item.tabName |
|
|
|
</main> |
|
|
|
</div> |
|
|
|
@if (item.children != null && item.children.Any()) |
|
|
|
@if (item.children != null && item.children.Any()) |
|
|
|
@foreach (var children in item.children) |
|
|
|
@foreach (var children in item.children) |
|
|
|
{ |
|
|
|
{ |
|
|
|
<main class="ghr-preview-staff-resume-block-item" id="Base-0-StaffName" style="width:@(children.label=="备注"?"100%": "50%")"> |
|
|
|
<div class="ghr-preview-staff-resume-block-item" id="Base-0-StaffName" style="float:left;width:@(children.label=="备注"?"100%": "50%")"> |
|
|
|
<div class="label">@(children.label):</div> |
|
|
|
<div class="label">@(children.label):</div> |
|
|
|
<div class="itemValue"> |
|
|
|
<div class="itemValue"> |
|
|
|
@{ |
|
|
|
@{ |
|
|
@ -168,7 +170,7 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</main> |
|
|
|
</div> |
|
|
|
} |
|
|
|
} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
@ -180,9 +182,9 @@ |
|
|
|
<div class="a4page displayMode page-break-inside" id="pageIndex-0"> |
|
|
|
<div class="a4page displayMode page-break-inside" id="pageIndex-0"> |
|
|
|
@if (FamilyDic.Count > 0) |
|
|
|
@if (FamilyDic.Count > 0) |
|
|
|
{ |
|
|
|
{ |
|
|
|
<main class="ghr-preview-staff-resume-title" id="Base"> |
|
|
|
<div class="ghr-preview-staff-resume-title" id="Base" style="float:left;"> |
|
|
|
@item.tabName |
|
|
|
@item.tabName |
|
|
|
</main> |
|
|
|
</div> |
|
|
|
} |
|
|
|
} |
|
|
|
@for (var i = 0; i < FamilyDic.Count; i++) |
|
|
|
@for (var i = 0; i < FamilyDic.Count; i++) |
|
|
|
{ |
|
|
|
{ |
|
|
@ -194,7 +196,7 @@ |
|
|
|
{ |
|
|
|
{ |
|
|
|
@foreach (var children in item.children) |
|
|
|
@foreach (var children in item.children) |
|
|
|
{ |
|
|
|
{ |
|
|
|
<main class="ghr-preview-staff-resume-block-item" id="Base-0-StaffName" style="width:@(children.label=="备注"?"100%": "50%")"> |
|
|
|
<div class="ghr-preview-staff-resume-block-item" id="Base-0-StaffName" style="float:left;width:@(children.label=="备注"?"100%": "50%")"> |
|
|
|
<div class="label">@(children.label):</div> |
|
|
|
<div class="label">@(children.label):</div> |
|
|
|
<div class="itemValue"> |
|
|
|
<div class="itemValue"> |
|
|
|
@{ |
|
|
|
@{ |
|
|
@ -207,7 +209,7 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</main> |
|
|
|
</div> |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -220,9 +222,9 @@ |
|
|
|
@{ |
|
|
|
@{ |
|
|
|
if (EducationDic.Count > 0) |
|
|
|
if (EducationDic.Count > 0) |
|
|
|
{ |
|
|
|
{ |
|
|
|
<main class="ghr-preview-staff-resume-title" id="Base"> |
|
|
|
<div class="ghr-preview-staff-resume-title" id="Base" style="float:left;"> |
|
|
|
@item.tabName |
|
|
|
@item.tabName |
|
|
|
</main> |
|
|
|
</div> |
|
|
|
} |
|
|
|
} |
|
|
|
for (var i = 0; i < EducationDic.Count; i++) |
|
|
|
for (var i = 0; i < EducationDic.Count; i++) |
|
|
|
{ |
|
|
|
{ |
|
|
@ -233,7 +235,7 @@ |
|
|
|
if (item.children != null && item.children.Any()) |
|
|
|
if (item.children != null && item.children.Any()) |
|
|
|
foreach (var children in item.children) |
|
|
|
foreach (var children in item.children) |
|
|
|
{ |
|
|
|
{ |
|
|
|
<main class="ghr-preview-staff-resume-block-item" id="Base-0-StaffName" style="width:@(children.label=="备注"?"100%": "50%")"> |
|
|
|
<div class="ghr-preview-staff-resume-block-item" id="Base-0-StaffName" style="float:left;width:@(children.label=="备注"?"100%": "50%")"> |
|
|
|
<div class="label">@(children.label):</div> |
|
|
|
<div class="label">@(children.label):</div> |
|
|
|
<div class="itemValue"> |
|
|
|
<div class="itemValue"> |
|
|
|
@{ |
|
|
|
@{ |
|
|
@ -243,7 +245,7 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</main> |
|
|
|
</div> |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -255,9 +257,9 @@ |
|
|
|
@{ |
|
|
|
@{ |
|
|
|
if (WorkExpDic.Count > 0) |
|
|
|
if (WorkExpDic.Count > 0) |
|
|
|
{ |
|
|
|
{ |
|
|
|
<main class="ghr-preview-staff-resume-title" id="Base"> |
|
|
|
<div class="ghr-preview-staff-resume-title" id="Base" style="float:left;"> |
|
|
|
@item.tabName |
|
|
|
@item.tabName |
|
|
|
</main> |
|
|
|
</div> |
|
|
|
} |
|
|
|
} |
|
|
|
for (var i = 0; i < WorkExpDic.Count; i++) |
|
|
|
for (var i = 0; i < WorkExpDic.Count; i++) |
|
|
|
{ |
|
|
|
{ |
|
|
@ -268,7 +270,7 @@ |
|
|
|
if (item.children != null && item.children.Any()) |
|
|
|
if (item.children != null && item.children.Any()) |
|
|
|
foreach (var children in item.children) |
|
|
|
foreach (var children in item.children) |
|
|
|
{ |
|
|
|
{ |
|
|
|
<main class="ghr-preview-staff-resume-block-item" id="Base-0-StaffName" style="width:@(children.label=="备注"?"100%": "50%")"> |
|
|
|
<div class="ghr-preview-staff-resume-block-item" id="Base-0-StaffName" style="float:left;width:@(children.label=="备注"?"100%": "50%")"> |
|
|
|
<div class="label">@(children.label):</div> |
|
|
|
<div class="label">@(children.label):</div> |
|
|
|
<div class="itemValue"> |
|
|
|
<div class="itemValue"> |
|
|
|
@{ |
|
|
|
@{ |
|
|
@ -278,7 +280,7 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</main> |
|
|
|
</div> |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -291,9 +293,9 @@ |
|
|
|
@{ |
|
|
|
@{ |
|
|
|
if (LicenceDic.Count > 0) |
|
|
|
if (LicenceDic.Count > 0) |
|
|
|
{ |
|
|
|
{ |
|
|
|
<main class="ghr-preview-staff-resume-title" id="Base"> |
|
|
|
<div class="ghr-preview-staff-resume-title" id="Base" style="float:left;"> |
|
|
|
@item.tabName |
|
|
|
@item.tabName |
|
|
|
</main> |
|
|
|
</div> |
|
|
|
} |
|
|
|
} |
|
|
|
for (var i = 0; i < LicenceDic.Count; i++) |
|
|
|
for (var i = 0; i < LicenceDic.Count; i++) |
|
|
|
{ |
|
|
|
{ |
|
|
@ -304,7 +306,7 @@ |
|
|
|
if (item.children != null && item.children.Any()) |
|
|
|
if (item.children != null && item.children.Any()) |
|
|
|
foreach (var children in item.children) |
|
|
|
foreach (var children in item.children) |
|
|
|
{ |
|
|
|
{ |
|
|
|
<main class="ghr-preview-staff-resume-block-item" id="Base-0-StaffName" style="width:@(children.label=="备注"?"100%": "50%")"> |
|
|
|
<div class="ghr-preview-staff-resume-block-item" id="Base-0-StaffName" style="float:left;width:@(children.label=="备注"?"100%": "50%")"> |
|
|
|
<div class="label">@(children.label):</div> |
|
|
|
<div class="label">@(children.label):</div> |
|
|
|
<div class="itemValue"> |
|
|
|
<div class="itemValue"> |
|
|
|
@{ |
|
|
|
@{ |
|
|
@ -314,7 +316,7 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</main> |
|
|
|
</div> |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -326,9 +328,9 @@ |
|
|
|
@{ |
|
|
|
@{ |
|
|
|
if (TrainingDic.Count > 0) |
|
|
|
if (TrainingDic.Count > 0) |
|
|
|
{ |
|
|
|
{ |
|
|
|
<main class="ghr-preview-staff-resume-title" id="Base"> |
|
|
|
<div class="ghr-preview-staff-resume-title" id="Base" style="float:left;"> |
|
|
|
@item.tabName |
|
|
|
@item.tabName |
|
|
|
</main> |
|
|
|
</div> |
|
|
|
} |
|
|
|
} |
|
|
|
for (var i = 0; i < TrainingDic.Count; i++) |
|
|
|
for (var i = 0; i < TrainingDic.Count; i++) |
|
|
|
{ |
|
|
|
{ |
|
|
@ -339,7 +341,7 @@ |
|
|
|
if (item.children != null && item.children.Any()) |
|
|
|
if (item.children != null && item.children.Any()) |
|
|
|
foreach (var children in item.children) |
|
|
|
foreach (var children in item.children) |
|
|
|
{ |
|
|
|
{ |
|
|
|
<main class="ghr-preview-staff-resume-block-item" id="Base-0-StaffName" style="width:@(children.label=="培训说明"?"100%": "50%")"> |
|
|
|
<div class="ghr-preview-staff-resume-block-item" id="Base-0-StaffName" style="float:left;width:@(children.label=="培训说明"?"100%": "50%")"> |
|
|
|
<div class="label">@(children.label):</div> |
|
|
|
<div class="label">@(children.label):</div> |
|
|
|
<div class="itemValue"> |
|
|
|
<div class="itemValue"> |
|
|
|
@{ |
|
|
|
@{ |
|
|
@ -349,7 +351,7 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</main> |
|
|
|
</div> |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -362,9 +364,9 @@ |
|
|
|
var ii = 0; |
|
|
|
var ii = 0; |
|
|
|
if (item.children != null && item.children.Any()) |
|
|
|
if (item.children != null && item.children.Any()) |
|
|
|
{ |
|
|
|
{ |
|
|
|
<main class="ghr-preview-staff-resume-title" id="Base"> |
|
|
|
<div class="ghr-preview-staff-resume-title" id="Base" style="float:left;"> |
|
|
|
@item.tabName |
|
|
|
@item.tabName |
|
|
|
</main> |
|
|
|
</div> |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (item.children != null && item.children.Any()) |
|
|
|
if (item.children != null && item.children.Any()) |
|
|
@ -373,9 +375,9 @@ |
|
|
|
|
|
|
|
|
|
|
|
if (ii > 0) |
|
|
|
if (ii > 0) |
|
|
|
{ |
|
|
|
{ |
|
|
|
<div style="margin-top:20px;width:100%"></div> |
|
|
|
<div style="margin-top:20px;width:100%;float:left;"></div> |
|
|
|
} |
|
|
|
} |
|
|
|
<main class="ghr-preview-staff-resume-block-item" id="Base-0-StaffName" style="display: flex;width:80%"> |
|
|
|
<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="itemValue" style="width:80%">@(ii + 1). @(children.placeholder):</div> |
|
|
|
<div class="label" style="width:20%"> |
|
|
|
<div class="label" style="width:20%"> |
|
|
|
@{ |
|
|
|
@{ |
|
|
@ -390,7 +392,7 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</main> |
|
|
|
</div> |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|