details.html 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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><td>
  54. <table class="table table-bordered">
  55. <thead>
  56. <tr>
  57. <th>序号</th>
  58. <th>内容</th>
  59. <th>完成</th>
  60. </tr>
  61. </thead>
  62. <tbody>
  63. {foreach $info['check_json'] as $k=>$v}
  64. <tr>
  65. <td>{$k+1}</td>
  66. <td>{$v['title']}</td>
  67. {if ($v['result'] == 1)}
  68. <td><input type="checkbox" checked disabled></td>
  69. {else}
  70. <td><input type="checkbox" disabled></td>
  71. {/if}
  72. </tr>
  73. {/foreach}
  74. </tbody>
  75. </table>
  76. </td>
  77. </tr>
  78. </tbody>
  79. </table>
  80. </div>
  81. </div>
  82. <div class="ibox-content">
  83. </div>
  84. </div>
  85. </div>
  86. </div>
  87. {/block}