From fbf1e932ba73236220a2455565ea40828c1c75b6 Mon Sep 17 00:00:00 2001 From: zhangjun Date: Tue, 25 Sep 2018 18:59:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=A1=B9=E7=9B=AE=E4=BF=A1?= =?UTF-8?q?=E5=AE=A1=E8=B5=84=E6=96=99=E6=B8=85=E5=8D=95=E9=A1=B5=E7=AD=BE?= =?UTF-8?q?=E5=92=8C=E8=B5=84=E6=96=99=E6=B8=85=E5=8D=95=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebContent/Tenwa/Comm/DocList/DocListMain.jsp | 2 +- .../Tenwa/Comm/DocList/PayDocListProject.jsp | 227 ++++++++++++++++++ 2 files changed, 228 insertions(+), 1 deletion(-) create mode 100644 WebContent/Tenwa/Comm/DocList/PayDocListProject.jsp diff --git a/WebContent/Tenwa/Comm/DocList/DocListMain.jsp b/WebContent/Tenwa/Comm/DocList/DocListMain.jsp index 47d672065..783a3b65b 100644 --- a/WebContent/Tenwa/Comm/DocList/DocListMain.jsp +++ b/WebContent/Tenwa/Comm/DocList/DocListMain.jsp @@ -40,7 +40,7 @@ var docList="<%=docList%>"; myleft.width=1; if("SingleRow"=="<%=type%>"){ - if("FundPaymentCarFlow"=="<%=sFlowNo%>"||"BusinessApplyFlow"=="<%=sFlowNo%>"||"MortgageFileFlow"=="<%=sFlowNo%>"||"ProjectCreditFlow"=="<%=sFlowNo%>"||"ContractSupportFlow"=="<%=sFlowNo%>"||"ProjectRecreditFlow"=="<%=sFlowNo%>"||"ProjectSupportFlow"=="<%=sFlowNo%>"||"ProjectApprovalFlow"=="<%=sFlowNo%>"||"FundPaymentFlow"=="<%=sFlowNo%>"||"ProjectCancelFlow"=="<%=sFlowNo%>"){ + if("FundPaymentCarFlow"=="<%=sFlowNo%>"||"BusinessApplyFlow"=="<%=sFlowNo%>"||"MortgageFileFlow"=="<%=sFlowNo%>"||"ProjectCreditFlow"=="<%=sFlowNo%>"||"ContractSupportFlow"=="<%=sFlowNo%>"||"ProjectRecreditFlow"=="<%=sFlowNo%>"||"ProjectSupportFlow"=="<%=sFlowNo%>"||"ProjectApprovalFlow"=="<%=sFlowNo%>"||"FundPaymentFlow"=="<%=sFlowNo%>"||"ProjectCancelFlow"=="<%=sFlowNo%>"||"ContractApprovalFlow"=="<%=sFlowNo%>"){ AsControl.OpenView("/Tenwa/Comm/DocList/PayDocList.jsp","docList="+docList,"right",""); }else{ AsControl.OpenView("/Tenwa/Comm/DocList/BussinessApproveDocList.jsp","docList="+docList,"right",""); diff --git a/WebContent/Tenwa/Comm/DocList/PayDocListProject.jsp b/WebContent/Tenwa/Comm/DocList/PayDocListProject.jsp new file mode 100644 index 000000000..0237130d6 --- /dev/null +++ b/WebContent/Tenwa/Comm/DocList/PayDocListProject.jsp @@ -0,0 +1,227 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_simplelist.jspf"%> +<%@ page import="com.tenwa.doc.action.DocListInitAction" %> +<%@ page import="com.amarsoft.app.lc.workflow.action.GetFlowAction" %> +<% + /* + Author: undefined 2016-09-01 + Content: + History Log: + */ + + String flowunid=CurPage.getParameter("FlowUnid"); + String CustomerType=CurPage.getParameter("CustomerType"); + String carAttributes=CurPage.getParameter("carAttributes");//获取车类型 + if(flowunid==""||flowunid==null){ + flowunid="flowunid"; + } + + BizObject flow=GetFlowAction.getFlowBussinessObject(flowunid);//流程对象 + + String sObjectType = CurPage.getParameter("FlowNo");//流程类型 + + + String ishistory=CurPage.getParameter("IsHistory"); + String nodeNo=CurPage.getParameter("NodeNo"); + String RightType= CurPage.getParameter("RightType"); + String username=CurUser.getUserName(); + String sTempletNo=CurPage.getParameter("TempletNo"); + String phaseNo = CurPage.getParameter("PhaseNo"); + String apply = CurPage.getParameter("ApplyType"); + if(sTempletNo==null){ + sTempletNo="FlowPayDocList"; + } + String docClassItemno="013"; + + String[] itemnos=docClassItemno.split(","); + String s=""; + for(int i=0;i0){ + s=s.substring(0, s.length()-1); + } + + String compClientID = request.getParameter("CompClientID"); + if("ProjectRecreditFlow".equals(sObjectType)){ + sTempletNo = "FlowPayDocList" ; + } + Map docParam=new HashMap(); + Map other=new HashMap(); + other.put("carAttributes", carAttributes); + other.put("CustomerType", CustomerType); + docParam.put("ObjectType",sObjectType); + docParam.put("proj_id", flow.getAttribute("proj_id").getString()); + docParam.put("contract_id", flow.getAttribute("contract_id").getString()); + docParam.put("flow_unid", flowunid); + docParam.put("inputtime", StringFunction.getTodayNow()); + docParam.put("inputuserid", CurPage.getUserId()); + docParam.put("inputorgid", CurPage.getUser().getOrgID()); + + //判断是否存在,不存在就从配置表倒到临时表 + DocListInitAction.initDocList(docParam,other,docClassItemno,CurConfig); + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + String otherWhere=DocListInitAction.getFlowWhere(flow,"","rela"); + doTemp.appendJboWhere(otherWhere); + doTemp.appendJboWhere(" and O.doc_Class_Itemno in ("+s+")"); + doTemp.setLockCount(2); + if("ContractSupportApply".equals(apply)&&"0010".equals(phaseNo)){ + RightType = "false"; + } + if((null!=RightType&&RightType.equals("ReadOnly"))||(null!=ishistory&&ishistory.equals("true"))){ + doTemp.setVisible("operation", false); + } + ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); + dwTemp.Style="1"; //--设置为Grid风格-- + dwTemp.ReadOnly = "0"; + dwTemp.setPageSize(500); + if((null!=RightType&&RightType.equals("ReadOnly"))||(null!=ishistory&&ishistory.equals("true"))){ + dwTemp.ReadOnly = "1";//只读模式 + RightType="ReadOnly"; + isShowButton=false; + }else{ + isShowButton=true; + } + dwTemp.genHTMLObjectWindow(flowunid); + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + String sButtons[][] =null; + + sButtons=new String[][]{ + {"true","","Button","保存","保存所有修改","saveRecord()","","","",""}, + }; + +%> + +<%@include file="/Frame/resources/include/ui/include_list.jspf"%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> \ No newline at end of file