高新区管委会,以5.0标准版为基准,从双汇项目拷贝

registrantSituation.html 12KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>登记人情况</title>
  7. <!--[if lt IE 9]>
  8. <meta http-equiv="refresh" content="0;ie.html" />
  9. <![endif]-->
  10. <script src="../Script/Common/huayi.load.js"></script>
  11. <script src="../Script/Common/huayi.config.js"></script>
  12. <script src="../js/laydate/laydate.js"></script>
  13. <link rel="stylesheet" href="../js/layui/css/layui.css" />
  14. <link rel="stylesheet" href="../css/init.css" />
  15. <style>
  16. .zxt-top {
  17. background: #fefefe;
  18. height: 60px;
  19. padding: 10px 20px;
  20. }
  21. .topCon {
  22. float: right;
  23. margin-right: 45px;
  24. }
  25. .zxt-content {
  26. width: 90%;
  27. margin: 20px auto 0 auto;
  28. }
  29. .select2-container--default .select2-selection--single{
  30. border-color: #e5e6e7;
  31. }
  32. .time-box select{
  33. height: 32px;
  34. line-height: 32px;
  35. }
  36. .time-box select option{
  37. line-height: 32px;
  38. }
  39. .Shows {
  40. display: block !important;
  41. }
  42. .complain {
  43. display: none;
  44. }
  45. .daoHang {
  46. margin-bottom: 15px;
  47. }
  48. #main {
  49. width: 788.8px;
  50. margin: 0 auto;
  51. margin-top: 20px;
  52. -webkit-box-shadow: 1px 1px 9px 2px #D2D2D2;
  53. box-shadow: 1px 1px 9px 2px #D2D2D2;
  54. background-color: #fff;
  55. padding: 30px 60px 80px 60px;
  56. }
  57. .alignC {
  58. text-align: center;
  59. }
  60. .alignC h2 {
  61. font-family: "宋体";
  62. font-weight: bold;
  63. font-size: 22pt;
  64. letter-spacing: -1px;
  65. }
  66. .headerAlign h3 div:nth-of-type(1) {
  67. font-size: 14pt;
  68. padding-top: 20px;
  69. text-align: left;
  70. font-weight: normal;
  71. margin-left: 48px;
  72. }
  73. #main table {
  74. margin: 0 auto;
  75. width: 600px;
  76. border-collapse: collapse;
  77. font-size: 13pt;
  78. font-family: "仿宋";
  79. }
  80. #main table tr {
  81. min-height: 49px;
  82. }
  83. tbody td {
  84. min-width: 10%;
  85. padding: 6px 0 6px 0;
  86. }
  87. .alignC .tableHead {
  88. text-align: center;
  89. padding-left: 10px;
  90. font-weight: 600;
  91. }
  92. .btn {
  93. margin-top: 4px;
  94. margin-bottom: 4px;
  95. background: #00a1cb;
  96. color: #fff;
  97. }
  98. .time-box {
  99. display: inline-block;
  100. position: relative;
  101. }
  102. .toolLeft input {
  103. padding-right: 30px;
  104. width: 150px;
  105. }
  106. .tub {
  107. position: absolute;
  108. right: 8px;
  109. top: 5px;
  110. font-size: 18px;
  111. color: #00a0ca;
  112. }
  113. .btnPrint{
  114. background: #1e90ff;
  115. }
  116. </style>
  117. <style media="print">
  118. /*设置打印样式 标题宋体加黑二号*/
  119. .headerAlign h2 {
  120. font-family: "宋体" !important;
  121. font-weight: bold !important;
  122. font-size: 22pt !important;
  123. letter-spacing: -1px !important;
  124. }
  125. .textCb{
  126. color: #e84545 !important;
  127. }
  128. .headerAlign h3 div:nth-of-type(1) {
  129. font-size: 14pt !important;
  130. font-family: "宋体" !important;
  131. font-weight: normal !important;
  132. margin-left: 98px !important;
  133. }
  134. .headerAlign h3 {
  135. width: 690px !important;
  136. }
  137. #main {
  138. padding: 40px 0 0 0 !important;
  139. }
  140. #main table {
  141. font-size: 13pt !important;
  142. font-family: "仿宋" !important;
  143. border-color: #000;
  144. color: #000;
  145. width: 621px !important;
  146. /*page-break-after:avoid !important;*/
  147. }
  148. tbody td {
  149. padding: 6px 0 6px 0 !important;
  150. }
  151. .printdz {
  152. text-align: left;
  153. text-indent: .3em;
  154. padding: 4px;
  155. }
  156. .printdd {
  157. text-align: justify !important;
  158. padding: 4px 2px 4px 4px !important;
  159. }
  160. .printnr,
  161. .printcb,
  162. .printldps,
  163. .printcljg {
  164. text-align: justify !important;
  165. padding: 4px !important;
  166. text-indent: 2em !important;
  167. }
  168. @page {
  169. size: A4 portrait;
  170. }
  171. </style>
  172. </head>
  173. <body class="gray-bg">
  174. <div class="wrapper wrapper-content">
  175. <div class="Content_box">
  176. <div class="complain Shows">
  177. <div class="tab-content">
  178. <div class="tab-pane fade active in" style="text-align: center;">
  179. <!--startprint1-->
  180. <div id="main">
  181. <div class="alignC headerAlign">
  182. <br />
  183. <h2 style="margin-bottom: 15px;">登记人情况</h2>
  184. </div>
  185. <table id="weeklist" class="alignC" border="1" cellpadding="4" cellspacing="0" bordercolor="#cbcbcb">
  186. <tr>
  187. <td height="50px">姓名</td>
  188. <td id="printName" colspan="2"></td>
  189. <td>性别</td>
  190. <td id="printSex" colspan="2"></td>
  191. </tr>
  192. <tr>
  193. <td height="50px">来访日期</td>
  194. <td id="printDateVisit" colspan="2"></td>
  195. <td>身份证号码</td>
  196. <td id="printIDCard" colspan="2"></td>
  197. </tr>
  198. <tr>
  199. <td height="50px">电话</td>
  200. <td id="printPhone" colspan="2"></td>
  201. <td>来访人数</td>
  202. <td id="printNumberVisitors" colspan="2"></td>
  203. </tr>
  204. <tr>
  205. <td height="50px">身份证住址</td>
  206. <td id="printIDCardAddress" colspan="5"></td>
  207. </tr>
  208. <tr>
  209. <td height="50px">随访人姓名</td>
  210. <td id="printFollowerName" colspan="5"></td>
  211. </tr>
  212. <tr>
  213. <td height="220px">主要诉求</td>
  214. <td id="printMainAppeal" colspan="5"></td>
  215. </tr>
  216. <tr>
  217. <td height="150px">处置情况</td>
  218. <td id="printDisposalSituation" colspan="5"></td>
  219. </tr>
  220. <tr>
  221. <td width="15%" height="130px">通知单位</td>
  222. <td id="printNotificationUnit" width="15%"></td>
  223. <td width="15%">被通知单位人员</td>
  224. <td id="printNotifiedUnitPersonnel" width="15%"></td>
  225. <td width="15%">接访人员签名</td>
  226. <td id="printSignatureInterviewer" width="15%"></td>
  227. </tr>
  228. </table>
  229. </div>
  230. <!--endprint1-->
  231. <input type="button" value="打印" class="btn btnPrint" onclick="preview(1)" />
  232. </div>
  233. </div>
  234. </div>
  235. </div>
  236. </div>
  237. <script>
  238. var CallID = helper.request.queryString("CallID");
  239. $(document).ready(function () {
  240. getRegisterDetailByCallId()
  241. })
  242. //通过callid获取详情
  243. function getRegisterDetailByCallId() {
  244. $.get(huayi.config.callcenter_url + 'RegRecords/GetCallidDetails', {
  245. callid: CallID,
  246. "token": $.cookie("token")
  247. }, function(result) {
  248. result = $.parseJSON(result);
  249. if(result.state.toLowerCase() == "success") {
  250. var con = result.data.model;
  251. var conCus = result.data.cusmodel
  252. $("#printName").text(con.F_userName); //姓名
  253. $("#printPhone").text(con.F_userPhone); //电话
  254. $("#printSex").text(con.F_userSex); //性别
  255. $("#printIDCardAddress").text(con.F_userProvince + con.F_userCity + con.F_userArea + con.F_userAddress) //地址
  256. $("#printNotificationUnit").text(con.F_Unit); //被投诉单位
  257. $("#printMainAppeal").text(con.F_Content); //登记内容/投诉事项
  258. $("#printSignatureInterviewer").text(con.F_CreateBy); //登记人
  259. $("#printDateVisit").text(con.F_CreateOn); //登记时间
  260. }
  261. })
  262. }
  263. //登记类型
  264. function formatterRegisterType(val) {
  265. var formatterRegisterTypeArr = ["", "咨询", "投诉", "求助", "其他"]
  266. return formatterRegisterTypeArr[val]
  267. }
  268. //导出
  269. $(".export").click(function () {
  270. var url = huayi.config.callcenter_url + "Business/MarketInformation?token=" + $.cookie("token");
  271. url += "&sdate=" + ($('#startTime').val() ? $('#startTime').val().split('~')[0] : '') + "&edate=" + ($('#startTime').val() ? $('#startTime').val().split('~')[1] : '') + "&isdc=1";
  272. $(".export").attr('href', url);
  273. });
  274. function preview(oper) {
  275. //debugger;
  276. if(oper < 5) {
  277. bdhtml = window.document.body.innerHTML; //获取当前页的html代码
  278. sprnstr = "<!--startprint" + oper + "-->"; //设置打印开始区域
  279. eprnstr = "<!--endprint" + oper + "-->"; //设置打印结束区域
  280. prnhtml = bdhtml.substring(bdhtml.indexOf(sprnstr) + 18); //从开始代码向后取html
  281. print.portrait = true; //纵向打印
  282. prnhtml = prnhtml.substring(0, prnhtml.indexOf(eprnstr)); //从结束代码向前取html
  283. window.document.body.innerHTML = prnhtml;
  284. window.print();
  285. window.document.body.innerHTML = bdhtml;
  286. // parent.parent.layer.closeAll();
  287. // parent.parent.$('#orderlist').bootstrapTable('refresh');
  288. // parent.parent.layer.msg("操作成功!");
  289. } else {
  290. window.print();
  291. }
  292. }
  293. </script>
  294. </body>
  295. </html>