Keine Beschreibung

PrintPreview-1.html 25KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>打印预览</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1">
  7. <script src="../js/jquery.min.js?v=2.1.4"></script>
  8. <script src="../Script/Common/huayi.load.js"></script>
  9. <script src="../Script/Common/huayi.config.js"></script>
  10. <script src="../js/jquery.cookie.js"></script>
  11. <!--</METAHTTP-EQUIV="Pragma" CONTENT="no-cache">
  12. </METAHTTP-EQUIV="Cache-Control" CONTENT="no-cache">
  13. </METAHTTP-EQUIV="Expires" CONTENT="0">-->
  14. <style>
  15. #main {
  16. width: 100%;
  17. /*margin: 0 auto;*/
  18. -webkit-box-shadow: 1px 1px 9px 2px #D2D2D2;
  19. box-shadow: 1px 1px 9px 2px #D2D2D2;
  20. background-color: #fff;
  21. padding: 100px 60px 80px 60px;
  22. font-size: 16px;
  23. }
  24. /*.yzimg {
  25. position: absolute;
  26. right: 2%;
  27. top: 10%;
  28. width: 276px;
  29. height: 260px;
  30. z-index: 99;
  31. }*/
  32. .yzimg {
  33. position: absolute;
  34. right: 2%;
  35. top: -20%;
  36. width: 350px;
  37. height: 460px;
  38. z-index: 99;
  39. }
  40. .alignC {
  41. text-align: center;
  42. border: #000;
  43. }
  44. .alignC h2 {
  45. font-family: "宋体";
  46. font-weight: 900;
  47. font-size: 26pt;
  48. letter-spacing: -1px;
  49. color: #000;
  50. }
  51. .headerAlign h3 div:nth-of-type(1) {
  52. font-size: 18pt;
  53. padding-top: 20px;
  54. text-align: left;
  55. font-weight: normal;
  56. margin-left: 38px;
  57. position: relative;
  58. }
  59. .headerAlign h3 {
  60. width: 646px;
  61. }
  62. .headerAlign .textCb {
  63. position: absolute;
  64. padding: 5px 12px;
  65. right: 32px;
  66. top: 30px;
  67. font-size: 16px;
  68. color: #e84545;
  69. border: 1px solid #e84545;
  70. display: none;
  71. }
  72. #main table {
  73. margin: 0 auto;
  74. width: 100%;
  75. border-collapse: collapse;
  76. font-size: 18pt;
  77. font-family: "宋体";
  78. color: #000;
  79. }
  80. tbody td {
  81. min-width: 10%;
  82. padding: 6px 0 6px 0;
  83. }
  84. .contentTitle {
  85. font-size: 18pt;
  86. font-family: "宋体";
  87. font-weight: 900;
  88. }
  89. .contentText {
  90. font-size: 18pt;
  91. font-family: "宋体";
  92. }
  93. .btn {
  94. margin-top: 4px;
  95. margin-bottom: 4px;
  96. background: #00a1cb;
  97. color: #fff;
  98. }
  99. .lxr,
  100. .mmdj,
  101. .jbyj,
  102. .cbyj,
  103. .ldps,
  104. .bljg {
  105. white-space: normal;
  106. word-break: break-all;
  107. }
  108. /* .mmdj,.lxr,.cbyj,.ldps,.bljg{
  109. width: 539px;
  110. display: inline-block;
  111. } */
  112. .jbyj {
  113. width: 558px;
  114. /* display: inline-block; */
  115. }
  116. .printdz {
  117. text-align: left;
  118. text-indent: .3em;
  119. padding: 4px;
  120. }
  121. .printdd {
  122. position: relative;
  123. text-align: justify;
  124. padding: 4px 2px 4px 4px;
  125. }
  126. .printnr,
  127. .printcb,
  128. .printldps,
  129. .printcljg {
  130. text-align: justify;
  131. padding: 4px;
  132. text-indent: 2em;
  133. }
  134. </style>
  135. <style media="print">
  136. /*设置打印样式 标题宋体加黑二号*/
  137. .yzimg {
  138. position: absolute !important;
  139. right: 2% !important;
  140. top: 10% !important;
  141. width: 213px !important;
  142. height: 200px !important;
  143. }
  144. .headerAlign h2 {
  145. font-family: "宋体" !important;
  146. font-weight: 900 !important;
  147. font-size: 22pt !important;
  148. letter-spacing: -1px !important;
  149. }
  150. .textCb {
  151. color: #e84545 !important;
  152. }
  153. .result_td {
  154. height: 200px !important;
  155. }
  156. .zhaiyao {
  157. height: 250px !important;
  158. }
  159. .headerAlign h3 div:nth-of-type(1) {
  160. font-size: 14pt !important;
  161. font-family: "宋体" !important;
  162. font-weight: 900 !important;
  163. margin-left: 98px !important;
  164. }
  165. .headerAlign h3 {
  166. width: 690px !important;
  167. }
  168. #main {
  169. padding: 35px 0 0 0 !important;
  170. position: relative !important;
  171. }
  172. #main table {
  173. font-size: 14pt !important;
  174. font-family: "宋体" !important;
  175. border-color: #000;
  176. color: #000;
  177. width: 860px !important;
  178. /*page-break-after:avoid !important;*/
  179. }
  180. tbody td {
  181. padding: 6px 0 6px 0 !important;
  182. }
  183. .contentTitle {
  184. width: 150px;
  185. font-family: "宋体" !important;
  186. font-size: 14pt;
  187. font-weight: 900;
  188. }
  189. .contentText {
  190. font-family: "宋体" !important;
  191. font-size: 14pt;
  192. }
  193. .printdz {
  194. text-align: left;
  195. text-indent: .3em;
  196. padding: 4px;
  197. }
  198. .printdd {
  199. position: relative;
  200. text-align: justify !important;
  201. padding: 4px 2px 4px 4px !important;
  202. }
  203. .printnr,
  204. .printcb,
  205. .printldps,
  206. .printcljg {
  207. text-align: justify !important;
  208. padding: 4px !important;
  209. text-indent: 2em !important;
  210. }
  211. @page {
  212. size: A4 portrait;
  213. }
  214. .printTr1 {
  215. height: 25px !important;
  216. }
  217. .printTr2 {
  218. height: 25px !important;
  219. }
  220. .printTr3 {
  221. height: 30px !important;
  222. }
  223. .printTr4 {
  224. height: 180px !important;
  225. }
  226. .printTr5 {
  227. height: 25px !important;
  228. }
  229. .printTr6 {
  230. height: 150px !important;
  231. }
  232. .printTr7 {
  233. height: 150px !important;
  234. }
  235. .printTr8 {
  236. height: 280px !important;
  237. }
  238. .contactNumber {
  239. font-size: 14pt !important;
  240. }
  241. .reviewer {
  242. font-size: 14pt !important;
  243. }
  244. </style>
  245. </head>
  246. <body>
  247. <!--startprint1-->
  248. <div id="main">
  249. <div class="alignC headerAlign">
  250. <h2 style="margin-bottom: 35px; margin-top: 0;">
  251. 安 阳 市 12345 政 务 服 务 热 线 交 办 单
  252. </h2>
  253. <span class="textCb">重办</span>
  254. </div>
  255. <table class="alignC" border="1" cellpadding="4" cellspacing="0" bordercolor="#cbcbcb">
  256. <tbody>
  257. <tr class="printTr1" style="height: 50px; font-size: 18pt;">
  258. <td class="contentTitle" rowspan="2" width="120px">事项编号
  259. </td>
  260. <td class="contentText" rowspan="2" width="130px">
  261. <span class="gdbhs"></span>
  262. </td>
  263. <td class="contentTitle" width="120px">工单来源</td>
  264. <td class="contentText" width="150px"><span id="sourceName"></span></td>
  265. <td class="contentTitle" width="120px">办理时限</td>
  266. <td class="contentText" width="150px"><span class="BLSX"></span></td>
  267. <td class="contentTitle" width="120px">联系电话</td>
  268. <td class="contentText" width="150px"><span class="lxdh"></span></td>
  269. </tr>
  270. <tr class="printTr2" style="height: 50px;">
  271. <td class="contentTitle" width="120px">签收时间</td>
  272. <td class="contentText"><span class="QSHJ"></span></td>
  273. <td class="contentTitle" width="120px">办理时间</td>
  274. <td class="contentText"><span class="tssj"></span></td>
  275. <td class="contentTitle" width="120px">来电人</td>
  276. <td class="contentText"><span class="gdbh"></span></td>
  277. </tr>
  278. <tr class="printTr3" style="height: 60px;">
  279. <td class="contentTitle">
  280. 事项区域
  281. </td>
  282. <td class="printdz contentText" colspan="7">
  283. <span class="mmdj"></span>
  284. </td>
  285. </tr>
  286. <tr class="printTr4" style="height: 340px;">
  287. <td class="contentTitle" width="60px" class="style1 zhaiyao">内容摘要
  288. </td>
  289. <td class="printnr contentText" colspan="7">
  290. <span class="lxr"></span>
  291. </td>
  292. </tr>
  293. <tr class="printTr5" style="height: 50px;">
  294. <td class="contentTitle">
  295. 承办单位
  296. </td>
  297. <td class="contentText" colspan="4">
  298. <span class="cbdw" style="padding-left: 5px;"></span>
  299. </td>
  300. <td class="contentTitle">
  301. 协办单位
  302. </td>
  303. <td class="contentText" colspan="2">
  304. <span class="xbdw" style="padding-left: 5px;display: inline-block;"></span>
  305. </td>
  306. </tr>
  307. <tr class="printTr6" style="height: 220px;">
  308. <td class="contentTitle">
  309. <span>调度意见</span>
  310. </td>
  311. <td class="printdd contentText" colspan="7">
  312. <img id="create_image" class="img yzimg" src="../img/yinzhangnew.png">
  313. <span class="jbyj"
  314. style="width: 100%;">&nbsp;&nbsp;请于1小时内与来电人取得联系(匿名除外),于5个工作日内将办理情况反馈来电人,并将办理结果报安阳市12345联动服务中心,同时做好匿名来电的信息保密工作。(若超期将进行通报;若无故不回复,将转交市纪委监委问责。)</span>
  315. <span class="nowtime"
  316. style="width:180px;float: right;margin-right: 20px;margin-bottom: 0px;font-size: 18pt;"></span>
  317. </td>
  318. </tr>
  319. <tr class="printTr7" style="height: 150px;">
  320. <td class="contentTitle">
  321. <span>承办意见</span>
  322. </td>
  323. <td class="printcb contentText" colspan="7">
  324. <span class="cbyj"></span>
  325. </td>
  326. </tr>
  327. <tr class="printTr7" style="height: 150px;">
  328. <td class="contentTitle">
  329. <span>领导批示</span>
  330. </td>
  331. <td class="printldps contentText" colspan="7">
  332. <span class="ldps"></span>
  333. </td>
  334. </tr>
  335. <tr class="result_td printTr8" style="height: 300px;">
  336. <td class="contentTitle">
  337. 处理结果
  338. </td>
  339. <td class="printcljg contentText" colspan="7">
  340. <span class="bljg"></span>
  341. </td>
  342. </tr>
  343. </tbody>
  344. </table>
  345. <div id="" style="width: 100%; height: 40px; margin-top: 15px;">
  346. <div class="contactNumber" id=""
  347. style="float: left;width: 300px; font-size: 18pt; font-family: '宋体'; color: #000; font-weight: 900;">
  348. <span>联系电话:</span><span>(0372)12345</span>
  349. </div>
  350. <div class="reviewer" id=""
  351. style="float: right;width: 500px; font-size: 18pt; font-family: '宋体'; color: #000; font-weight: 900;">
  352. <span>审核人:</span><span class="shr"></span>
  353. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  354. <span>调度员:</span><span class="ddr"></span>
  355. </div>
  356. </div>
  357. </div>
  358. <!--endprint1-->
  359. <div class="alignC">
  360. <!-- <input type="button" value="导出word" class="btn" id="btnExportWord" /> -->
  361. <input type="button" value="导出pdf" class="btn" id="btn-html2canvas" />
  362. <input type="button" value="打印" class="btn" onclick="preview(1)" />
  363. </div>
  364. <script src="../js/plugins/html2pdf/jspdf.debug.js"></script>
  365. <script src="../js/plugins/html2pdf/html2canvas.js"></script>
  366. <script src="../js/plugins/html2pdf/canvas2image.js"></script>
  367. <script src="../js/plugins/html2pdf/FileSaver.js"></script>
  368. <script src="../js/plugins/html2pdf/jquery.wordexport.js"></script>
  369. <script src="../js/sm2/sm2.js"></script>
  370. <script src="../js/sm2/decrypt.js"></script>
  371. <script type="text/javascript">
  372. var wid = helper.request.queryString("wid");
  373. var nowtime = '';
  374. var userCode = $.cookie("userCode");
  375. var roleCode = $.cookie("code");
  376. $(document).ready(function () {
  377. changeImgToDataurl()
  378. $('.nowtime').text(getCurrentDate())
  379. if (wid) {
  380. $.getJSON(huayi.config.callcenter_url + 'WorkOrder/GetWorkOrder', {
  381. workorderid: wid,
  382. "token": $.cookie("token")
  383. }, function (result) {
  384. if (result.state.toLowerCase() == "success") {
  385. var content = result.data;
  386. $(".gdbhs").text(content.data[0].F_WorkOrderId); //工单
  387. if (content.jbdata.length > 0) {
  388. $(".ddr").text(content.jbdata[0].F_CreateUser); //审核员
  389. }
  390. $(".shr").text(userCode); //审核员
  391. $(".tsfs").text(content.data[0].SourceName);
  392. var abstract
  393. if (content.data[0].F_Content === "" || content.data[0].F_Content === null) {
  394. abstract = "来电人反映:" + content.data[0].F_ComContent
  395. } else {
  396. abstract = "来电人反映:" + content.data[0].F_Content
  397. }
  398. $(".lxr").text(abstract); //内容
  399. if (content.data[0].F_IsReload > 0) {
  400. $(".textCb").show();
  401. } else {
  402. $(".textCb").remove();
  403. }
  404. var T = content.data[0].F_CreateTime; //受理时间
  405. if (T) {
  406. var S = T.substring(0, T.indexOf(' '));
  407. $('.tssj').text(S);
  408. }
  409. var sourceName = content.data[0].SourceName; //工单来源 20180524 by fanlongfei
  410. if (sourceName) {
  411. $('#sourceName').text(sourceName);
  412. }
  413. var assignHtml,assignedopinion
  414. debugger
  415. if(content.data[0].SourceName === '纪委'){
  416. assignHtml = '将转交市纪委监委问责。)'
  417. assignedopinion = "请于1小时内与来电人取得联系(匿名除外),并于5" +
  418. "个工作日内将办理情况反馈来电人,并将办理结果报安阳市12345联动服务中心,同时做好来电人信息保密工作。(若超期将进行通报;若无故不回复,"+ assignHtml
  419. }else{
  420. assignHtml = '将转交市委政府督查局问效。)'
  421. assignedopinion = "请于1小时内与来电人取得联系(匿名除外),并于5" +
  422. "个工作日内将办理情况反馈来电人,并将办理结果报安阳市12345联动服务中心,同时做好来电人信息保密工作。(若超期将进行通报;若无故不回复,"+ assignHtml
  423. }
  424. $(".jbyj").html(assignedopinion)
  425. if (content.jbdata.length > 0) {
  426. var qst = content.jbdata[content.jbdata.length - 1].F_SureTime; //签收时间
  427. if (qst) {
  428. var qs = qst.substring(0, qst.indexOf(' '));
  429. $('.QSHJ').text(qs);
  430. }
  431. var qst0 = content.jbdata[content.jbdata.length - 1].F_LimitTime; //办理时限
  432. if (qst0) {
  433. var qs0 = qst0.substring(0, qst0.indexOf(' '));
  434. $('.BLSX').html(qs0);
  435. }
  436. }
  437. $(".mmdj").text(content.data[0].F_SourceAddress || content.data[0].AreaName); //地址
  438. $(".tslx").text(content.data[0].TypeName1); //偶投诉类型
  439. // 6 || 7 || 9显示办理结果
  440. if (content.data[0].F_WorkState == '6' || content.data[0].F_WorkState == '7' ||
  441. content.data[0].F_WorkState == '9') {
  442. $(".bljg").text(content.data[0].F_Result); //单位处理结果
  443. }
  444. var phoneNumber = decryptFn(content.data[0].F_CusPhoneShow)
  445. //密级程度
  446. if (content.data[0].F_IsProtect == 0) {
  447. // 普通
  448. $('.lxdh').text(phoneNumber); //联系电话
  449. $(".gdbh").text(content.data[0].F_CusName); //来电人
  450. } else {
  451. // 保密
  452. if (!(roleCode === "ZXHWY" || roleCode === "ZXLD" || roleCode === "ZXBZ")) {
  453. $('.lxdh').text(phoneNumber); //联系电话
  454. $(".gdbh").text(content.data[0].F_CusName); //来电人
  455. }
  456. }
  457. //调度意见
  458. var m = content.jbdata.length;
  459. if (m > 0) {
  460. $('.cbdw').text(content.jbdata[m - 1].DeptName); //承办单位
  461. if (content.jbdata[m - 1].OtherDeptName) {
  462. $('#xbdws').show();
  463. $('.xbdw').text(content.jbdata[m - 1].OtherDeptName); //协办单位
  464. } else {
  465. $('#xbdws').hide();
  466. }
  467. if (content.jbdata[m - 1].F_AssignedOpinion) {
  468. var jbyjs = "&nbsp;&nbsp;&nbsp;&nbsp;" + content.jbdata[m - 1].F_AssignedOpinion;
  469. $(".jbyj").html(jbyjs)
  470. }
  471. }
  472. }
  473. })
  474. }
  475. //克隆一个table(因为显示样式与导出样式不一致,所有用此方法解决)
  476. var cloneDom = $(".dataTables_list").clone(true);
  477. //排版,不显示在页面上(不能用display:none,会导致无法生成url)
  478. cloneDom.css({
  479. "position": "absolute",
  480. "top": "0px",
  481. "z-index": "-1",
  482. "width": 600
  483. });
  484. //设置id(用于销毁,否则会导致页面重复生成table)
  485. cloneDom.attr("id", "tmp_datatable");
  486. $("body").append(cloneDom);
  487. //生成图片下载链接
  488. html2canvas(cloneDom[0]).then(function (canvas) {
  489. var imgUri = canvas.toDataURL();
  490. //销毁克隆对象
  491. cloneDom.empty();
  492. $("#tmp_datatable").remove();
  493. $("#create_image").attr('href', imgUri);
  494. $("#create_image").css("display", "");
  495. })
  496. $("#btn-html2canvas").on("click", function () {
  497. var pdf = new jsPDF('p', 'mm', 'a4');
  498. var filename = '安阳市12345政务服务热线交办单';
  499. //$('#ol_article_content').css("padding", "80px 0px")
  500. pdf.addHTML($('#main'), function () {
  501. pdf.output("save", filename)
  502. })
  503. //$("#main").wordExport();
  504. // parent.parent.layer.closeAll();
  505. });
  506. })
  507. function preview(oper) {
  508. //debugger;
  509. if (oper < 5) {
  510. bdhtml = window.document.body.innerHTML; //获取当前页的html代码
  511. sprnstr = "<!--startprint" + oper + "-->"; //设置打印开始区域
  512. eprnstr = "<!--endprint" + oper + "-->"; //设置打印结束区域
  513. prnhtml = bdhtml.substring(bdhtml.indexOf(sprnstr) + 18); //从开始代码向后取html
  514. print.portrait = true; //纵向打印
  515. prnhtml = prnhtml.substring(0, prnhtml.indexOf(eprnstr)); //从结束代码向前取html
  516. window.document.body.innerHTML = prnhtml;
  517. window.print();
  518. window.document.body.innerHTML = bdhtml;
  519. } else {
  520. window.print();
  521. }
  522. }
  523. GetData();
  524. function GetData() {
  525. var date = new Date;
  526. var year = date.getFullYear();
  527. var month = date.getMonth() + 1;
  528. var strDate = date.getDate();
  529. month = (month <= 9 ? "0" + month : month);
  530. strDate = (strDate <= 9 ? "0" + strDate : strDate)
  531. var mydate = (year.toString() + '年' + month.toString() + '月' + strDate.toString() + '日');
  532. $(".Data").text(mydate);
  533. }
  534. function changeImgToDataurl() {
  535. var charImg = document.getElementsByTagName("img");
  536. var imgURLs = "";
  537. for (var i = 0; i < charImg.length; i++) {
  538. var imgURL = charImg[i].currentSrc;
  539. getBase64(imgURL, charImg[i]);
  540. }
  541. }
  542. function getBase64(url, charImg) {
  543. var Img = new Image();
  544. Img.crossOrigin = "Anonymous"; //跨域必须使用,且后台也得设置允许跨域
  545. dataURL = '';
  546. Img.src = url;
  547. Img.onload = function () { //要先确保图片完整获取到,这是个异步事件
  548. var canvas = document.createElement("canvas"), //创建canvas元素
  549. width = Img.width, //确保canvas的尺寸和图片一样
  550. height = Img.height;
  551. canvas.width = width;
  552. canvas.height = height;
  553. canvas.getContext("2d").drawImage(Img, 0, 0, width, height); //将图片绘制到canvas中
  554. dataURL = canvas.toDataURL('image/jpg'); //转换图片为dataURL
  555. condataurl ? condataurl(dataURL, charImg) : null; //调用回调函数
  556. };
  557. }
  558. function condataurl(dataURL, charImg) {
  559. charImg.src = dataURL;
  560. //console.log(charImg);
  561. }
  562. // 获取当前时间
  563. function getCurrentDate() {
  564. var myDate = new Date()
  565. var year = myDate.getFullYear() // 年
  566. var month = myDate.getMonth() + 1 // 月
  567. var day = myDate.getDate() // 日
  568. var days = myDate.getDay()
  569. switch (days) {
  570. case 1:
  571. days = '星期一'
  572. break
  573. case 2:
  574. days = '星期二'
  575. break
  576. case 3:
  577. days = '星期三'
  578. break
  579. case 4:
  580. days = '星期四'
  581. break
  582. case 5:
  583. days = '星期五'
  584. break
  585. case 6:
  586. days = '星期六'
  587. break
  588. case 0:
  589. days = '星期日'
  590. break
  591. }
  592. var str = year + '年' + month + '月' + day + '日 '
  593. return str
  594. }
  595. $("#btnExportWord").click(function () {
  596. var url = huayi.config.callcenter_url + "WorkOrder/ExportWorkOrder?token=" + $.cookie("token");
  597. url += "&workorderid=" + wid
  598. var xhr = new XMLHttpRequest();
  599. xhr.open("GET", url, true);
  600. xhr.responseType = "blob";
  601. xhr.onload = function() {
  602. if (this.status === 200) {
  603. var blob = this.response;
  604. var a = document.createElement('a')
  605. var aurl = window.URL.createObjectURL(blob)
  606. a.href = aurl;
  607. a.download = wid + "_安阳市12345政务服务热线交办单.doc";
  608. a.click();
  609. }
  610. }
  611. xhr.send();
  612. })
  613. </script>
  614. </body>
  615. </html>