details.html 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. {extend name="common/common2" /}
  2. {block name="main"}
  3. <div class="row">
  4. <div class="col-sm-12">
  5. <div class="ibox float-e-margins">
  6. <div class="ibox-title">
  7. <h5>访客记录详情</h5>
  8. <div class="ibox-tools">
  9. <a class="toback" href="{:url('index')}">
  10. 返回上一页
  11. </a>
  12. </div>
  13. </div>
  14. <div class="ibox-content">
  15. <div class="jqGrid_wrapper">
  16. <table id="table" style="border-collapse: collapse"></table>
  17. <div id="pager"></div>
  18. </div>
  19. <div class="ibox-content">
  20. <table class="table table-bordered">
  21. <tbody>
  22. <tr>
  23. <th style="width:80px ">编号</th><td>{$info['id']}</td>
  24. </tr>
  25. <tr>
  26. <th>服务</th><td>{$info['service_name']}</td>
  27. </tr>
  28. <tr>
  29. <th>姓名</th><td>{$info['name']}</td>
  30. </tr>
  31. <tr>
  32. <th>电话</th><td>{$info['phone']}</td>
  33. </tr>
  34. <tr>
  35. <th>类型</th>
  36. {if condition="$info['type'] eq 1"}
  37. <td>访客登记</td>
  38. {elseif condition="$info['type'] eq 2"}
  39. <td>现场登记</td>
  40. {elseif condition="$info['type'] eq 2"}
  41. <td>个人访客登记</td>
  42. {/if}
  43. </tr>
  44. <tr>
  45. <th>日期时间段</th><td>{$info['time']}</td>
  46. </tr>
  47. <tr>
  48. <th>单位</th><td>{$info['company']}</td>
  49. </tr>
  50. <tr>
  51. <th>车牌号</th><td>{$info['plate_sn']}</td>
  52. </tr>
  53. <tr>
  54. <th>到访事由</th><td>{$info['content']}</td>
  55. </tr>
  56. <tr>
  57. <th>到访时间</th><td>{$info['book_time']}</td>
  58. </tr>
  59. <tr>
  60. <th>被拜访人</th><td>{$info['form_user']}</td>
  61. </tr>
  62. <tr>
  63. <th>状态</th>
  64. {if condition="$info['status'] eq 0"}
  65. <td>审核中</td>
  66. {elseif condition="$info['status'] eq 1"}
  67. <td>已预约</td>
  68. {elseif condition="$info['status'] eq 2"}
  69. <td>已使用</td>
  70. {elseif condition="$info['status'] eq 3"}
  71. <td>已过期</td>
  72. {elseif condition="$info['status'] eq 3"}
  73. <td>已拒绝</td>
  74. {/if}
  75. </tr>
  76. </tbody>
  77. </table>
  78. </div>
  79. </div>
  80. </div>
  81. </div>
  82. </div>
  83. {/block}