| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 | <!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>            <th class="text-center">派发时间</th>            <th class="text-center">执行人</th>        </tr>        {notempty name="lists"}        {volist name="lists" id="v"}        <tr data-url="{:url('Todo/detail',['id'=>$v['id'],'orgId'=>$orgId])}" onclick="gotourl(this)">            <td>                {eq name="v['mode']" value="1"}报修{/eq}                {eq name="v['mode']" value="2"}保洁{/eq}                {eq name="v['mode']" value="3"}运送{/eq}                {eq name="v['mode']" value="4"}隐患预警{/eq}            </td>            <td>{$v.status}</td>            <td>{$v.dep}</td>            <td>{$v.content}</td>            <td>{$v.create_time}</td>            <td>{$v.send_time}</td>            <td>{$v.names}</td>        </tr>        {/volist}        {else /}        <tr>            <td colspan="7">暂无数据</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>
 |