From 2f69e384ad61a59fc259031a17ba91b69734aee5 Mon Sep 17 00:00:00 2001 From: tangfutang Date: Wed, 26 Aug 2020 10:27:45 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=8F=E9=94=80=E5=95=86=E5=AE=A1=E6=A0=B8?= =?UTF-8?q?=E5=92=8C=E5=8F=98=E6=9B=B4=E9=99=84=E4=BB=B6=E4=B8=80=E8=A7=88?= =?UTF-8?q?=E5=8F=AF=E4=BB=A5=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Tenwa/Comm/Document/LBDocumentListInfo.jsp | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/WebContent/Tenwa/Comm/Document/LBDocumentListInfo.jsp b/WebContent/Tenwa/Comm/Document/LBDocumentListInfo.jsp index 80212a04c..62c67e95d 100644 --- a/WebContent/Tenwa/Comm/Document/LBDocumentListInfo.jsp +++ b/WebContent/Tenwa/Comm/Document/LBDocumentListInfo.jsp @@ -22,6 +22,10 @@ isProduct = "N"; } String type=CurPage.getParameter("type"); + //获取当前操作节点的开始时间 + String taskNo = CurPage.getParameter("TaskNo"); + String beginTime = Sqlca.getString("SELECT begintime FROM flow_task WHERE serialno='"+taskNo+"'"); + if(type==null)type=""; if("MortgageFileMailFlow".equals(sObjectType)){ type = "MortgageFileMailFlow"; @@ -101,6 +105,7 @@ function afterSearch(){ var rightType="<%=RightType%>"; var userName="<%=userName%>"; var sObjectType="<%=sObjectType%>";//该流程类型 + var beginTime = "<%=beginTime%>"; for(var i=0;i  '; - if(rightType!='ReadOnly'&&isHistory!="true"&&sObjectType==obj[file]['objecttype']&&userName==obj[file]['inputuser']){ + /* if(rightType!='ReadOnly'&&isHistory!="true"&&sObjectType==obj[file]['objecttype']&&userName==obj[file]['inputuser']){ //html+=' '; + } */ + var date1 = new Date(obj[file]['inputtime'].replace(" "," ")); + var date2 = new Date(beginTime); + //经销商可以删除附件 + if(rightType!='ReadOnly'&&isHistory!="true" && (sObjectType=="DistributorApprovalFlow" || sObjectType=="DistributorChangeFlow") && userName==obj[file]['inputuser'] && date1.getTime() > date2.getTime()){ + html+=' '; } if(obj[file]['image']=="true"){ html+=' ';