| | |
| | | <link href="~/css/plugins/toastr/toastr.min.css" rel="stylesheet" /> |
| | | <link href="~/css/plugins/webuploader/webuploader.css" rel="stylesheet" /> |
| | | |
| | | |
| | | |
| | | |
| | | <!-- jqgrid--> |
| | | @*<link href="~/css/plugins/jqgrid/ui.jqgrid.css" rel="stylesheet">*@ |
| | |
| | | @*<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> |
| | | <script language="javascript" src="~/js/fileSaver.js" type="text/javascript"></script> |
| | | <script language="javascript" src="~/js/jquery.wordexport.js" type="text/javascript"></script> |
| | | </head> |
| | | <body class="gray-bg" style="overflow:auto"> |
| | | <form id="formtest"> |
| | | <div class="wrapper wrapper-content" id="ibox-content" style="padding:15px;"> |
| | | <div class="row"> |
| | | <div id="content" style="overflow-y:auto;height:100%;background: #fff;width:850px; margin: 0 auto;"> |
| | | <style type="text/css"> |
| | | table { |
| | | width: 595px; |
| | | font-size: 16pt; |
| | | font-family: 'FangSong'; |
| | | background: #fff; |
| | | line-height: 1.5; |
| | | } |
| | | |
| | | span { |
| | | font-size: 15pt; |
| | | display: inline; |
| | | border-bottom: 1px dashed #111; |
| | | } |
| | | |
| | | s22pan:after { |
| | | content: ''; |
| | | display: inline; |
| | | width: 100%; |
| | | margin-top: -5px; |
| | | border-bottom: 1px dashed #111; |
| | | } |
| | | </style> |
| | | <div id="page1" style="page-break-after:always;"> |
| | | <table border="0" align="center" cellpadding="3" cellspacing="0"> |
| | | <tr> |
| | |
| | | <tr> |
| | | <td colspan="2"> |
| | | 质疑事项:<span style="text-indent:10px">@challengeItemDTOs[i].QuestionName </span> |
| | | <br /> |
| | | 事实依据:@Html.Raw("<span>" + (string.IsNullOrEmpty(challengeItemDTOs[i].Evidential) ? "" : challengeItemDTOs[i].Evidential.Replace(" ", " ").Replace("\r", "<br/>")) + "</span>"); |
| | | <br /> |
| | | @for (int j = 0; j < challengeItemDTOs[i].sysCodeDtls.Count; j++) |
| | | { |
| | | if (challengeItemDTOs[i].sysCodeDtls.Count == 1) |
| | | { |
| | | @Html.Raw("法律依据:<span>《" + challengeItemDTOs[i].sysCodeDtls[j].CodeSn + "》" + challengeItemDTOs[i].sysCodeDtls[j].Classify2 + ":" + challengeItemDTOs[i].sysCodeDtls[j].Contents + "</span>") |
| | | <br /> |
| | | } |
| | | else |
| | | { |
| | | @Html.Raw("法律依据" + (j + 1) + ":<span>《" + challengeItemDTOs[i].sysCodeDtls[j].CodeSn + "》" + challengeItemDTOs[i].sysCodeDtls[j].Classify2 + ":" + challengeItemDTOs[i].sysCodeDtls[j].Contents + "</span>") |
| | | <br /> |
| | | |
| | | } |
| | | |
| | | |
| | | } |
| | | |
| | | |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <td colspan="2"> |
| | | 事实依据:@Html.Raw("<span>" + (string.IsNullOrEmpty(challengeItemDTOs[i].Evidential) ? "" : challengeItemDTOs[i].Evidential.Replace(" ", " ").Replace("\r", "<br/>")) + "</span>"); |
| | | </td> |
| | | </tr> |
| | | |
| | | @for (int j = 0; j < challengeItemDTOs[i].sysCodeDtls.Count; j++) |
| | | { |
| | | if (challengeItemDTOs[i].sysCodeDtls.Count == 1) |
| | | { |
| | | <tr> |
| | | <td colspan="2"> |
| | | @Html.Raw("法律依据:<span>《" + challengeItemDTOs[i].sysCodeDtls[j].CodeSn + "》" + challengeItemDTOs[i].sysCodeDtls[j].Classify2 + ":" + challengeItemDTOs[i].sysCodeDtls[j].Contents + "</span>") |
| | | </td> |
| | | </tr> |
| | | } |
| | | else |
| | | { |
| | | <tr> |
| | | <td colspan="2"> |
| | | @Html.Raw("法律依据" + (j + 1) + ":<span>《" + challengeItemDTOs[i].sysCodeDtls[j].CodeSn + "》" + challengeItemDTOs[i].sysCodeDtls[j].Classify2 + ":" + challengeItemDTOs[i].sysCodeDtls[j].Contents + "</span>") |
| | | </td> |
| | | </tr> |
| | | |
| | | } |
| | | |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | } |
| | | else |
| | | { |
| | | <tr> |
| | | <td colspan="2"> |
| | | 质疑事项@((i + 1) + ""):<span style="text-indent:10px">@challengeItemDTOs[i].QuestionName </span> |
| | | <br /> |
| | | 事实依据@((i + 1) + ""): @Html.Raw("<span>" + (string.IsNullOrEmpty(challengeItemDTOs[i].Evidential) ? "" : challengeItemDTOs[i].Evidential.Replace(" ", " ").Replace("\r", "<br/>")) + "</span>"); |
| | | <br /> |
| | | @for (int j = 0; j < challengeItemDTOs[i].sysCodeDtls.Count; j++) |
| | | { |
| | | |
| | | |
| | | if (challengeItemDTOs[i].sysCodeDtls.Count == 1) |
| | | { |
| | | @Html.Raw("法律依据:<span>《" + challengeItemDTOs[i].sysCodeDtls[j].CodeSn + "》" + challengeItemDTOs[i].sysCodeDtls[j].Classify2 + ":" + challengeItemDTOs[i].sysCodeDtls[j].Contents + "</span>") |
| | | <br /> |
| | | } |
| | | else |
| | | { |
| | | @Html.Raw("法律依据" + (j + 1) + ":<span>《" + challengeItemDTOs[i].sysCodeDtls[j].CodeSn + "》" + challengeItemDTOs[i].sysCodeDtls[j].Classify2 + ":" + challengeItemDTOs[i].sysCodeDtls[j].Contents + "</span>") |
| | | <br /> |
| | | |
| | | } |
| | | } |
| | | |
| | | |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <td colspan="2"> |
| | | 事实依据@((i + 1) + ""): @Html.Raw("<span>" + (string.IsNullOrEmpty(challengeItemDTOs[i].Evidential) ? "" : challengeItemDTOs[i].Evidential.Replace(" ", " ").Replace("\r", "<br/>")) + "</span>"); |
| | | </td> |
| | | </tr> |
| | | |
| | | @for (int j = 0; j < challengeItemDTOs[i].sysCodeDtls.Count; j++) |
| | | { |
| | | |
| | | |
| | | if (challengeItemDTOs[i].sysCodeDtls.Count == 1) |
| | | { |
| | | <tr> |
| | | <td colspan="2"> |
| | | @Html.Raw("法律依据:<span>《" + challengeItemDTOs[i].sysCodeDtls[j].CodeSn + "》" + challengeItemDTOs[i].sysCodeDtls[j].Classify2 + ":" + challengeItemDTOs[i].sysCodeDtls[j].Contents + "</span>") |
| | | |
| | | </td> |
| | | </tr> |
| | | } |
| | | else |
| | | { |
| | | <tr> |
| | | <td colspan="2"> |
| | | @Html.Raw("法律依据" + (j + 1) + ":<span>《" + challengeItemDTOs[i].sysCodeDtls[j].CodeSn + "》" + challengeItemDTOs[i].sysCodeDtls[j].Classify2 + ":" + challengeItemDTOs[i].sysCodeDtls[j].Contents + "</span>") |
| | | </td> |
| | | </tr> |
| | | |
| | | } |
| | | } |
| | | |
| | | |
| | | } |
| | | |
| | | } |
| | |
| | | </table> |
| | | </div> |
| | | |
| | | |
| | | <style type="text/css"> |
| | | table { |
| | | width: 595px; |
| | | font-size: 16pt; |
| | | font-family: 'FangSong'; |
| | | background: #fff; |
| | | line-height: 1.5; |
| | | } |
| | | |
| | | span { |
| | | font-size: 15pt; |
| | | display: inline; |
| | | border-bottom: 1px dashed #111; |
| | | } |
| | | |
| | | s22pan:after { |
| | | content: ''; |
| | | display: inline; |
| | | width: 100%; |
| | | margin-top: -5px; |
| | | border-bottom: 1px dashed #111; |
| | | } |
| | | </style> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | |
| | | |
| | | <a class="btn btn-success" href="javascript:void(0)" onclick="printWin();" style="margin-left:4px; border-radius:4px;"> |
| | | <i class="glyphicon glyphicon-ok"></i> <span class="bold">打印</span> |
| | | </a> |
| | | <a class="btn btn-success" href="javascript:void(0)" onclick="daochuword();" style="margin-left:4px; border-radius:4px;"> |
| | | <i class="glyphicon glyphicon-ok"></i> <span class="bold">导出word</span> |
| | | </a> |
| | | </div> |
| | | </div> |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | function daochuword() { |
| | | $("#content").wordExport("质疑函@(Html.Raw(Model.GysName))"); //fileName为导出的word文件的命名,content为要导出的html内容容器 |
| | | } |
| | | |
| | | |
| | | |