1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- {extend name="common/common2" /}
- {block name="main"}
- <style>
- .custom-table th,td{
- padding: 10px;
- }
- .custom-table th{
- width: 120px;
- text-align: left;
- }
- .custom-table .custom-table-th{
- width: 120px;
- text-align: right;
- font-weight: bold;
- background-color: #F5F5F6;
- }
- </style>
- <div class="row">
- <div class="col-sm-12">
- <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['form']}</td>
- </tr>
- <tr>
- <th class="custom-table-th">地点</th><td>{$info['address']}</td>
- </tr>
- <tr>
- <th class="custom-table-th">开始时间</th><td>{$info['start']}</td>
- </tr>
- <tr>
- <th class="custom-table-th">结束时间</th><td>{$info['end']}</td>
- </tr>
- <tr>
- <th class="custom-table-th">备注</th><td>{$info['remark']}</td>
- </tr>
- <tr>
- <th class="custom-table-th">人员</th><td>{$info['users']}</td>
- </tr>
- <tr>
- <th class="custom-table-th">状态</th>
- <td>
- {if($info['enable']==0)}
- 未完成
- {else /}
- 已完成
- {/if}
- </td>
- </tr>
- {if condition="$info['enable'] eq 1"}
- <tr>
- <th class="custom-table-th">完成人</th><td>{$info['finish_user']}</td>
- </tr>
- <tr>
- <th class="custom-table-th">汇报内容</th><td>{$info['content']}</td>
- </tr>
- {notempty name="info['imgs']"}
- <tr>
- <th class="custom-table-th">汇报图片</th>
- <td>
- {foreach $info['imgs'] as $key=>$val}
- <img onclick="open_img(this)" src="{$val}" width="40" height="40" style="margin-right: 5px;">
- {/foreach}
- </td>
- </tr>
- {/notempty}
- <tr>
- <th class="custom-table-th">完成时间</th><td>{$info['finish_time']}</td>
- </tr>
- {/if}
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </div>
- {/block}
|