1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- {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><td>{$info['task_addr']}</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>
- {/if}
- </tr>
- </tbody>
- </table>
- </div>
- {if !empty($recordList)}
- <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>
- <th>操作</th>
- </tr>
- </thead>
- <tbody>
- {foreach $recordList as $k=>$v}
- <tr>
- <td>{$v.task_user}</td>
- <td>{$v.title}</td>
- <td>{$v.content}</td>
- <td>{$v.create_time}</td>
- <td><a href="{:url('DailyRecord/details',[],'')}/id/{$v.id}"><span class="label label-info" title="详情">详情</span></a></td>
- </tr>
- {/foreach}
- </tbody>
- </table>
- </div>
- {/if}
- </div>
- </div>
- </div>
- {/block}
|