details.html 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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="javascript:;" onclick="window.history.back()">-->
  10. <!--返回上一页-->
  11. <!--</a>-->
  12. <!--</div>-->
  13. <!--</div>-->
  14. <div class="ibox-content">
  15. <table class="table table-bordered">
  16. <tbody>
  17. <tr>
  18. <th style="width:120px ">编号</th><td>{$info['id']}</td>
  19. </tr>
  20. <tr>
  21. <th>任务地点名称</th><td>{$info['daily_name']}</td>
  22. </tr>
  23. <tr>
  24. <th>任务详情</th><td>{$info['daily_details']}</td>
  25. </tr>
  26. <tr>
  27. <th>工作人员</th><td>{$info['user_name']}</td>
  28. </tr>
  29. {if $info['zg_type'] >0}
  30. <tr>
  31. <th>整改状态</th><td>
  32. {if $info['zg_type']==1}整改中{/if}
  33. {if $info['zg_type']==2}已完成{/if}
  34. </td>
  35. </tr>
  36. {/if}
  37. <tr>
  38. <th>时间</th><td>{$info['create_time']}</td>
  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['result'] == 1)}
  56. <td><input type="checkbox" checked disabled></td>
  57. {else}
  58. <td><input type="checkbox" disabled></td>
  59. {/if}
  60. </tr>
  61. {/foreach}
  62. </tbody>
  63. </table>
  64. </td>
  65. </tr>
  66. <tr>
  67. <th>内容</th><td>{$info['content']}</td>
  68. </tr>
  69. <tr>
  70. <th>图片</th><td>
  71. {foreach $info['images'] as $k=>$v}
  72. <img src="{$v}" alt="" onclick="open_img(this)" style="width: 80px;height: 60px;" >
  73. {/foreach}
  74. </td>
  75. </tr>
  76. </tbody>
  77. </table>
  78. </div>
  79. </div>
  80. </div>
  81. </div>
  82. {/block}