From db227144dedfb5fb5b1e94e8c8b14eab9eb7462f Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期四, 01 十二月 2022 13:32:50 +0800
Subject: [PATCH] 中国政采网的四川数据 发送验证码
---
zhengcaioa/zhengcaioa/Views/CooperOrder/Printtousushu.cshtml | 266 ++++++++++++++++++++++++++++++----------------------
1 files changed, 152 insertions(+), 114 deletions(-)
diff --git a/zhengcaioa/zhengcaioa/Views/CooperOrder/Printtousushu.cshtml b/zhengcaioa/zhengcaioa/Views/CooperOrder/Printtousushu.cshtml
index 69fdc16..4b41243 100644
--- a/zhengcaioa/zhengcaioa/Views/CooperOrder/Printtousushu.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/CooperOrder/Printtousushu.cshtml
@@ -15,12 +15,15 @@
List<TComplaintGongyingshangDTO> complaintGongyingshangDTOs = Model.complaintGongyingshangDTOs;
+
+ List<TChallengeRequestInfoDTO> challengeRequestInfoDTOs = Model.challengeRequestInfoDTOs;
+
List<TComplaintItemDTO> complaintItemDTOs = Model.complaintItemDTOs;
int PrintNum = Model.PrintNum.HasValue ? Model.PrintNum.Value : 0;
- ResultDataEntity<SysAttachmentDTO> yinyezhizhao = ViewBag.yinyezhizhao as ResultDataEntity<SysAttachmentDTO>; //钀ヤ笟鎵х収
+ ResultDataEntity<SysAttachmentDTO> yinyezhizhao = ViewBag.yinyezhizhao as ResultDataEntity<SysAttachmentDTO>; //钀ヤ笟鎵х収
List<SysAttachmentDTO> yinyezhizhaosssss = new List<SysAttachmentDTO>();
if (yinyezhizhao.DataList != null)
{
@@ -34,7 +37,7 @@
shenfenzhengsssss = shenfenzheng.DataList;
}
- CooperatecustomCustomerDTO cooperatecustomCustomerDTO = ViewBag.cooperatecustomCustomerDTO as CooperatecustomCustomerDTO; //瀹㈡埛
+ CooperatecustomCustomerDTO cooperatecustomCustomerDTO = ViewBag.cooperatecustomCustomerDTO as CooperatecustomCustomerDTO; //瀹㈡埛
}
@{
@@ -98,14 +101,14 @@
<style type="text/css">
table {
width: 595px;
- font-size: 16pt;
+ font-size: 14pt;
font-family: 'FangSong';
background: #fff;
line-height: 1.5;
}
span {
- font-size: 16pt;
+ font-size: 14pt;
display: inline;
/* border-bottom: 1px dashed #111;*/
}
@@ -144,43 +147,43 @@
@for (int i = 0; i < complaintShouquandaibiaoDTOs.Count; i++)
{
- <tr>
- <td colspan="2" align="left">鎺堟潈浠h〃@(i!=0?(i+""):"")锛�<span style="width:480px;">@complaintShouquandaibiaoDTOs[i].Shouquandaibiao </span></td>
- </tr>
- <tr>
- <td colspan="2" align="left">鑱旂郴鐢佃瘽@(i!=0?(i+""):"")锛�<span style="width:480px;">@complaintShouquandaibiaoDTOs[i].Lianxidianhua </span></td>
- </tr>
- <tr>
- <td colspan="2" align="left">鍦板潃@(i!=0?(i+""):"")锛�<span style="width:290px;">@complaintShouquandaibiaoDTOs[i].Dizhi </span> @(string.IsNullOrEmpty(complaintShouquandaibiaoDTOs[i].Youbian)?"":"閭紪锛�")@(i!=0?(i+""):"")<span style="width:160px;">@complaintShouquandaibiaoDTOs[i].Youbian </span></td>
- </tr>
+ <tr>
+ <td colspan="2" align="left">鎺堟潈浠h〃@(i!=0?(i+""):"")锛�<span style="width:480px;">@complaintShouquandaibiaoDTOs[i].Shouquandaibiao </span></td>
+ </tr>
+ <tr>
+ <td colspan="2" align="left">鑱旂郴鐢佃瘽@(i!=0?(i+""):"")锛�<span style="width:480px;">@complaintShouquandaibiaoDTOs[i].Lianxidianhua </span></td>
+ </tr>
+ <tr>
+ <td colspan="2" align="left">鍦板潃@(i!=0?(i+""):"")锛�<span style="width:290px;">@complaintShouquandaibiaoDTOs[i].Dizhi </span> @(string.IsNullOrEmpty(complaintShouquandaibiaoDTOs[i].Youbian)?"":"閭紪锛�")@(i!=0?(i+""):"")<span style="width:160px;">@complaintShouquandaibiaoDTOs[i].Youbian </span></td>
+ </tr>
}
@for (int i = 0; i < complaintRespondentDTOs.Count; i++)
{
if (complaintRespondentDTOs.Count == 1)
{
- <tr>
- <td colspan="2" align="left">琚姇璇変汉锛�<span style="width:480px;">@complaintRespondentDTOs[i].Respondent </span></td>
- </tr>
- <tr>
- <td colspan="2" align="left">鍦板潃锛�<span style="width:290px;">@complaintRespondentDTOs[i].Address </span> @(string.IsNullOrEmpty(complaintRespondentDTOs[i].Postcode)?"":"閭紪锛�")<span style="width:160px;">@complaintRespondentDTOs[i].Postcode </span></td>
- </tr>
- <tr>
- <td align="left" width="50%">鑱旂郴浜猴細<span style="width:290px;">@complaintRespondentDTOs[i].Contacts </span></td>
- <td align="left" width="50%">鑱旂郴鐢佃瘽锛�<span style="width:160px;">@complaintRespondentDTOs[i].Phone </span></td>
- </tr>
+ <tr>
+ <td colspan="2" align="left">琚姇璇変汉锛�<span style="width:480px;">@complaintRespondentDTOs[i].Respondent </span></td>
+ </tr>
+ <tr>
+ <td colspan="2" align="left">鍦板潃锛�<span style="width:290px;">@complaintRespondentDTOs[i].Address </span> @(string.IsNullOrEmpty(complaintRespondentDTOs[i].Postcode)?"":"閭紪锛�")<span style="width:160px;">@complaintRespondentDTOs[i].Postcode </span></td>
+ </tr>
+ <tr>
+ <td align="left" width="50%">鑱旂郴浜猴細<span style="width:290px;">@complaintRespondentDTOs[i].Contacts </span></td>
+ <td align="left" width="50%">鑱旂郴鐢佃瘽锛�<span style="width:160px;">@complaintRespondentDTOs[i].Phone </span></td>
+ </tr>
}
else
{
- <tr>
- <td colspan="2" align="left">琚姇璇変汉@(i+1)锛�<span style="width:480px;">@complaintRespondentDTOs[i].Respondent </span></td>
- </tr>
- <tr>
- <td colspan="2" align="left">鍦板潃@(i+1)锛�<span style="width:290px;">@complaintRespondentDTOs[i].Address </span> @(string.IsNullOrEmpty(complaintRespondentDTOs[i].Postcode)?"":"閭紪锛�")@(i+1)锛�<span style="width:160px;">@complaintRespondentDTOs[i].Postcode </span></td>
- </tr>
- <tr>
- <td align="left" width="50%">鑱旂郴浜篅(i+1)锛�<span style="width:290px;">@complaintRespondentDTOs[i].Contacts </span></td>
- <td align="left" width="50%">鑱旂郴鐢佃瘽@(i+1)锛�<span style="width:160px;">@complaintRespondentDTOs[i].Phone </span></td>
- </tr>
+ <tr>
+ <td colspan="2" align="left">琚姇璇変汉@(i+1)锛�<span style="width:480px;">@complaintRespondentDTOs[i].Respondent </span></td>
+ </tr>
+ <tr>
+ <td colspan="2" align="left">鍦板潃@(i+1)锛�<span style="width:290px;">@complaintRespondentDTOs[i].Address </span> @(string.IsNullOrEmpty(complaintRespondentDTOs[i].Postcode)?"":"閭紪锛�")@(i+1)锛�<span style="width:160px;">@complaintRespondentDTOs[i].Postcode </span></td>
+ </tr>
+ <tr>
+ <td align="left" width="50%">鑱旂郴浜篅(i+1)锛�<span style="width:290px;">@complaintRespondentDTOs[i].Contacts </span></td>
+ <td align="left" width="50%">鑱旂郴鐢佃瘽@(i+1)锛�<span style="width:160px;">@complaintRespondentDTOs[i].Phone </span></td>
+ </tr>
}
@@ -189,29 +192,29 @@
{
if (complaintGongyingshangDTOs.Count == 1)
{
- <tr>
- <td colspan="2" align="left">鐩稿叧渚涘簲鍟嗭細<span style="width:480px;">@complaintGongyingshangDTOs[i].Gongytingshang </span></td>
- </tr>
- <tr>
- <td colspan="2" align="left">鍦板潃锛�<span style="width:290px;">@complaintGongyingshangDTOs[i].Dizhi </span> @(string.IsNullOrEmpty(complaintGongyingshangDTOs[i].Youbian)?"":"閭紪锛�")<span style="width:160px;">@complaintGongyingshangDTOs[i].Youbian </span></td>
- </tr>
- <tr>
- <td align="left" width="50%">鑱旂郴浜猴細<span style="width:290px;">@complaintGongyingshangDTOs[i].Dizhi </span></td>
- <td align="left" width="50%">鑱旂郴鐢佃瘽锛�<span style="width:160px;">@complaintGongyingshangDTOs[i].Youbian </span></td>
- </tr>
+ <tr>
+ <td colspan="2" align="left">鐩稿叧渚涘簲鍟嗭細<span style="width:480px;">@complaintGongyingshangDTOs[i].Gongytingshang </span></td>
+ </tr>
+ <tr>
+ <td colspan="2" align="left">鍦板潃锛�<span style="width:290px;">@complaintGongyingshangDTOs[i].Dizhi </span> @(string.IsNullOrEmpty(complaintGongyingshangDTOs[i].Youbian)?"":"閭紪锛�")<span style="width:160px;">@complaintGongyingshangDTOs[i].Youbian </span></td>
+ </tr>
+ <tr>
+ <td align="left" width="50%">鑱旂郴浜猴細<span style="width:290px;">@complaintGongyingshangDTOs[i].Dizhi </span></td>
+ <td align="left" width="50%">鑱旂郴鐢佃瘽锛�<span style="width:160px;">@complaintGongyingshangDTOs[i].Youbian </span></td>
+ </tr>
}
else
{
- <tr>
- <td colspan="2" align="left">鐩稿叧渚涘簲鍟咢(i+1)锛�<span style="width:480px;">@complaintGongyingshangDTOs[i].Gongytingshang </span></td>
- </tr>
- <tr>
- <td colspan="2" align="left">鍦板潃@(i+1)锛�<span style="width:290px;">@complaintGongyingshangDTOs[i].Dizhi </span> @(string.IsNullOrEmpty(complaintGongyingshangDTOs[i].Youbian)?"":"閭紪锛�")@(i+1)锛�<span style="width:160px;">@complaintGongyingshangDTOs[i].Youbian </span></td>
- </tr>
- <tr>
- <td align="left" width="50%">鑱旂郴浜篅(i+1)锛�<span style="width:290px;">@complaintGongyingshangDTOs[i].Dizhi </span></td>
- <td align="left" width="50%">鑱旂郴鐢佃瘽@(i+1)锛�<span style="width:160px;">@complaintGongyingshangDTOs[i].Youbian </span></td>
- </tr>
+ <tr>
+ <td colspan="2" align="left">鐩稿叧渚涘簲鍟咢(i+1)锛�<span style="width:480px;">@complaintGongyingshangDTOs[i].Gongytingshang </span></td>
+ </tr>
+ <tr>
+ <td colspan="2" align="left">鍦板潃@(i+1)锛�<span style="width:290px;">@complaintGongyingshangDTOs[i].Dizhi </span> @(string.IsNullOrEmpty(complaintGongyingshangDTOs[i].Youbian)?"":"閭紪锛�")@(i+1)锛�<span style="width:160px;">@complaintGongyingshangDTOs[i].Youbian </span></td>
+ </tr>
+ <tr>
+ <td align="left" width="50%">鑱旂郴浜篅(i+1)锛�<span style="width:290px;">@complaintGongyingshangDTOs[i].Dizhi </span></td>
+ <td align="left" width="50%">鑱旂郴鐢佃瘽@(i+1)锛�<span style="width:160px;">@complaintGongyingshangDTOs[i].Youbian </span></td>
+ </tr>
}
@@ -247,11 +250,11 @@
鎶曡瘔浜轰簬<span>@(Model.ChallengeDateName)</span>锛屽悜<span>@(Model.Questioned)</span>鎻愬嚭璐ㄧ枒锛岃川鐤戜簨椤逛负锛�
@if (string.IsNullOrEmpty(Model.SqdbId))
{
- @Html.Raw("<span>銆�銆�銆�銆�銆�銆�銆�銆�銆�銆�銆�銆�銆�銆�銆�銆�銆�銆�銆�銆�銆�銆�銆�銆�銆�銆�</span>");
+ @Html.Raw("<span>銆�銆�銆�銆�銆�銆�銆�銆�銆�銆�銆�銆�銆�銆�銆�銆�銆�銆�銆�銆�銆�銆�銆�銆�銆�銆�</span>");
}
else
{
- @Html.Raw("<span>" + @Model.SqdbId + "</span>");
+ @Html.Raw("<span>" + @Model.SqdbId + "</span>");
}
@@ -274,92 +277,94 @@
{
if (complaintItemDTOs.Count == 1)
{
- <tr>
- <td colspan="2">
- 鎶曡瘔浜嬮」锛�<span style="text-indent:10px">@complaintItemDTOs[i].QuestionName </span>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- 浜嬪疄渚濇嵁锛� @Html.Raw("<span>" + (string.IsNullOrEmpty(complaintItemDTOs[i].Evidential) ? "" : complaintItemDTOs[i].Evidential.Replace(" ", " ").Replace("\r", "<br/>")) + "</span>")
- </td>
- </tr>
+ <tr>
+ <td colspan="2">
+ 鎶曡瘔浜嬮」锛�<span style="text-indent:10px">@(string.IsNullOrEmpty(complaintItemDTOs[i].Questionname)? complaintItemDTOs[i].QuestionName: complaintItemDTOs[i].Questionname) </span>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ 浜嬪疄渚濇嵁锛� @Html.Raw("<span>" + (string.IsNullOrEmpty(complaintItemDTOs[i].Evidential) ? "" : complaintItemDTOs[i].Evidential.Replace(" ", " ").Replace("\r", "<br/>")) + "</span>")
+ </td>
+ </tr>
- <tr>
- <td colspan="2">
- 娉曞緥渚濇嵁锛�
- @for (int j = 0; j < complaintItemDTOs[i].sysCodeDtls.Count; j++)
+ <tr>
+ <td colspan="2">
+ 娉曞緥渚濇嵁锛�
+ @for (int j = 0; j < complaintItemDTOs[i].sysCodeDtls.Count; j++)
{
var sssss = "";
- if(j == 0 || complaintItemDTOs[i].sysCodeDtls[j].Classify3 != complaintItemDTOs[i].sysCodeDtls[j-1].Classify3){
- if (complaintItemDTOs[i].sysCodeDtls[j].Classify3.IndexOf("銆�")>=0)
+ if (j == 0 || complaintItemDTOs[i].sysCodeDtls[j].Classify3 != complaintItemDTOs[i].sysCodeDtls[j - 1].Classify3)
{
- sssss = "銆�" + complaintItemDTOs[i].sysCodeDtls[j].Classify3.Insert(complaintItemDTOs[i].sysCodeDtls[j].Classify3.IndexOf("銆�"), "銆�");
+ if (complaintItemDTOs[i].sysCodeDtls[j].Classify3.IndexOf("銆�") >= 0)
+ {
+ sssss = "銆�" + complaintItemDTOs[i].sysCodeDtls[j].Classify3.Insert(complaintItemDTOs[i].sysCodeDtls[j].Classify3.IndexOf("銆�"), "銆�");
+ }
+ else
+ {
+ sssss = "銆�" + complaintItemDTOs[i].sysCodeDtls[j].Classify3 + "銆�";
+ }
}
- else
- {
- sssss = "銆�" + complaintItemDTOs[i].sysCodeDtls[j].Classify3 + "銆�";
- }
- }
-
+
if (j != (complaintItemDTOs[i].sysCodeDtls.Count - 1))
{
- @Html.Raw(sssss + complaintItemDTOs[i].sysCodeDtls[j].Classify2 + "銆�")
+ @Html.Raw(sssss + complaintItemDTOs[i].sysCodeDtls[j].Classify2 + "銆�")
}
else
{
- @Html.Raw(sssss + complaintItemDTOs[i].sysCodeDtls[j].Classify2)
+ @Html.Raw(sssss + complaintItemDTOs[i].sysCodeDtls[j].Classify2)
}
}
- </td>
- </tr>
+ </td>
+ </tr>
}
else
{
- <tr>
- <td colspan="2">
- 鎶曡瘔浜嬮」@((i+1)+"")锛�<span style="text-indent:10px">@complaintItemDTOs[i].QuestionName </span>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- 浜嬪疄渚濇嵁@((i+1)+"")锛欯Html.Raw("<span>" + (string.IsNullOrEmpty(complaintItemDTOs[i].Evidential) ? "" : complaintItemDTOs[i].Evidential.Replace(" ", " ").Replace("\r", "<br/>")) + "</span>")
- </td>
- </tr>
- <tr>
- <td colspan="2">
- 娉曞緥渚濇嵁锛�
- @for (int j = 0; j < complaintItemDTOs[i].sysCodeDtls.Count; j++)
+ <tr>
+ <td colspan="2">
+ 鎶曡瘔浜嬮」@((i+1)+"")锛�<span style="text-indent:10px">@(string.IsNullOrEmpty(complaintItemDTOs[i].Questionname)? complaintItemDTOs[i].QuestionName: complaintItemDTOs[i].Questionname) </span>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ 浜嬪疄渚濇嵁锛欯Html.Raw("<span>" + (string.IsNullOrEmpty(complaintItemDTOs[i].Evidential) ? "" : complaintItemDTOs[i].Evidential.Replace(" ", " ").Replace("\r", "<br/>")) + "</span>")
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ 娉曞緥渚濇嵁锛�
+ @for (int j = 0; j < complaintItemDTOs[i].sysCodeDtls.Count; j++)
{
var sssss = "";
- if(j == 0 || complaintItemDTOs[i].sysCodeDtls[j].Classify3 != complaintItemDTOs[i].sysCodeDtls[j-1].Classify3){
- if (complaintItemDTOs[i].sysCodeDtls[j].Classify3.IndexOf("銆�")>=0)
+ if (j == 0 || complaintItemDTOs[i].sysCodeDtls[j].Classify3 != complaintItemDTOs[i].sysCodeDtls[j - 1].Classify3)
{
- sssss = "銆�" + complaintItemDTOs[i].sysCodeDtls[j].Classify3.Insert(complaintItemDTOs[i].sysCodeDtls[j].Classify3.IndexOf("銆�"), "銆�");
+ if (complaintItemDTOs[i].sysCodeDtls[j].Classify3.IndexOf("銆�") >= 0)
+ {
+ sssss = "銆�" + complaintItemDTOs[i].sysCodeDtls[j].Classify3.Insert(complaintItemDTOs[i].sysCodeDtls[j].Classify3.IndexOf("銆�"), "銆�");
+ }
+ else
+ {
+ sssss = "銆�" + complaintItemDTOs[i].sysCodeDtls[j].Classify3 + "銆�";
+ }
}
- else
- {
- sssss = "銆�" + complaintItemDTOs[i].sysCodeDtls[j].Classify3 + "銆�";
- }
- }
if (j != (complaintItemDTOs[i].sysCodeDtls.Count - 1))
{
- @Html.Raw(sssss + complaintItemDTOs[i].sysCodeDtls[j].Classify2 + "銆�")
+ @Html.Raw(sssss + complaintItemDTOs[i].sysCodeDtls[j].Classify2 + "銆�")
}
else
{
- @Html.Raw(sssss + complaintItemDTOs[i].sysCodeDtls[j].Classify2)
+ @Html.Raw(sssss + complaintItemDTOs[i].sysCodeDtls[j].Classify2)
}
}
- </td>
- </tr>
+ </td>
+ </tr>
}
@@ -368,12 +373,45 @@
<tr>
<td colspan="2"><b>浜斻�佷笌鎶曡瘔浜嬮」鐩稿叧鐨勬姇璇夎姹�</b></td>
</tr>
- <tr>
- <td colspan="2" align="left">璇锋眰锛�<span>@Model.RequestInfoName</span></td>
- </tr>
+ @{
+ @for (int i = 0; i < challengeRequestInfoDTOs.Count; i++)
+ {
+ if (challengeRequestInfoDTOs.Count == 1)
+ {
+ <tr>
+ <td colspan="2">
+ 璇锋眰锛�<span style="text-indent:10px">@(string.IsNullOrEmpty(challengeRequestInfoDTOs[i].RequestInfoname)? challengeRequestInfoDTOs[i].RequestInfoNameName: challengeRequestInfoDTOs[i].RequestInfoname) </span>
+ </td>
+ </tr>
+
+
+
+
+
+
+ }
+ else
+ {
+ <tr>
+ <td colspan="2">
+ 璇锋眰@((i + 1) + "")锛�<span style="text-indent:10px">@(string.IsNullOrEmpty(challengeRequestInfoDTOs[i].RequestInfoname)? challengeRequestInfoDTOs[i].RequestInfoNameName: challengeRequestInfoDTOs[i].RequestInfoname) </span>
+ </td>
+ </tr>
+
+
+
+
+
+ }
+
+ }
+ }
@*<tr>
- <td colspan="2" style="height:15px"></td>
- </tr>*@
+ <td colspan="2" align="left">璇锋眰锛�<span>@Model.RequestInfoName</span></td>
+ </tr>*@
+ @*<tr>
+ <td colspan="2" style="height:15px"></td>
+ </tr>*@
<tr>
<td align="left">绛惧瓧(绛剧珷)锛�</td>
<td align="left">鍏珷锛�</td>
@@ -423,7 +461,7 @@
<td colspan="2" style="height:50px"></td>
</tr>
<tr>
- <td colspan="2" align="right">宸濆嵃鏂囧寲闆嗗洟鑲′唤鏈夐檺鍏徃锛堝叕绔狅級<img src="~/img/images/gongzhang.png?v=3" alt="" id="zhutiqiznhang" /></td>
+ <td colspan="2" align="right">宸濆嵃鏂囧寲闆嗗洟鑲′唤鏈夐檺鍏徃锛堝叕绔狅級</td>
</tr>
<tr>
<td colspan="2" align="right">鏃ユ湡锛欯Model.Modifytime.Value.ToString("yyyy骞碝M鏈坉d鏃�")</td>
--
Gitblit v1.9.1