{extend name="common/common2" /} {block name="main"} <div class="row"> <div class="col-sm-12"> <div class="ibox float-e-margins"> <div class="ibox-title"> <h5>{$meta_title}</h5> <div class="ibox-tools"> <a class="toback" href="{:url('index')}"> 返回上一页 </a> </div> </div> <div class="ibox-content"> <table class="table"> <tbody> <tr> <th style="width:80px ">编号</th><td>{$info['id']}</td> </tr> <tr> <th>名称</th><td>{$info['task_name']}</td> </tr> <tr> <th>地点</th><td>{$info['addr']}</td> </tr> <tr> <th>任务内容</th><td>{$info['task_addr_form']}</td> </tr> <tr> <th>执行人</th><td>{$info['task_user']}</td> </tr> <tr> <th>状态</th> {if condition="$info['is_normal'] eq 0"} <td>正常</td> {elseif condition="$info['is_normal'] eq 1"} <td>异常</td> {/if} </tr> <tr> <th>检查项</th><td> <table class="table table-bordered"> <thead> <tr> <th>序号</th> <th>内容</th> <th>完成</th> </tr> </thead> <tbody> {foreach $info['check_json'] as $k=>$v} <tr> <td>{$k+1}</td> <td>{$v['title']}</td> {if ($v['type'] == 0)} <td><input type="checkbox" checked disabled></td> {else} <td>{$v['result']}</td> {/if} </tr> {/foreach} </tbody> </table> </td> </tr> <tr> <th>图片</th><td><img src="{$info['images']}" onclick="open_img(this)" style="width: 80px;height: 60px;" ></td> </tr> <tr> <th>汇报内容</th><td>{$info['content']}</td> </tr> </tbody> </table> </div> </div> </div> </div> {/block}