123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- {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>详情</h5>-->
- <!--<div class="ibox-tools">-->
- <!--<a class="toback" href="{:url('index')}">-->
- <!--返回上一页-->
- <!--</a>-->
- <!--</div>-->
- <!--</div>-->
- <div class="ibox-content">
- <div style='font-size: 18px;margin-bottom: 5px'>
- 计划信息
- </div>
- <table class="table table-bordered">
- <tbody>
- <tr>
- <th style="width:90px ">任务名称</th><td>{$info['title']}</td>
- </tr>
- <tr>
- <th>开始时间</th><td>{$info['start_time']}</td>
- </tr>
- <tr>
- <th>结束时间</th><td>{$info['end_time']}</td>
- </tr>
- <tr>
- <th>执行人员</th><td>{$info['task_user']}</td>
- </tr>
- <tr>
- <th>任务状态</th>
- {if condition="$info['status'] eq 0"}
- <td>未执行</td>
- {elseif condition="$info['status'] eq 1"}
- <td>执行中</td>
- {elseif condition="$info['status'] eq 2"}
- <td>已完成</td>
- {elseif condition="$info['status'] eq 3"}
- <td>已验收</td>
- {elseif condition="$info['timeout'] eq 1"}
- <td>(超时)</td>
- {/if}
- </tr>
- {if $info['status'] == 3}
- <tr>
- <th>验收人</th><td>{$info['check_user_name']}</td>
- </tr>
- <tr>
- <th>验收日期</th><td>{$info['chek_time']}</td>
- </tr>
- <tr>
- <th>验收报告</th><td>{$info['check_content']}</td>
- </tr>
- {/if}
- </tbody>
- </table>
- </div>
- <div class="ibox-content">
- {if !empty($info['formList'])}
- <div class="ibox-content">
- <div style='font-size: 18px;margin-bottom: 5px;'>记录情况</div>
- <table class="table table-bordered">
- <thead>
- <tr>
- <th>执行人</th>
- <th>内容</th>
- <th>执行时间</th>
- <th>详情</th>
- </tr>
- </thead>
- <tbody>
- {foreach $info['formList'] as $k=>$v}
- {if $v['record']}
- <tr>
- <td>{$v['record']['real_name']}</td>
- <td>{$v['record']['content']}</td>
- <td>{$v['record']['create_time']}</td>
- <td><a href="{:url('subDetail',['id'=>$v['record']['id']])}">详情</a> </td>
- </tr>
- {/if}
- {/foreach}
- </tbody>
- </table>
- </div>
- {/if}
- </div>
- </div>
- </div>
- </div>
- {/block}
|