details.html 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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>{$meta_title}</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['title']}</td>
  27. </tr>
  28. <tr>
  29. <th>设备详情</th><td>{$info['device_details']}</td>
  30. </tr>
  31. <tr>
  32. <th>汇报内容</th><td>{$info['content']}</td>
  33. </tr>
  34. {if $info['zg_type'] >0}
  35. <tr>
  36. <th>整改状态</th><td>
  37. {if $info['zg_type']==1}整改中{/if}
  38. {if $info['zg_type']==2}已完成{/if}
  39. </td>
  40. </tr>
  41. {/if}
  42. <tr>
  43. <th>汇报时间</th><td>{$info['create_time']}</td>
  44. </tr>
  45. <tr>
  46. <th>汇报图片</th><td>
  47. {foreach $info['images'] as $key=>$val}
  48. <img onclick="open_img(this)" src="{$val}" width="60" height="60">
  49. {/foreach}
  50. </td>
  51. </tr>
  52. <tr>
  53. <th>视频</th>
  54. <td>
  55. {if $info['video']}
  56. <video src="{$info['video']}"controls="controls" style="width:200px !important;height: 200px !important;"></video>
  57. {/if}
  58. </td>
  59. </tr>
  60. <tr>
  61. <th>维护表单</th><td>
  62. <table class="table table-bordered">
  63. <thead>
  64. <tr>
  65. <th>序号</th>
  66. <th>内容</th>
  67. <th>完成</th>
  68. </tr>
  69. </thead>
  70. <tbody>
  71. {foreach $info['check_json'] as $k=>$v}
  72. <tr>
  73. <td>{$k+1}</td>
  74. <td>{$v['title']}</td>
  75. {if ($v['result'] == 1)}
  76. <td><input type="checkbox" checked disabled></td>
  77. {else}
  78. <td><input type="checkbox" disabled></td>
  79. {/if}
  80. </tr>
  81. {/foreach}
  82. </tbody>
  83. </table>
  84. </td>
  85. </tr>
  86. </tbody>
  87. </table>
  88. </div>
  89. </div>
  90. <div class="ibox-content">
  91. </div>
  92. </div>
  93. </div>
  94. </div>
  95. {/block}