approve.html 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {block name="content"}
  2. <div class="think-box-shadow">
  3. <table class="layui-table margin-top-20" lay-skin="line">
  4. <thead>
  5. <tr>
  6. <th class='text-left nowrap'>审批人</th>
  7. <th class='text-left nowrap'>类型</th>
  8. <th class='text-left nowrap'>审批状态</th>
  9. <th class='text-left nowrap'>审批时间</th>
  10. <th class='text-left nowrap'>审批备注</th>
  11. <th class='text-left nowrap'>审批时长</th>
  12. </tr>
  13. </thead>
  14. <tbody>
  15. {foreach $list as $key=>$vo}
  16. <tr>
  17. <td class='text-left nowrap'>{$vo.approve_type == 1 ?'审批':'抄送'}</td>
  18. <td class='text-left nowrap'>{$vo.name}</td>
  19. <td class='text-left nowrap'>
  20. {eq name ='vo.status' value='0'}待审批{/eq}
  21. {eq name ='vo.status' value='1'}审批中{/eq}
  22. {eq name ='vo.status' value='2'}审批通过{/eq}
  23. {eq name ='vo.status' value='3'}审批拒绝{/eq}
  24. </td>
  25. <td class='text-left nowrap'>{$vo.approve_time|default='--'}</td>
  26. <td class='text-left nowrap'>{$vo.remark|default='--'}</td>
  27. <td class='text-left nowrap'>{$vo.time_desc|default='--'}</td>
  28. </tr>
  29. {/foreach}
  30. </tbody>
  31. </table>
  32. {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
  33. </div>
  34. {/block}