<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="cm" uri="/commons-tags" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>审批流程</title>
<link href="../resources/style/base.css" rel="stylesheet" type="text/css"/>
<s:include value="../common/head.jsp" />
</head>

<body>
<div class="body_form" style="width:98%; margin-top:-8px;">
<s:include value="../common/body.jsp" />
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" class="table_line">
      <tr>
        <td colspan="8" class="big_title"><div style="float:left;padding-top:2px;"><s:property value="flow.name"/></div></td>
      </tr>
      <s:if test="flow.nodeSet!=null && flow.nodeSet.size()>0">
        <tr class="sub_list_title center">
          <td width="14%" class="center">节点序号</td>
          <td width="49%" class="center">节点名称</td>
          <td width="15%"  class="center">审批人</td>
          <td width="22%"  class="center">审批条件</td>
        </tr>
        <s:iterator value="flow.nodeSet" status="st">
          <s:set name="row_cls" value=""/>
          <s:if test="#st.Even">
            <s:set name="row_cls" value="%{'row_a'}"/>
          </s:if>
		  <s:set name="curr_cls" value=""/>
		  <s:if test="node.id==id">
			<s:set name="curr_cls" value="%{'warn'}"/>
		  </s:if>
          <tr class="list_data <s:property value='#row_cls'/>  <s:property value='#curr_cls'/>">
            <td class="center">
				<s:property value="stepNo"/>
			</td>
            <td class="center"><s:property value="name"/></td>
            <td class="center"><s:property value="approver.name"/></td>
            <td class="center">
            	<s:if test="enableCondition!=null">
                超过<s:property value="enableCondition"/> 小时</s:if>
			</td>
          </tr>
        </s:iterator>
      </s:if>
    </table>
    
    
    
    <div style="text-align:center; padding:10px;">
          <input name="winID" type="hidden" value="${param.winID}" />
          <input type="button" onclick="iframeWindowClose('${param.winID}')" name="button" id="button" value="返 回" /> 
	</div>

</div>
</body>
</html>