New file |
| | |
| | | @model DTO.AdmDocDocDTO |
| | | @using DTO; |
| | | @{ |
| | | ViewBag.Title = "AdmDocDoc"; |
| | | Layout = null; |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | | |
| | | <!DOCTYPE html> |
| | | <html> |
| | | <head> |
| | | <meta charset="utf-8"> |
| | | <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| | | <meta http-equiv="Pragma" content="no-cache"> |
| | | <meta http-equiv="Cache-Control" content="no-siteapp" /> |
| | | <meta http-equiv="Cache-Control" content="no-cache"> |
| | | <meta http-equiv="Expires" content="0"> |
| | | <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"> |
| | | <meta name="renderer" content="webkit"> |
| | | <title>@SiteConfig.SiteName</title> |
| | | <meta name="keywords" content="@SiteConfig.Keywords"> |
| | | <meta name="description" content="@SiteConfig.Description"> |
| | | <meta name="author" content="@SiteConfig.Author"> |
| | | <link rel="icon" type="image/x-icon" href="@SiteConfig.ShortcutIcon"> |
| | | <!-- uc强制竖屏 --> |
| | | <meta name="screen-orientation" content="portrait"> |
| | | <!-- QQ强制竖屏 --> |
| | | <meta name="x5-orientation" content="portrait"> |
| | | <!-- UC强制全屏 --> |
| | | <meta name="full-screen" content="yes"> |
| | | <!-- QQ强制全屏 --> |
| | | <meta name="x5-fullscreen" content="true"> |
| | | <!--[if lt IE 9]> |
| | | <meta http-equiv="refresh" content="0;ie.html" /> |
| | | <![endif]--> |
| | | <script src="~/js/jquery.min.js"></script> |
| | | <link href="~/css/bootstrap.min.css" rel="stylesheet"> |
| | | <link href="~/css/font-awesome.min.css" rel="stylesheet"> |
| | | <link href="~/css/animate.min.css" rel="stylesheet"> |
| | | |
| | | @*<link href="~/css/plugins/iCheck/custom.css" rel="stylesheet">*@ |
| | | <link href="~/css/style.min.css" rel="stylesheet"> |
| | | <link href="~/css/plugins/chosen/chosen.css" rel="stylesheet"> |
| | | @*<link href="~/js/plugins/layer/skin/layer.css" rel="stylesheet">*@ |
| | | @*<link href="~/css/plugins/datapicker/datepicker3.css" rel="stylesheet">*@ |
| | | <link href="~/css/style.min.css" rel="stylesheet"> |
| | | <link href="~/css/plugins/toastr/toastr.min.css" rel="stylesheet" /> |
| | | <link href="~/css/plugins/webuploader/webuploader.css" rel="stylesheet" /> |
| | | |
| | | <style type="text/css"> |
| | | .webuploader-pick { |
| | | position: relative; |
| | | display: inline-block; |
| | | cursor: pointer; |
| | | background: #00b7ee; |
| | | padding: 8px 14px 7px 14px; |
| | | color: #fff; |
| | | text-align: center; |
| | | border-radius: 3px; |
| | | overflow: hidden; |
| | | } |
| | | |
| | | div.clearfix > label { |
| | | padding-top: 8px; |
| | | } |
| | | |
| | | .chosen-container { |
| | | border-radius: 1px; |
| | | border: 1px solid #e5e6e7; |
| | | } |
| | | |
| | | .col-md-1.control-label { |
| | | padding-right: 0px; |
| | | font-weight: 400; |
| | | } |
| | | |
| | | html { |
| | | font-family: sans-serif; |
| | | -ms-text-size-adjust: 100%; |
| | | -webkit-text-size-adjust: 100%; |
| | | } |
| | | |
| | | body { |
| | | margin: 10px; |
| | | } |
| | | |
| | | table { |
| | | border-collapse: collapse; |
| | | border-spacing: 0; |
| | | } |
| | | |
| | | td, th { |
| | | padding: 0; |
| | | } |
| | | |
| | | .pure-table { |
| | | border-collapse: collapse; |
| | | border-spacing: 0; |
| | | empty-cells: show; |
| | | border: 1px solid #cbcbcb; |
| | | } |
| | | |
| | | .pure-table caption { |
| | | color: #000; |
| | | font: italic 85%/1 arial,sans-serif; |
| | | padding: 1em 0; |
| | | text-align: center; |
| | | } |
| | | |
| | | .pure-table td, .pure-table th { |
| | | border-left: 1px solid #cbcbcb; |
| | | border-width: 0 0 0 1px; |
| | | font-size: inherit; |
| | | margin: 0; |
| | | overflow: visible; |
| | | padding: .5em 1em; |
| | | } |
| | | |
| | | /* .pure-table thead { |
| | | background-color: #e0e0e0 !important; |
| | | color: #000; |
| | | text-align: left; |
| | | vertical-align: bottom; |
| | | -webkit-print-color-adjust: exact; |
| | | }*/ |
| | | |
| | | .pure-table td { |
| | | background-color: transparent; |
| | | } |
| | | |
| | | .pure-table-bordered td { |
| | | border-bottom: 1px solid #cbcbcb; |
| | | } |
| | | |
| | | .pure-table-bordered tbody > tr:last-child > td { |
| | | border-bottom-width: 0; |
| | | } |
| | | |
| | | /* .pure-table-bordered th { |
| | | border-bottom: 1px solid #cbcbcb; |
| | | } |
| | | |
| | | .pure-table-bordered tbody > tr:last-child > th { |
| | | border-bottom-width: 0; |
| | | }*/ |
| | | .footer { |
| | | height: 100px; |
| | | width: 100%; |
| | | background-color: #ddd; |
| | | position: fixed; |
| | | bottom: 0; |
| | | } |
| | | </style> |
| | | |
| | | <!-- jqgrid--> |
| | | @*<link href="~/css/plugins/jqgrid/ui.jqgrid.css" rel="stylesheet">*@ |
| | | <script language="javascript" src="~/js/jquery.min.js" type="text/javascript"></script> |
| | | <script src="~/js/bootstrap.min.js"></script> |
| | | @*<script src="~/js/plugins/bootstro/bootstro.js"></script>*@ |
| | | |
| | | <!--容器--> |
| | | @*<script language="javascript" src="~/js/datehelper.js" type="text/javascript"></script>*@ |
| | | @*<script language="javascript" src="~/js/plugins/query/jquery.query-object.js" type="text/javascript"></script>*@ |
| | | @*<script language="javascript" src="~/js/plugins/iCheck/icheck.min.js" type="text/javascript"></script>*@ |
| | | <script language="javascript" src="~/js/plugins/chosen/chosen.jquery.js" type="text/javascript"></script> |
| | | @*<script language="javascript" src="~/js/plugins/datapicker/bootstrap-datepicker.js" type="text/javascript"></script>*@ |
| | | <script language="javascript" src="~/js/plugins/layer/layer.js" type="text/javascript"></script> |
| | | @*<script src="~/js/plugins/jqgrid/jquery.jqGrid.min.js" type="text/javascript"></script>*@ |
| | | @*<script src="~/js/plugins/jqgrid/i18n/grid.locale-cn.js" type="text/javascript"></script>*@ |
| | | <script src="~/js/plugins/toastr/toastr.min.js" type="text/javascript"></script> |
| | | <script src="~/js/plugins/webuploader/webuploader.min.js"></script> |
| | | |
| | | <script language="javascript" src="~/js/common-layout.js" type="text/javascript"></script> |
| | | <script src="~/js/plugins/layer/laydate/laydate.js" type="text/javascript"></script> |
| | | @*<script src="~/js/plugins/iTexbox/itextbox.js" type="text/javascript"></script>*@ |
| | | @*<script src="~/js/plugins/iuploader/iuploader.js"></script>*@ |
| | | <script src="~/js/TUJS.js"></script> |
| | | </head> |
| | | <body class="gray-bg" style="overflow:auto"> |
| | | <button type="button" id="printl" onclick="onprint()">打印</button> |
| | | <div id="printArea"> |
| | | <div class="wrapper wrapper-content" id="ibox-content" style="padding:15px;"> |
| | | <div class="row"> |
| | | <div class="col-sm-12"> |
| | | <div class="ibox float-e-margins"> |
| | | |
| | | <div id="div_content" class="ibox-content" style="background-color:white;overflow-y:auto;"> |
| | | @*<div class="" style="text-align: center;"> |
| | | |
| | | <h1>绩效统计</h1> |
| | | |
| | | </div>*@ |
| | | <div class="row"> |
| | | <div style="text-align:center;"> |
| | | <h3> @Model.DocTitle</h3> |
| | | </div> |
| | | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | |
| | | <label class="col-sm-4 col-md-4 control-label" style="font-weight:normal;">发文部门:@Model.DocDeptName </label> |
| | | <label class="col-sm-4 col-md-4 control-label" style="font-weight:normal;">公文号:@Model.DocNo </label> |
| | | <label class="col-sm-4 col-md-4 control-label" style="font-weight:normal;">颁布日期:@Model.PublishTimeName </label> |
| | | |
| | | </div> |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | @Html.Raw(Model.DocContent) |
| | | </div> |
| | | |
| | | <div class="footer" style="padding-bottom:15px;text-align:right;background-color:white;"> |
| | | <label class="text-right col-sm-12 col-md-12 control-label" style="font-weight:normal;"> @Model.DocTypeNameName </label> |
| | | </div> |
| | | |
| | | |
| | | |
| | | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | |
| | | </div> |
| | | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="wrapper wrapper-content" style="margin-top:0px"></div> |
| | | <div class="ibox-content" id="top" style="z-index:100; position:fixed; height:50px; width:100%;bottom:0; text-align: right; padding-top:8px "> |
| | | |
| | | </div> |
| | | </div> |
| | | </body> |
| | | <script type="text/javascript"> |
| | | |
| | | //var hh = document.body.clientHeight; |
| | | // $("#div_content").height(hh); |
| | | |
| | | toastr.options = { |
| | | "closeButton": true, |
| | | "debug": false, |
| | | "progressBar": true, |
| | | "positionClass": "toast-bottom-right", |
| | | "onclick": null, |
| | | "showDuration": "300", |
| | | "hideDuration": "600", |
| | | "timeOut": "4500", |
| | | "extendedTimeOut": "600", |
| | | "showEasing": "swing", |
| | | "hideEasing": "linear", |
| | | "showMethod": "fadeIn", |
| | | "hideMethod": "fadeOut" |
| | | }; |
| | | |
| | | |
| | | function printHtml(html) { |
| | | //var bodyHtml = document.body.innerHTML; |
| | | //document.body.innerHTML = html; |
| | | $("#printl").hide(); |
| | | //$("#chaxunxiashi").hide(); |
| | | window.print(); |
| | | //document.body.innerHTML = bodyHtml; |
| | | $("#printl").show(); |
| | | //$("#chaxunxiashi").show(); |
| | | } |
| | | function onprint() { |
| | | var html = $("#printArea").html(); |
| | | printHtml(html); |
| | | } |
| | | </script> |
| | | </html> |