details.html 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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>
  34. {if condition="$info['is_normal'] eq 0"}
  35. <td>正常</td>
  36. {elseif condition="$info['is_normal'] eq 1"}
  37. <td>异常</td>
  38. {/if}
  39. </tr>
  40. <tr>
  41. <th>检查项</th><td>
  42. <table class="table table-bordered">
  43. <thead>
  44. <tr>
  45. <th>序号</th>
  46. <th>内容</th>
  47. <th>完成</th>
  48. </tr>
  49. </thead>
  50. <tbody>
  51. {foreach $info['check_json'] as $k=>$v}
  52. <tr>
  53. <td>{$k+1}</td>
  54. <td>{$v['title']}</td>
  55. {if ($v['type'] == 0)}
  56. <td><input type="checkbox" checked disabled></td>
  57. {else}
  58. <td>{$v['result']}</td>
  59. {/if}
  60. </tr>
  61. {/foreach}
  62. </tbody>
  63. </table>
  64. </td>
  65. </tr>
  66. <tr>
  67. <th>图片</th><td><img src="{$info['images']}" onclick="open_img(this)" style="width: 80px;height: 60px;" ></td>
  68. </tr>
  69. <tr>
  70. <th>汇报内容</th><td>{$info['content']}</td>
  71. </tr>
  72. </tbody>
  73. </table>
  74. </div>
  75. </div>
  76. </div>
  77. </div>
  78. {/block}