| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 | <!doctype html><html lang="en"><head>    <meta charset="UTF-8">    <meta name="viewport"          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">    <meta http-equiv="X-UA-Compatible" content="ie=edge">    <title>巡更列表</title>    <link rel="stylesheet" href="/static/bootstrap-3.3.7/css/bootstrap.min.css" />    <style>        tr{            cursor: pointer;        }    </style></head><body><div>    <p><br></p>    <h3 class="text-center">巡更列表</h3>    <p><br></p>    <table class="table table-striped text-center" style="width: 100%">        <tr>            <th class="text-center">任务名称</th>            <th class="text-center">开始时间</th>            <th class="text-center">结束时间</th>            <th class="text-center">状态</th>            <th class="text-center">执行人</th>        </tr>        {notempty name="lists"}        {volist name="lists" id="v"}        <tr data-url="{:url('Todo/pdetail',['id'=>$v['id'],'orgId'=>$orgId])}" onclick="gotourl(this)">            <td>{$v.title}</td>            <td>{$v.start_time}</td>            <td>{$v.end_time}</td>            <td>                {eq name="v['status']" value="0"}未执行{/eq}                {eq name="v['status']" value="1"}执行中{/eq}                {eq name="v['status']" value="2"}已完成{/eq}                {eq name="v['status']" value="3"}未完成{/eq}                {eq name="v['status']" value="5"}中断{/eq}                {eq name="v['status']" value="6"}已关闭{/eq}            </td>            <td>{$v.users}</td>        </tr>        {/volist}        {else /}        <tr>            <td colspan="5">暂无数据</td>        </tr>        {/notempty}    </table>    <p><br></p></div><script src="/static/jquery-1.11.3.min.js"></script><script>    function gotourl(_self) {        window.location.href = $(_self).attr('data-url');    }</script></body></html>
 |