<%@ page contentType="text/html;charset=UTF-8" %>
<%@ page import="net.sz600.tool.SzConvert" %>
<%@ page import="net.sz600.tool.SzDateHelp" %>
<%@ page import="net.sz600.organize.*" %>
<%@ page import="net.sz600.system.*" %>
<%@ page import="net.sz600.flow.*" %>
<%@ page import="net.sz600.formEngine2.*" %>
<%@ page import="java.util.*" %>
<%@ include file="/sessionInfo.jsp"%>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="<%=strSkin_SESSION%>/css2007.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="<%=strLevel_SESSION%>/share/js/common.js"></script>
</style>
</head>
<form name="formUpdate" method="post" action="stat_group_control.jsp">
  <input type="hidden" name="OPERATOR" value="set">
<%@ include file="/share/title.jsp"%>
<table width="100%">
  <tr>
    <td>
    <% if (isBarManager_SESSION) { %>
      <%=SzPageHelp.button("保存", "javascript:FormSave(formUpdate, 'stat_group_control.jsp');")%>
    <% } %>
    </td>
  </tr>
</table>
<table width="98%" border="1" bordercolorlight="#C0C0C0" bordercolordark="#FFFFFF" class="tableClass" cellpadding="1" cellspacing="0">
<tr class="trClassTitle">
	<td>原分类名称</td>
	<td>名称</td>
	<td>新分类名称</td>
</tr>
<%
	LcForm lcForm = new LcForm();
	LcFormInfo lcFormInfo = null;
  ArrayList list = lcForm.getFormListHasFlow();
  Iterator iter = list.iterator();
	String sName = "";
	int i = 0;
  while (iter != null && iter.hasNext()) {
	  lcFormInfo = (LcFormInfo)iter.next();
	  sName = lcFormInfo.getBDFZMC();
	  if (sName.equals("")) {
		  sName = "其他";
	  }
%>
<tr>
  <td align="center"><%=sName%></td>
  <td align="center"><%=lcFormInfo.getBDMC() %></td>
  <td align="center">
  	<input type="hidden" name="BDID<%=i%>" value="<%=lcFormInfo.getBDID() %>">
  	<input type="text" class="txtClass1" name="BDFZMC<%=i%>" value="<%=sName%>"></td>
</tr>
<%
		i++;
  }
%>
	<input type="hidden" name="count" value="<%=i %>">
</table>
</form>
<script language="javascript">

  function FormSave(formName, url) {

    formName.action = url;
    formName.submit();
  }
</script>