apzl_leasing/WebContent/Tenwa/Apzl/FileUpload/LBPlaceFileTempInfo.jsp
2019-07-15 17:40:46 +08:00

61 lines
3.1 KiB
Plaintext

<%@ page contentType="text/html; charset=GBK"%>
<%@ 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" %>
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
/*
Author: undefined 2019-07-15
Content: ʾÀýÏêÇéÒ³Ãæ
History Log:
*/
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="";
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();
}
}
}
String ObjectNo = CurPage.getParameter("ObjectNo");
String contract_id = CurPage.getParameter("contract_id");
String compClientID = CurPage.getParameter("CompClientID");
String id = CurPage.getParameter("id");
System.out.println(id);
String sTempletNo = "LBPlaceFileTempInfo";//--Ä£°åºÅ--
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
dwTemp.Style = "2";//freeform
//dwTemp.ReadOnly = "-2";//Ö»¶Áģʽ
dwTemp.genHTMLObjectWindow(CurPage.getParameter("id"));
dwTemp.replaceColumn("placefile", "<iframe type='iframe' id='frame_list' name=\"frame_list\" width=\"100%\" height=\"300px\" frameborder=\"0\" src=\""+sWebRootPath+"/Tenwa/Apzl/FileUpload/PayDocMailList.jsp?CompClientID="+sCompClientID+"&docList="+docList+"\"></iframe>", CurPage.getObjectWindowOutput());
dwTemp.replaceColumn("opinion", "<iframe type='iframe' id='frame_list' name=\"frame_list\" width=\"100%\" height=\"300px\" frameborder=\"0\" src=\""+sWebRootPath+"/Tenwa/Apzl/FileUpload/LmApprovaloppinionDocTempList.jsp?CompClientID="+sCompClientID+"\"></iframe>", CurPage.getObjectWindowOutput());
String sButtons[][] = {
{"true","All","Button","±£´æ","±£´æËùÓÐÐÞ¸Ä","as_save(0,'frame_list.window.saveRecordForApprove()')","","","",""},
{"false","All","Button","·µ»Ø","·µ»ØÁбí","returnList()","","","",""}
};
// sButtonPosition = "south";
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
<script type="text/javascript">
// function save(){
<%-- var sParams = "userid=<%CurPage.getUserId()%>&EXPCOMPANY="+getItemValue(0,0,'ARCHIVING_CABINET_NO')+"&contractid=<%=contract_id%>"; --%>
// var sReturnInfo = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.DocMailAction","savePlaceFileInfo",sParams);
// }
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>