TG.WXCRM.V4/WEB/Views/Hg/ShowTZD.cshtml

115 lines
4.4 KiB
Plaintext

@{
ViewBag.Title = "AddCheckNotice";
Layout = "~/Views/Shared/_Layout.cshtml";
}
@model CRM.Core.DTO.Hg.Hg_CheckQuality_Notice
<div class="x-body">
<div class="title">违规通知单</div>
<div class="tow">
<span>日期:@Html.Raw(Model.NoticeCtime.ToString("yyyy.MM.dd"))</span>
<span>编号:@Html.Raw(Model.NoticeNo)</span>
</div>
<div class="tow"><span>发出部门:@Html.Raw(Model.FromDeptName)</span><span></span></div>
<table class="weitable">
<tr>
<td width="90" height="50" align="center" class="font-weight-cs">
业务中心/部门
</td>
<td colspan="3">
@Html.Raw(Model.ToDeptName)
</td>
</tr>
<tr>
<td style="height:500px" align="center" class="font-weight-cs">
违规内容
</td>
<td colspan="3" align="left" valign="top" style="padding: 10px; text-indent: 2ch; ">
<div style="height: 350px; width: 100%; padding: 10px; text-indent: 2ch;"> @Html.Raw(Model.Content)</div>
<div class="font-weight-cs" style="justify-content: flex-end;display:flex;">
@{ var hg = Model.Hg_CheckQuality_NoticeSigns.FirstOrDefault(m => m.NoticeLevel == "hg" && m.Sign == 1);
string hgContent = hg == null ? "" : hg.Opinion;
string hgName = hg == null ? "" : hg.Name;
}
<div style="width:300px;">合规部负责人确认:@Html.Raw(hgName)</div>
</div>
<div style="width: 100%; text-indent: 2ch;">@Html.Raw(hgContent)</div>
</td>
</tr>
<tr>
<td align="center" height="120" class="font-weight-cs">
违规责任人
</td>
@{ var zre = Model.Hg_CheckQuality_NoticeSigns.FirstOrDefault(m => m.NoticeLevel == "sale" && m.Sign == 1);
string zreContent = zre == null ? "" : zre.Opinion;
string zreName = zre == null ? "" : zre.Name;
}
<td align="center">@Html.Raw(zreName)</td>
@{ var zreZG = Model.Hg_CheckQuality_NoticeSigns.FirstOrDefault(m => m.NoticeLevel == "manage" && m.Sign == 1);
string zreZGContent = zreZG == null ? "" : zreZG.Opinion;
string zreZGName = zreZG == null ? "" : zreZG.Name;
}
<td align="center" width="90" class="font-weight-cs">
违规责任人主管
</td>
<td align="center">@Html.Raw(zreZGName)</td>
</tr>
@*<tr>
<td align="center" class="font-weight-cs">
业务中心负责人处理意见
</td>
<td colspan="3" height="250" align="left" valign="top">
@{ var zreCenter = Model.Hg_CheckQuality_NoticeSigns.FirstOrDefault(m => m.NoticeLevel == "zx" && m.Sign == 1);
string zreCenterContent = zreCenter == null ? "" : zreCenter.Opinion;
string zreCenterName = zreCenter == null ? "" : zreCenter.Name;
}
<div style="height: 200px; width: 100%; padding: 10px; text-indent: 2ch;">@Html.Raw(zreCenterContent)</div>
<div class="font-weight-cs" style="justify-content: flex-end;display:flex;"><div style="width:200px;">签字:@Html.Raw(zreCenterName)</div></div>
</td>
</tr>*@
<tr>
<td colspan="4" height="50" class="font-weight-cs">
注意:该通知单由业务中心/部门违规人员签字确认后于 2 个工作日内,交由合规部留存原件。
</td>
</tr>
</table>
</div>
<style>
.x-body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 100%;
font-size: 16px;
}
.font-weight-cs {
font-weight: bold;
}
.title {
width: 100px;
font-weight: bold;
flex-direction: row;
justify-content: center;
align-items: center;
}
.tow {
width: 800px;
display: flex;
justify-content: space-between;
height: 30px;
font-weight: bold;
}
.weitable {
width: 800px;
}
.weitable td {
border: 1px solid #000000;
padding: 10px;
}
</style>