details.html 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. <table class="table">
  16. <tbody>
  17. <tr>
  18. <th style="width:80px ">编号</th><td>{$info['id']}</td>
  19. </tr>
  20. <tr>
  21. <th>名称</th><td>{$info['task_name']}</td>
  22. </tr>
  23. <tr>
  24. <th>检查内容</th><td>{$info['addr']}</td>
  25. </tr>
  26. <tr>
  27. <th>任务内容</th><td>{$info['task_addr_form']}</td>
  28. </tr>
  29. <tr>
  30. <th>执行人</th><td>{$info['task_user']}</td>
  31. </tr>
  32. <tr>
  33. <th>检查项</th><td>
  34. <table class="table table-bordered">
  35. <thead>
  36. <tr>
  37. <th>序号</th>
  38. <th>内容</th>
  39. <th>完成</th>
  40. </tr>
  41. </thead>
  42. <tbody>
  43. {foreach $info['check_json'] as $k=>$v}
  44. <tr>
  45. <td>{$k+1}</td>
  46. <td>{$v['title']}</td>
  47. {if ($v['type'] == 0)}
  48. <td><input type="checkbox" checked disabled></td>
  49. {else}
  50. <td>{$v['result']}</td>
  51. {/if}
  52. </tr>
  53. {/foreach}
  54. </tbody>
  55. </table>
  56. </td>
  57. </tr>
  58. <tr>
  59. <th>图片</th><td>
  60. {foreach $info['images'] as $key=>$val}
  61. <img src="{$val}" onclick="open_img(this)" width="60" height="60" style="margin-right: 5px;">
  62. {/foreach}
  63. </td>
  64. </tr>
  65. <tr>
  66. <th>汇报内容</th><td>{$info['content']}</td>
  67. </tr>
  68. </tbody>
  69. </table>
  70. </div>
  71. </div>
  72. </div>
  73. </div>
  74. {/block}