<table class="table table-striped work-list">
    <tr>
      <th class="hidden-xs">序号</th>
      <th>事务名称</th>
      <th>提交时间</th>
      <th>状态</th>
      <th>操作</th>
      <th>其他</th>
      <?php $userdata=$this->session->userdata('admin_chtcdn'); ?>
    </tr>
  	<?php foreach ($list as $key => $v) { ?>
    <tr>
      <td class="hidden-xs" scope="row"><?php echo ($key+1); ?></td>
      <td>
        <a href="<?php echo site_url('apps/workflow/index/verify/'.$v->wf_sn.'/'.$v->wf_status.'/'.$nav_type); ?>">
          <?php echo date('n',$v->wf_time).'月份'.$v->wt_name; ?>
        </a>
      </td>
      <td><?php echo date('Y-m-d H:i:s',$v->wf_time); ?></td>
      <td><?php $status=date('m',$v->wf_time)==date('m')? "启用中":($v->wf_time>time()?'未启用':'已过期');echo $status; ?></td>
      <td>
        <a href="<?php echo site_url('apps/workflow/index/verify/'.$v->wf_sn.'/'.$v->wf_status.'/'.$nav_type); ?>">查看</a>
        <?php if ($userdata['whu_isadmin']==1) { ?>
          <a href="javascript:void(0);" class="ajax-link" data-href="<?php echo site_url('apps/workflow/index/dalete_work_flow/'.$v->wf_sn); ?>">删除</a>
        <?php } ?>
      </td>
      <td>
        <?php if ($userdata['whu_isadmin']==1) { ?>
          <a href="<?php echo site_url('apps/workflow/index/other_verify/'.$v->wf_sn); ?>">中午值班审核</a>
        <?php } ?>
      </td>
    </tr>
    <?php } ?>
  </tbody>
</table>