| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128 | {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',['mode'=>$mode])}">-->                        <!--返回上一页-->                    <!--</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>                    {if $info['zg_type'] >0}                    <tr>                        <th>整改状态</th><td>                        {if $info['zg_type']==1}整改中{/if}                        {if $info['zg_type']==2}已完成{/if}                    </td>                    </tr>                    {/if}                    <tr>                        <th>状态</th>                        {if condition="$info['is_normal'] eq 0"}                        <td>正常</td>                        {elseif condition="$info['is_normal'] eq 1"}                        <td>异常</td>                        {/if}                    </tr>                    {eq name="info['in_order']" value="1"}                    <tr>                        <th>时间状态</th>                        {if condition="$info['time'] eq 0"}                        <td>正常</td>                        {elseif condition="$info['time'] eq 1"}                        <td>异常</td>                        {/if}                    </tr>                    <tr>                        <th>标准完成时间段</th>                        <td>                            {$info['min']} ~ {$info['max']} 分                        </td>                    </tr>                    <tr>                        <th>实际完成时间</th>                        <td>                            {$info['wc_time']} 分                        </td>                    </tr>                    {/eq}                    <tr>                        <th>检查项</th>                        <td>                        {foreach $info['check_json'] as $kk=>$vv}                        <div>{$vv.title}</div>                        <table class="table table-bordered">                            <thead>                            <tr>                                <th>序号</th>                                <th>内容</th>                                <th>完成</th>                                <th>是否异常</th>                            </tr>                            </thead>                            <tbody>                            {foreach $vv['forms'] as $k=>$val}                            <tr>                                <td>{$k+1}</td>                                <td>{$val['title']}</td>                                {if ($val['type']  == 0)}                                <td><input type="checkbox" checked disabled></td>                                {else}                                <td>{$val['result']}</td>                                {/if}                                <td>                                    {if isset($val['status'])}                                        {if $val['status'] == 0}                                             异常                                        {elseif($val['status'] == 1) /}                                            正常                                        {/if}                                    {/if}                                </td>                            </tr>                            {/foreach}                            </tbody>                        </table>                        {/foreach}                        </td>                    </tr>                    <tr>                        <th>现场图片</th><td>                        {foreach $info['images'] as $key=>$val}                        <img src="{$val}" onclick="open_img(this)" width="60" height="60" style="margin-right: 5px;">                        {/foreach}                       </td>                    </tr>                    <tr>                        <th>汇报内容</th><td>{$info['content']}</td>                    </tr>                    </tbody>                </table>            </div>        </div>    </div></div>{/block}
 |