cancelAapplication.jsp 4.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <%-- 退房注销申请表 --%>
  2. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  3. <jsp:include page="../../common/include.jsp" />
  4. <% String basePath = request.getScheme()+ "://" + request.getServerName() + ":" +request.getServerPort() + request.getContextPath(); %>
  5. <%String checkOutId = request.getParameter("checkOut.id");%>
  6. <!DOCTYPE html>
  7. <html>
  8. <head>
  9. <script type="text/javascript" src="<%=basePath%>/js/jquery.jqprint.js"></script>
  10. <style type="text/css">
  11. .content{
  12. font-size:20px;
  13. text-indent: 2em;
  14. line-height:40px;
  15. margin:10px 0;
  16. font-family: SimSun;
  17. }
  18. .content input{
  19. padding-left:5px;
  20. }
  21. .no{
  22. font-size:16px;
  23. font-weight: bold;
  24. font-family: SimSun;
  25. }
  26. input{
  27. border:none;
  28. border-bottom:1px solid #000;
  29. font-size:20px;
  30. font-family: SimSun;
  31. }
  32. @media print {
  33. #printBtn1 { display: none }
  34. }
  35. </style>
  36. <script type="text/javascript">
  37. window.onload=function(){
  38. document.getElementById('printBtn1').onclick=function(){
  39. window.print();
  40. }
  41. }
  42. $(function(){
  43. var checkOutNo ="";
  44. $.ajax({
  45. type: "post",//使用post方法访问后台
  46. dataType: "json",//返回json格式的数据
  47. url: "rent10Action_findByCheckOutHouseId",//要访问的后台地址
  48. data:{"checkOutHouse.id":<%=checkOutId%> },
  49. success: function(msg){//msg为返回的数据,在这里做数据绑定
  50. if(msg.success){
  51. checkOutNo = msg.obj.checkOutNo.slice(4);
  52. $("#checkOutNo").text(checkOutNo);
  53. $("#name").val(msg.obj.name);
  54. $("#idCard").val(msg.obj.idCard);
  55. $("#spouseName").val(msg.obj.spouseName);
  56. $("#spouseIdCard").val(msg.obj.spouseIdCard);
  57. $("#otherName").val(msg.obj.otherName);
  58. $("#address").val(msg.obj.address);
  59. $("#reason").val(msg.obj.reason);
  60. $("#reason").val(msg.obj.reason);
  61. $("#noDate").val(dealDate(msg.obj.noDate));
  62. }
  63. }
  64. });
  65. })
  66. </script>
  67. </head>
  68. <body>
  69. <input type="button" value="打印文档" id="printBtn1">
  70. <div style="width: 210mm;" class="printDiv">
  71. <div align="center"style="padding: 30px 0 10px 0;">
  72. <span style="font-size:26px;font-weight: bold;font-family: SimSun;">淮安市市区公共租赁住房保障资格注销申请书</span><br/>
  73. <span class="no">(编号:注销</span><span class="no" id="checkOutNo"></span><span class="no">号)</span>
  74. </div>
  75. <div style="width:650px;margin:0 auto;">
  76. <p><span style="font-size:20px;font-family: SimSun;">淮安市住房保障管理部门:</span></p>
  77. <p class="content">本人<input type="text" style="width:190px" id="name">(身份证号<input type="text" style="width:260px" id="idCard">)
  78. 与配偶<input type="text" style="width:210px" id="spouseName">(身份证号<input type="text" style="width:260px" id="spouseIdCard">)
  79. 及家庭成员<input type="text" style="width:200px" id="otherName">,配租<input type="text" style="width:290px" id="address">,
  80. 现因<input type="text" style="width:460px" id="reason">,经协商一致:申请注销淮安市区公共租赁住房保障资格。
  81. 根据《关于改进住房保障资格审查有关事项的通知》(淮房保办〔2016〕2号)规定,自放弃之日起2年内不得再次申请住房保障。</p>
  82. <p class="content">特此申请。</p>
  83. </div>
  84. <div style="width:650px;margin:0 auto;padding-top:30px;" class="content">
  85. <p style="text-align: right;">申请人:<input type="text" style="width:190px"></p>
  86. <p style="text-align: right;">配&nbsp;偶:<input type="text" style="width:190px"></p>
  87. <p style="text-align: right;">共同申请家庭成员:<input type="text" style="width:190px"></p>
  88. </div>
  89. <div style="width:650px;margin:0 auto;padding-top:50px;" class="content">
  90. <p style="text-align: right;">日期:<input type="text" style="width:190px" id="noDate"></p>
  91. </div>
  92. </div>
  93. </body>
  94. </html>