From d794acb5b1ccc2a8412fec9689dbcf5128d7bb22 Mon Sep 17 00:00:00 2001 From: zhangjun Date: Sat, 22 Sep 2018 19:47:41 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=84=E6=96=99=E6=B8=85=E5=8D=95=E7=9B=B8?= =?UTF-8?q?=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebContent/Tenwa/Comm/DocList/PayDocList.jsp | 4 +- .../Comm/DocList/PayDocListTradition.jsp | 199 ++++++++++++++++++ 2 files changed, 201 insertions(+), 2 deletions(-) create mode 100644 WebContent/Tenwa/Comm/DocList/PayDocListTradition.jsp diff --git a/WebContent/Tenwa/Comm/DocList/PayDocList.jsp b/WebContent/Tenwa/Comm/DocList/PayDocList.jsp index fcebf0f5f..c5471c225 100644 --- a/WebContent/Tenwa/Comm/DocList/PayDocList.jsp +++ b/WebContent/Tenwa/Comm/DocList/PayDocList.jsp @@ -207,8 +207,8 @@ function upload(id){ var sUrl="/Tenwa/Comm/DocList/DocListInfoNew.jsp"; AsDialog.PopView(sUrl,param,"dialogWidth=800px;dialogHeight=500px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(message){ var str=RunJavaMethodTrans("com.tenwa.doc.action.DocListAction","updateBussinessCheck","library_id="+id+",BussinessCheck=DocCheck_0"); - //reloadSelf(); - location.reload(); + reloadSelf(); +// location.reload(); heping(); },"上传附件"); } diff --git a/WebContent/Tenwa/Comm/DocList/PayDocListTradition.jsp b/WebContent/Tenwa/Comm/DocList/PayDocListTradition.jsp new file mode 100644 index 000000000..98c41f864 --- /dev/null +++ b/WebContent/Tenwa/Comm/DocList/PayDocListTradition.jsp @@ -0,0 +1,199 @@ +<%@ 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: 固定带出项目立项的资料清单列表页面,如要根据流程动态生成资料,请用DocListMain.jsp + History Log: + */ + + String ProjectId=CurPage.getParameter("ProjectId"); + 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 compClientID = request.getParameter("CompClientID"); + if("ProjectRecreditFlow".equals(sObjectType)){ + sTempletNo = "FlowPayDocList" ; + } + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + + doTemp.appendJboWhere(" and rela.proj_id = '"+ProjectId+"' and rela.objecttype = 'ProjectApprovalFlow' "); + doTemp.setLockCount(2); + 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