diff --git a/WebContent/Tenwa/Comm/DocList/contractDocListMain.jsp b/WebContent/Tenwa/Comm/DocList/contractDocListMain.jsp new file mode 100644 index 000000000..8d53567de --- /dev/null +++ b/WebContent/Tenwa/Comm/DocList/contractDocListMain.jsp @@ -0,0 +1,58 @@ +<%@ 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 = ""; // 浏览器窗口标题 PG_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=CurPage.getParameter("productId"); + List list=ProductParamUtil.getProductDocInfo(product,"PRD0412"); + String type=""; + String docList=""; + for(int i=0;i map=(Map)list.get(i); + if("BContractApproveFlow".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"%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> \ No newline at end of file diff --git a/WebContent/Tenwa/Lease/Flow/Contract/contractInfoAllView/contractInfoAllViewList.jsp b/WebContent/Tenwa/Lease/Flow/Contract/contractInfoAllView/contractInfoAllViewList.jsp index b124d071d..07b0e0a5e 100644 --- a/WebContent/Tenwa/Lease/Flow/Contract/contractInfoAllView/contractInfoAllViewList.jsp +++ b/WebContent/Tenwa/Lease/Flow/Contract/contractInfoAllView/contractInfoAllViewList.jsp @@ -100,7 +100,8 @@ function viewContractInfo(){ var sUrl = "/Tenwa/Lease/App/InformationTable/InfoView.jsp"; var sPara = getItemValue(0,getRow(0),'id'); var contract_no = getItemValue(0,getRow(0),'contract_no'); - + var productId = getItemValue(0,getRow(0),'PRODUCT_ID'); + var FlowUnid = getItemValue(0,getRow(0),'flowunid'); if(typeof(sPara)=="undefined" || sPara.length==0 ){ alert("参数不能为空!"); return ; @@ -110,7 +111,7 @@ function viewContractInfo(){ if("01"=="<%=InfoForType%>"){ ShowType="flow_contract_sum_car"; } - var sparm='ContractId='+sPara+"&ProjectId="+getItemValue(0,getRow(0),'project_id')+"&ShowType="+ShowType+"&RightType=ReadOnly&IsHistory=false"+"&contract_no="+contract_no; + var sparm='ContractId='+sPara+"&ProjectId="+getItemValue(0,getRow(0),'project_id')+"&ShowType="+ShowType+"&RightType=ReadOnly&IsHistory=false"+"&contract_no="+contract_no+"&productId="+productId+"&FlowUnid="+FlowUnid; AsControl.OpenTab(sUrl,sparm,{title:'合同基本信息【'+ getItemValue(0,getRow(0),'contract_number')+'】'}); }