sub_detail.html 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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" onclick="window.history.go(-1)">
  10. 返回上一页
  11. </a>
  12. </div>
  13. </div>
  14. <div class="ibox-content">
  15. <div style='font-size: 18px;margin-bottom: 5px'>
  16. 记录详情
  17. </div>
  18. <table class="table table-bordered">
  19. <tbody>
  20. <tr>
  21. <th style="width:90px ">任务名称</th><td>{$info['task_title']}</td>
  22. </tr>
  23. <tr>
  24. <th>执行人员</th><td>{$info['user_name']}</td>
  25. </tr>
  26. <tr>
  27. <th>执行时间</th><td>{$info['create_time']}</td>
  28. </tr>
  29. <tr>
  30. <th>备注</th><td>{$info['content']}</td>
  31. </tr>
  32. <tr>
  33. <th>检查项</th>
  34. <td>
  35. {foreach $info['check_json'] as $k=>$v}
  36. {$v['addr']} {if $v['status'] == 1}<input type="checkbox" checked disabled />{else /}<input type="checkbox" disabled />{/if} &nbsp;
  37. {/foreach}
  38. </td>
  39. </tr>
  40. <tr>
  41. <th>使用耗材</th>
  42. <td>
  43. {foreach $info['items'] as $k1=>$v1}
  44. {$v1['title']}:{$v1['total']}个&nbsp;
  45. {/foreach}
  46. </td>
  47. </tr>
  48. </tbody>
  49. </table>
  50. </div>
  51. </div>
  52. </div>
  53. </div>
  54. {/block}