Quellcode durchsuchen

党办收文打印

同煤学院(新)
yxq vor 6 Stunden
Ursprung
Commit
d140408f3d
1 geänderte Dateien mit 35 neuen und 64 gelöschten Zeilen
  1. +35
    -64
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Dispatch/Print.cshtml

+ 35
- 64
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Dispatch/Print.cshtml Datei anzeigen

@@ -45,7 +45,6 @@

html, body, #content {
width: 100%;
height: 100%;
border: none;
position: relative !important;
}
@@ -59,7 +58,6 @@
}
.absoluteDivs{
width:100%;
height:100%;
position:relative;
}
.absoluteDivs > * {
@@ -71,14 +69,14 @@

<body>
<div id="content" class="content">
<img class="printBg" src="~/Content/static/img/printBg.png" />
@*<img class="printBg noprint" src="~/Content/static/img/printBg.png" />*@
<div class="absoluteDivs">
@*来文单位*@
<div style="left:56.6VW;top:22.5VW;">@Model.DisFrom</div>
@*字*@
<div style="left:70VW;top:20VW;">@Model.DisWork</div>
@*号*@
<div style="left:79VW;top:20VW;">@Model.DisMark</div>
<div style="left:78.6VW;top:20VW;">@Model.DisMark</div>
@*年*@
<div style="left:62VW;top:29VW;">@Model.DisYear</div>
@*月*@
@@ -86,16 +84,24 @@
@*日*@
<div style="left:79VW;top:29VW;">@Model.DisDay</div>
@*事由*@
<div style="left:28VW;top:37VW;margin-right:10vw">@Model.Reasons</div>
<div style="left:28VW;top:34VW;margin-right:10vw">@Model.Reasons</div>
@*附件*@
<div style="left:28VW;top:50VW;margin-right:10vw">@Model.AttachmentName</div>
@*呈送意见*@
<div style="left:28VW;top:64VW;margin-right:10vw">
@Model.Render 某某
@Model.RenderDate.ToShortDateString().ToString().Replace("/", "-")
@Model.Render
</div>
<div style="left:68VW;top:76.5VW;margin-right:10vw">
@Model.RenderDate.Year
</div>
<div style="left:75.4VW;top:76.5VW;margin-right:10vw">
@Model.RenderDate.Month
</div>
<div style="left:82VW;top:76.5VW;margin-right:10vw">
@Model.RenderDate.Day
</div>
@*批示*@
<div style="left:10VW;top:86VW;margin-right:10vw">
<div style="left:20VW;top:82.5VW;margin-right:10vw">
<div style="height: auto;">
@foreach (var item in ViewBag.pSList)
{
@@ -105,60 +111,27 @@
}
</div>
</div>
@*收文单位*@
<div style="right:49.8VW;top:130.5VW;">@Model.DisOffice</div>
@*字*@
<div style="right:38.8VW;top:130.5VW;">@Model.DisWork</div>
@*号*@
<div style="right:32.6VW;top:130.5VW;">@Model.DisMark</div>
@*年*@
<div style="right:24.8VW;top:130.5VW;">@Model.DisYear</div>
@*月*@
<div style="right:18.8VW;top:130.5VW;">@Model.DisMonth</div>
@*日*@
<div style="right:12.4VW;top:130.5VW;">@Model.DisDay</div>
</div>
<div style="display:none">
<em>@Model.DisFrom</em>来 文 单 位

<em>@Model.DisWork</em>
<span>字</span>
<em>@Model.DisMark</em>
<span>号</span>

<em>@Model.DisYear</em>
<span>年</span>
<em>@Model.DisMonth</em>
<span>月</span>
<em>@Model.DisDay</em>
<span>日</span>

<em> 事 </em><em> 由: </em>
<em style="color: #000000">
@Model.Reasons
</em>

<em> 附 </em><em> 件: </em><em style="color: #000000">@Model.AttachmentName</em>

<span>呈送意见:<em style="color: #000000">@Model.Render</em></span>
@Model.RenderDate.ToShortDateString().ToString().Replace("/", "-")

批 <em> 示:</em>
<em style="color: #000000" id="psMain">
<div style="height: auto;">
@foreach (var item in ViewBag.pSList)
{
<div style="" class="leftDiv">
<em style="display: inline-block; height: 30px; line-height: 30px; margin-left: 60px;">@item</em>
</div>
}
</div>
</em>

<em>@Model.DisOffice</em><span> 收 文 单 位 </span>
<em>@Model.DisWork</em><span>字</span>
<em>@Model.DisMark</em><span>号</span>
<em>@Model.DisYear</em><span>年</span>
<em>@Model.DisMonth</em><span>月</span>
<em>@Model.DisDay</em><span>日</span>

</div>
</div>
<div class="lr-query-btn" id="lr_print">打印</div>
@*<input class="lr-query-btn" id="dy" />*@
<script src="~/Content/jquery/jquery-1.10.2.min.js"></script>
<script src="~/Content/jquery/plugin/fullcalendar/js/jquery-1.7.2.min.js"></script>
<script src="~/Content/jquery/plugin/jqprint/jquery.jqprint-0.3.js"></script>
<script src="~/Content/signet/jquery.zsign.js"></script>
<script>
</div>
<div class="lr-query-btn" id="lr_print">打印</div>
@*<input class="lr-query-btn" id="dy" />*@
<script src="~/Content/jquery/jquery-1.10.2.min.js"></script>
<script src="~/Content/jquery/plugin/fullcalendar/js/jquery-1.7.2.min.js"></script>
<script src="~/Content/jquery/plugin/jqprint/jquery.jqprint-0.3.js"></script>
<script src="~/Content/signet/jquery.zsign.js"></script>
<script>
//盖章图片
@*var stampUrl = '/LR_NewWorkFlow/StampInfo/GetImg?keyValue=@ViewBag.StampImg';
var signUrl = '/LR_SystemModule/Img/GetImg?keyValue=@ViewBag.SignImg';
@@ -177,10 +150,8 @@
}*@
$('#lr_print').on('click', function () {
$('#content').jqprint();
//window.print()
});

</script>
</script>
</body>

</html>

Laden…
Abbrechen
Speichern