index.html 3.3 KB

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