licence.js 694 B

123456789101112131415161718192021222324252627
  1. // 预售许可证
  2. $(function(){
  3. var html = '';
  4. $.ajax({
  5. url: "/housech/licence",
  6. data:{hid:lic_id},
  7. type: "POST",
  8. dataType: "json",
  9. success: function(data) {
  10. if (data.code == 200) {
  11. html+='<tr>';
  12. html+='<th>预售许可证</th>';
  13. html+='<th>绑定楼栋</th>';
  14. html+='<th>发证时间</th>';
  15. html+='</tr>';
  16. $.each(data.data, function (i, data) {
  17. html+='<tr>';
  18. html+='<td>'+data.permit+'</td>';
  19. html+='<td>'+data.building_num+'</td>';
  20. html+='<td>'+data.time+'</td>';
  21. html+='</tr>';
  22. });
  23. $('.y_licencemain .tabtop13').html(html);
  24. }
  25. }
  26. });
  27. })