index.html 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <include file="public@header"/>
  2. </head>
  3. <body>
  4. <div class="wrap js-check-wrap">
  5. <ul class="nav nav-tabs">
  6. <li class="active"><a href="javascript:;">预约列表</a></li>
  7. </ul>
  8. <form class="well form-inline margin-top-20" method="post" action="{:url('AdminTalent/index')}">
  9. 姓名:
  10. <input type="text" class="form-control" name="name" style="width: 200px;"
  11. value="{$name|default=''}" placeholder="请输入姓名...">
  12. 手机号:
  13. <input type="text" class="form-control" name="mobile" style="width: 200px;"
  14. value="{$mobile|default=''}" placeholder="请输入手机号...">
  15. 班次:
  16. <input type="text" class="form-control" name="shift" style="width: 200px;"
  17. value="{$shift|default=''}" placeholder="请输入班次...">
  18. <input type="submit" class="btn btn-primary" value="搜索"/>
  19. <a class="btn btn-danger" href="{:url('AdminTalent/index')}">清空</a>
  20. </form>
  21. <form class="js-ajax-form" action="" method="post">
  22. <table class="table table-hover table-bordered table-list">
  23. <thead>
  24. <tr>
  25. <th width="100">姓名</th>
  26. <th width="120">手机号码</th>
  27. <th width="120">班次</th>
  28. <th width="120">出发时间</th>
  29. <th width="120">车票图片</th>
  30. <th width="120">预约提交时间</th>
  31. <th width="120">状态</th>
  32. <th width="120">满意度</th>
  33. <th>评价内容</th>
  34. <th width="150">操作</th>
  35. </tr>
  36. </thead>
  37. <foreach name="list" item="vo">
  38. <tr>
  39. <td>{$vo.name}</td>
  40. <td>{$vo.mobile}</td>
  41. <td>{$vo.shift}</td>
  42. <td>{$vo.start_time}</td>
  43. <td>
  44. <notempty name="vo.image">
  45. <div>
  46. <img src="{:cmf_get_image_preview_url($vo.image)}" style="width: 40px; height: 40px;">
  47. </div>
  48. </notempty>
  49. </td>
  50. <td>{$vo.create_time}</td>
  51. <td>{$vo.status_text}</td>
  52. <td>{$vo.rate}</td>
  53. <td>{$vo.rate_comment}</td>
  54. <td>
  55. <a class="btn btn-xs btn-primary" href="{:url('AdminAppointment/edit',array('id'=>$vo['id']))}">编辑</a>
  56. <a class="btn btn-xs btn-primary" href="javascript:log({$vo.id})">操作日志</a>
  57. </td>
  58. </tr>
  59. </foreach>
  60. </table>
  61. <ul class="pagination">{$page|default=''}</ul>
  62. </form>
  63. </div>
  64. <script src="__STATIC__/js/admin.js"></script>
  65. <script>
  66. function reloadPage(win) {
  67. win.location.reload();
  68. }
  69. function log(id) {
  70. Wind.css('layer');
  71. Wind.use("layer", function () {
  72. layer.open({
  73. type: 2,
  74. title: '操作日志',
  75. content: "{:url('AdminAppointment/log')}?id="+id,
  76. maxmin: true,
  77. area: ['1200px', '700px']
  78. });
  79. })
  80. }
  81. </script>
  82. </body>
  83. </html>