2019-08-07 14:57:41 +08:00

50 lines
1.9 KiB
Plaintext

<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin.jspf"%>
<%@ page import="com.amarsoft.app.lc.workflow.action.GetFlowAction" %>
<%@ page import="java.util.List" %>
<%@ page import="java.util.Map" %>
<%@ page import="com.amarsoft.app.util.ProductParamUtil" %>
<%
/*
页面说明:隐藏左侧区域的Main页面
*/
String PG_TITLE = ""; // 浏览器窗口标题 <title> PG_TITLE </title>
String PG_CONTENT_TITLE = ""; //默认的内容区标题
String PG_CONTNET_TEXT = "";//默认的内容区文字
String PG_LEFT_WIDTH = "0";//默认的treeview宽度
String RightType= CurPage.getParameter("RightType");
String sFlowunid = CurPage.getParameter("FlowUnid");
String sFlowNo= CurPage.getParameter("FlowNo");
String PhaseNo= CurPage.getParameter("PhaseNo");
sFlowNo = "MortgageFileMailFlow";
BizObject flow=GetFlowAction.getFlowBussinessObject(sFlowunid);
String product=CurPage.getParameter("productId");
List<Object> list=ProductParamUtil.getProductDocInfo(product,"PRD0412");
String type="SingleRow";
String docList="";
for(int i=0;i<list.size();i++){
Map<String,Object> map=(Map<String,Object>)list.get(i);
if(sFlowNo.equals(map.get("FLOW_INFO").toString())){
type=map.get("TYPE").toString();
if("SingleRow".equals(type)){
docList=map.get("DOCLIST").toString();
}else{
List l=(List)map.get("DOCCONFIG");
docList=l.toString();
}
}
}
%>
<%@ include file="/Frame/resources/include/include_main.jspf"%>
<script type="text/javascript">
var docList="<%=docList%>";
myleft.width=1;
if("SingleRow"=="<%=type%>"){
AsControl.OpenView("/Tenwa/Apzl/FileUpload/PayDocMailList.jsp","docList="+docList+"&contract_id=<%=CurPage.getParameter("contract_id")%>&PhaseNo=<%=PhaseNo%>","right","");
}else{
AsControl.OpenView("/Tenwa/Comm/DocList/CustomerDocTab.jsp","docList="+docList,"right","");
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>