detail.html 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. {extend name="common/common2" /}
  2. {block name="main"}
  3. <style>
  4. .custom-table th,td{
  5. padding: 10px;
  6. }
  7. .custom-table th{
  8. width: 120px;
  9. text-align: left;
  10. }
  11. .custom-table .custom-table-th{
  12. width: 120px;
  13. text-align: right;
  14. font-weight: bold;
  15. background-color: #F5F5F6;
  16. }
  17. </style>
  18. <div class="row">
  19. <div class="col-sm-12">
  20. <div class="ibox float-e-margins">
  21. <div class="ibox-content">
  22. <table class="table table-bordered custom-table">
  23. <tbody>
  24. <tr>
  25. <th class="custom-table-th">任务项</th><td>{$info['form']}</td>
  26. </tr>
  27. <tr>
  28. <th class="custom-table-th">地点</th><td>{$info['address']}</td>
  29. </tr>
  30. <tr>
  31. <th class="custom-table-th">开始时间</th><td>{$info['start']}</td>
  32. </tr>
  33. <tr>
  34. <th class="custom-table-th">结束时间</th><td>{$info['end']}</td>
  35. </tr>
  36. <tr>
  37. <th class="custom-table-th">备注</th><td>{$info['remark']}</td>
  38. </tr>
  39. <tr>
  40. <th class="custom-table-th">人员</th><td>{$info['users']}</td>
  41. </tr>
  42. <tr>
  43. <th class="custom-table-th">状态</th>
  44. <td>
  45. {if($info['enable']==0)}
  46. 未完成
  47. {else /}
  48. 已完成
  49. {/if}
  50. </td>
  51. </tr>
  52. {if condition="$info['enable'] eq 1"}
  53. <tr>
  54. <th class="custom-table-th">完成人</th><td>{$info['finish_user']}</td>
  55. </tr>
  56. <tr>
  57. <th class="custom-table-th">汇报内容</th><td>{$info['content']}</td>
  58. </tr>
  59. {notempty name="info['imgs']"}
  60. <tr>
  61. <th class="custom-table-th">汇报图片</th>
  62. <td>
  63. {foreach $info['imgs'] as $key=>$val}
  64. <img onclick="open_img(this)" src="{$val}" width="40" height="40" style="margin-right: 5px;">
  65. {/foreach}
  66. </td>
  67. </tr>
  68. {/notempty}
  69. <tr>
  70. <th class="custom-table-th">完成时间</th><td>{$info['finish_time']}</td>
  71. </tr>
  72. {/if}
  73. </tbody>
  74. </table>
  75. </div>
  76. </div>
  77. </div>
  78. </div>
  79. {/block}