12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <!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>
- </tr>
- {notempty name="lists"}
- {volist name="lists" id="v"}
- <tr data-url="{:url('Todo/ddetail',['id'=>$v['id'],'orgId'=>$orgId])}" onclick="gotourl(this)">
- <td>{$v.title}</td>
- <td>{$v.daily_details}</td>
- <td>{$v.user_name}</td>
- <td>{$v.create_time}</td>
- </tr>
- {/volist}
- {else /}
- <tr>
- <td colspan="4">暂无数据</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>
|