{extend name="common/common2" /}
{block name="main"}
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <table class="table table-bordered  custom-table">
            <tbody>
            <tr>
                <th  class="custom-table-th">编号</th><td>{$info['id']}</td>
            </tr>
            <tr>
                <th class="custom-table-th">会议室</th><td>{$info['meeting_room']}</td>
            </tr>
            <tr>
                <th class="custom-table-th">申请人</th><td>{$info['apply_user']}</td>
            </tr>
            <tr>
                <th class="custom-table-th">使用部门</th><td>{$info['dep_name']}</td>
            </tr>
            <tr>
                <th class="custom-table-th">申请日期</th><td>{$info['create_time']}</td>
            </tr>
            <tr>
                <th class="custom-table-th">开始时间</th><td>{$info['start_time']}</td>
            </tr>
            <tr>
                <th class="custom-table-th">结束时间</th><td>{$info['end_time']}</td>
            </tr>
            <tr>
                <th class="custom-table-th">状态</th>
                {if condition="$info['status'] eq 0"}
                <td><span class="text-primary">审核中</span></td>
                {elseif condition="$info['status'] eq 1"}
                <td><span class="text-info">已同意</span></td>
                {elseif condition="$info['status'] eq 2"}
                <td><span class="text-danger">已拒绝</span></td>
                {elseif condition="$info['status'] eq 3"}
                <td><span class="text-muted">已取消</span></td>
                {/if}
            </tr>

            <tr>
                <th class="custom-table-th">参会人数</th><td>{$info['nums']}</td>
            </tr>
            <tr>
                <th class="custom-table-th">参会人员</th><td>{$info['user_name']}</td>
            </tr>
            <tr>
                <th class="custom-table-th">设备</th><td>{$info['meeting_devices']}</td>
            </tr>
            <tr>
                <th class="custom-table-th">横幅</th><td>{$info['banner']}</td>
            </tr>
            <tr>
                <th class="custom-table-th">会议内容</th><td>{$info['theme']}</td>
            </tr>
            {if ($info['status'] == 1 || $info['status'] == 2) }
            <tr>
                <th class="custom-table-th">审批人</th><td>{$info['approver_user']}</td>
            </tr>
            <tr>
                <th class="custom-table-th">审批意见</th><td>{$info['apply_remark']}</td>
            </tr>
            <tr>
                <th class="custom-table-th">审批日期</th><td>{$info['apply_time']}</td>
            </tr>
            {/if}


            {if ($info['status'] == 3)}
            <tr>
                <th class="custom-table-th">取消日期</th><td>{$info['cancel_time']}</td>
            </tr>
            {/if}

            </tbody>
        </table>
    </div>
</div>
{/block}