details.html 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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',['mode'=>$mode])}">-->
  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. {if $info['zg_type'] >0}
  33. <tr>
  34. <th>整改状态</th><td>
  35. {if $info['zg_type']==1}整改中{/if}
  36. {if $info['zg_type']==2}已完成{/if}
  37. </td>
  38. </tr>
  39. {/if}
  40. <tr>
  41. <th>状态</th>
  42. {if condition="$info['is_normal'] eq 0"}
  43. <td>正常</td>
  44. {elseif condition="$info['is_normal'] eq 1"}
  45. <td>异常</td>
  46. {/if}
  47. </tr>
  48. {eq name="info['in_order']" value="1"}
  49. <tr>
  50. <th>时间状态</th>
  51. {if condition="$info['time'] eq 0"}
  52. <td>正常</td>
  53. {elseif condition="$info['time'] eq 1"}
  54. <td>异常</td>
  55. {/if}
  56. </tr>
  57. <tr>
  58. <th>标准完成时间段</th>
  59. <td>
  60. {$info['min']} ~ {$info['max']} 分
  61. </td>
  62. </tr>
  63. <tr>
  64. <th>实际完成时间</th>
  65. <td>
  66. {$info['wc_time']} 分
  67. </td>
  68. </tr>
  69. {/eq}
  70. <tr>
  71. <th>检查项</th>
  72. <td>
  73. {foreach $info['check_json'] as $kk=>$vv}
  74. <div>{$vv.title}</div>
  75. <table class="table table-bordered">
  76. <thead>
  77. <tr>
  78. <th>序号</th>
  79. <th>内容</th>
  80. <th>完成</th>
  81. <th>是否异常</th>
  82. </tr>
  83. </thead>
  84. <tbody>
  85. {foreach $vv['forms'] as $k=>$val}
  86. <tr>
  87. <td>{$k+1}</td>
  88. <td>{$val['title']}</td>
  89. {if ($val['type'] == 0)}
  90. <td><input type="checkbox" checked disabled></td>
  91. {else}
  92. <td>{$val['result']}</td>
  93. {/if}
  94. <td>
  95. {if isset($val['status'])}
  96. {if $val['status'] == 0}
  97. 异常
  98. {elseif($val['status'] == 1) /}
  99. 正常
  100. {/if}
  101. {/if}
  102. </td>
  103. </tr>
  104. {/foreach}
  105. </tbody>
  106. </table>
  107. {/foreach}
  108. </td>
  109. </tr>
  110. <tr>
  111. <th>设备图片</th><td>
  112. {foreach $info['images'] as $key=>$val}
  113. <img src="{$val}" onclick="open_img(this)" width="60" height="60" style="margin-right: 5px;">
  114. {/foreach}
  115. </td>
  116. </tr>
  117. <tr>
  118. <th>汇报内容</th><td>{$info['content']}</td>
  119. </tr>
  120. </tbody>
  121. </table>
  122. </div>
  123. </div>
  124. </div>
  125. </div>
  126. {/block}