{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">
                <div class="jqGrid_wrapper">
                    <table id="table" style="border-collapse: collapse"></table>
                    <div id="pager"></div>
                </div>
                <div class="ibox-content">
                    <table class="table table-bordered">
                        <tbody>
                        <tr>
                            <th style="width:80px ">编号</th><td>{$info['id']}</td>
                        </tr>
                        <tr>
                            <th>设备名称</th><td>{$info['title']}</td>
                        </tr>
                        <tr>
                            <th>设备详情</th><td>{$info['device_details']}</td>
                        </tr>
                        <tr>
                            <th>汇报内容</th><td>{$info['content']}</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><td>{$info['create_time']}</td>
                        </tr>
                        <tr>
                            <th>汇报图片</th><td>
                            {foreach $info['images'] as $key=>$val}
                            <img onclick="open_img(this)" src="{$val}"  width="60" height="60">
                            {/foreach}
                        </td>
                        </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['result']  == 1)}
                                    <td><input type="checkbox" checked disabled></td>
                                    {else}
                                    <td><input type="checkbox"  disabled></td>
                                    {/if}


                                </tr>
                                {/foreach}
                                </tbody>
                            </table>
                        </td>
                        </tr>
                        </tbody>


                    </table>
                </div>
            </div>

            <div class="ibox-content">


            </div>

        </div>
    </div>
</div>
{/block}