info.html 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. {extend name="common/common2" /}
  2. {block name="main"}
  3. <div class="row">
  4. <div class="col-sm-12">
  5. <div class="ibox float-e-margins">
  6. <div class="ibox-title">
  7. <h5>详情</h5>
  8. <div class="ibox-tools">
  9. <a class="toback" href="{:url('index')}">
  10. 返回上一页
  11. </a>
  12. </div>
  13. </div>
  14. <div class="ibox-content">
  15. <div style='font-size: 18px;margin-bottom: 5px'>
  16. 计划信息
  17. </div>
  18. <table class="table table-bordered">
  19. <tbody>
  20. <tr>
  21. <th style="width:90px ">任务名称</th><td>{$info['title']}</td>
  22. </tr>
  23. <tr>
  24. <th>开始时间</th><td>{$info['start_time']}</td>
  25. </tr>
  26. <tr>
  27. <th>结束时间</th><td>{$info['end_time']}</td>
  28. </tr>
  29. <tr>
  30. <th>执行人员</th><td>{$info['task_user']}</td>
  31. </tr>
  32. <tr>
  33. <th>执行地点</th><td>{$info['task_addr']}</td>
  34. </tr>
  35. <tr>
  36. <th>任务状态</th>
  37. {if condition="$info['status'] eq 0"}
  38. <td>未执行</td>
  39. {elseif condition="$info['status'] eq 1"}
  40. <td>执行中</td>
  41. {elseif condition="$info['status'] eq 2"}
  42. <td>已完成</td>
  43. {elseif condition="$info['status'] eq 3"}
  44. <td>未完成</td>
  45. {/if}
  46. </tr>
  47. </tbody>
  48. </table>
  49. </div>
  50. {if !empty($recordList)}
  51. <div class="ibox-content">
  52. <div style='font-size: 18px;margin-bottom: 5px;'>记录</div>
  53. <table class="table table-bordered">
  54. <thead>
  55. <tr>
  56. <th>执行人</th>
  57. <th>地点</th>
  58. <th>内容</th>
  59. <th>时间</th>
  60. <th>操作</th>
  61. </tr>
  62. </thead>
  63. <tbody>
  64. {foreach $recordList as $k=>$v}
  65. <tr>
  66. <td>{$v.task_user}</td>
  67. <td>{$v.title}</td>
  68. <td>{$v.content}</td>
  69. <td>{$v.create_time}</td>
  70. <td><a href="{:url('DailyRecord/details',[],'')}/id/{$v.id}"><span class="label label-info" title="详情">详情</span></a></td>
  71. </tr>
  72. {/foreach}
  73. </tbody>
  74. </table>
  75. </div>
  76. {/if}
  77. </div>
  78. </div>
  79. </div>
  80. {/block}