diff --git a/WebContent/Tenwa/Lease/Flow/Contract/contractInfoAllView/contractInfoAllViewList.jsp b/WebContent/Tenwa/Lease/Flow/Contract/contractInfoAllView/contractInfoAllViewList.jsp index f456c570b..b7d5c881c 100644 --- a/WebContent/Tenwa/Lease/Flow/Contract/contractInfoAllView/contractInfoAllViewList.jsp +++ b/WebContent/Tenwa/Lease/Flow/Contract/contractInfoAllView/contractInfoAllViewList.jsp @@ -81,6 +81,7 @@ String sButtons[][] =new String[][] { {"true","","Button","流程信息","流程信息","viewAllFlow()","","","","btn_icon_detail",""}, {"true","","Button","附件信息","附件信息","viewAllFlowAttachment()","","","","btn_icon_detail",""}, + {"true","","Button","资料清单","资料清单","openFileList()","","","","btn_icon_saveNew",""}, {"true","","Button","合同信息","合同信息","viewContractInfo()","","","","btn_icon_detail",""} }; %><%@include file="/Frame/resources/include/ui/include_list.jspf"%> @@ -126,5 +127,25 @@ function viewContractInfo(){ 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_no')+'】'}); } +function openFileList(){ + let proj_id=getItemValue(0,getRow(0),'project_id'); + openFileListByProjectId(proj_id); +} +function openFileListByProjectId(proj_id){ + let url = RunJavaMethod("com.ample.icms.query.ImageQuery","getRequestUrl",""); + let params = getRequestParam(proj_id); + if(params=='error'){ + alert('未找到对应的影像配置,请联系管理员'); + return; + } + if(params!=null){ + AsControl.postICMS(url,params); + } +} +function getRequestParam(proj_id){ + let code = 'ECM0002'; + let param = RunJavaMethodTrans("com.ample.icms.service.ImageQueryService","getRequestParamByProjectIdJMT","projectId="+proj_id+",code="+code); + return param; +} <%@ include file="/Frame/resources/include/include_end.jspf"%> \ No newline at end of file