58 lines
2.6 KiB
Plaintext
58 lines
2.6 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");
|
|
BizObject flow=GetFlowAction.getFlowBussinessObject(sFlowunid);
|
|
String product=flow.getAttribute("productId").getString();
|
|
List<Object> list=ProductParamUtil.getProductDocInfo(product,"PRD0412");
|
|
String type="";
|
|
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%>"){
|
|
if("FundPaymentCarFlow"=="<%=sFlowNo%>"||"BusinessApplyFlow"=="<%=sFlowNo%>"||"MortgageFileFlow"=="<%=sFlowNo%>"||"ContractSupportFlow"=="<%=sFlowNo%>"||"ProjectSupportFlow"=="<%=sFlowNo%>"||"ProjectApprovalFlow"=="<%=sFlowNo%>"||"FundPaymentFlow"=="<%=sFlowNo%>"||"ProjectCancelFlow"=="<%=sFlowNo%>"||"Mortgage2FileFlow"=="<%=sFlowNo%>"){
|
|
AsControl.OpenView("/Tenwa/Comm/DocList/PayDocList.jsp","docList="+docList,"right","");
|
|
}else if("ProjectCreditFlow"=="<%=sFlowNo%>"||"ContractApprovalFlow"=="<%=sFlowNo%>"||"ProjectRecreditFlow"=="<%=sFlowNo%>"){
|
|
AsControl.OpenView("/Tenwa/Comm/DocList/PayDocListTradition.jsp","docList="+docList,"right","");
|
|
}else{
|
|
AsControl.OpenView("/Tenwa/Comm/DocList/BussinessApproveDocList.jsp","docList="+docList,"right","");
|
|
}
|
|
}else{
|
|
if("ContractApprovalFlow"=="<%=sFlowNo%>"||"ContractChangeFlow"=="<%=sFlowNo%>"||"ProjectChangeFlow"=="<%=sFlowNo%>"){
|
|
AsControl.OpenView("/Tenwa/Comm/DocList/PayDocListTradition.jsp","docList="+docList,"right","");
|
|
}else{
|
|
AsControl.OpenView("/Tenwa/Comm/DocList/CustomerDocTab.jsp","docList="+docList,"right","");
|
|
}
|
|
}
|
|
</script>
|
|
<%@ include file="/Frame/resources/include/include_end.jspf"%> |