From 4e49195312b7b81d9aa371d4bc25603f900ac1dc Mon Sep 17 00:00:00 2001 From: ap007 Date: Fri, 24 Jun 2022 18:06:48 +0800 Subject: [PATCH] =?UTF-8?q?=E9=82=AE=E5=AF=84=E8=B5=84=E6=96=99=E5=BD=92?= =?UTF-8?q?=E6=A1=A3=E7=AD=89=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Apzl/FileUpload/LBMailArchivingList.jsp | 81 +++++++++++++++++++ .../Apzl/FileUpload/LBPlaceFileTempInfo.jsp | 10 +-- .../LBnotAllMailHndHandoverTempList.jsp | 8 +- .../LmApprovaloppinionDocTempList.jsp | 4 +- .../BusinessProjectTempInfo.jsp | 4 + WebContent/WEB-INF/etc/jbo/jbo_doc.xml | 4 +- src/com/ample/icms/query/ImageQuery.java | 26 ++++-- src/com/ample/icms/util/GetInfoUtil.java | 36 +++++++-- .../app/tenwa/doc/LB_MAILARCHIVING_INFO.java | 55 +++++++++---- .../tenwa/doc/LB_MAILARCHIVING_INFO_TEMP.java | 59 ++++++++++---- .../project/businessapply/DocMailAction.java | 34 +++++++- 11 files changed, 264 insertions(+), 57 deletions(-) create mode 100644 WebContent/Tenwa/Apzl/FileUpload/LBMailArchivingList.jsp diff --git a/WebContent/Tenwa/Apzl/FileUpload/LBMailArchivingList.jsp b/WebContent/Tenwa/Apzl/FileUpload/LBMailArchivingList.jsp new file mode 100644 index 000000000..b66f3ec23 --- /dev/null +++ b/WebContent/Tenwa/Apzl/FileUpload/LBMailArchivingList.jsp @@ -0,0 +1,81 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><% + /* + Author: undefined 2019-07-11 + Content: + History Log: + */ + String flowunid = CurPage.getParameter("FlowUnid"); + String PhaseNo = CurPage.getParameter("PhaseNo"); + String projectNo = CurPage.getParameter("projectNo"); + String contractId = CurPage.getParameter("contract_id"); + String isHistory = CurPage.getParameter("IsHistory"); + String model = "LBMailArchivingListTemp"; + String params = flowunid+","+contractId; + if("true".equals(isHistory)){ + model = "LBMailArchivingList"; + params = contractId; + } + ASObjectModel doTemp = new ASObjectModel(model); + if("0010".equals(PhaseNo)){ + doTemp.setVisible("HANDOVER_STATUS", false); + } + if("0020".equals(PhaseNo)){ + doTemp.setReadOnly("MAIL_STATUS", true); + } +// doTemp.setLockCount(2); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); + dwTemp.Style="1"; + //--设置为Grid风格-- + dwTemp.ReadOnly = "0"; //只读模式 + dwTemp.setPageSize(10); + dwTemp.genHTMLObjectWindow(params); + + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + String sButtons[][] = { + {"0010".equals(CurPage.getParameter("PhaseNo"))&&!"true".equals(isHistory)?"true":"false","","Button","保存","保存邮寄状态","saveMailStatus()","","","",""}, + }; +%> +<%@include file="/Frame/resources/include/ui/include_list.jspf"%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> \ No newline at end of file diff --git a/WebContent/Tenwa/Apzl/FileUpload/LBPlaceFileTempInfo.jsp b/WebContent/Tenwa/Apzl/FileUpload/LBPlaceFileTempInfo.jsp index fabb48598..6325eac49 100644 --- a/WebContent/Tenwa/Apzl/FileUpload/LBPlaceFileTempInfo.jsp +++ b/WebContent/Tenwa/Apzl/FileUpload/LBPlaceFileTempInfo.jsp @@ -14,7 +14,7 @@ String sFlowNo= CurPage.getParameter("FlowNo"); String PhaseNo= CurPage.getParameter("PhaseNo"); String userName = CurUser.getUserName(); - + String isHistory = CurPage.getParameter("IsHistory"); sFlowNo = "MortgageFileMailFlow"; BizObject flow=GetFlowAction.getFlowBussinessObject(sFlowunid); String product=CurPage.getParameter("productId"); @@ -49,13 +49,13 @@ dwTemp.Style = "2";//freeform //dwTemp.ReadOnly = "-2";//只读模式 dwTemp.genHTMLObjectWindow(CurPage.getParameter("id")); - dwTemp.replaceColumn("placefile", "", CurPage.getObjectWindowOutput()); + dwTemp.replaceColumn("placefile", "", CurPage.getObjectWindowOutput()); dwTemp.replaceColumn("opinion", "", CurPage.getObjectWindowOutput()); String sButtons[][] = { {"true","All","Button","保存","保存所有修改","save()","","","",""}, {"false","All","Button","返回","返回列表","returnList()","","","",""}, - {"0020".equals(CurPage.getParameter("PhaseNo"))&&!"his".equals(type)?"true":"false","","Button","一键归档","一键归档","guidang()","","","",""}, + {"0020".equals(CurPage.getParameter("PhaseNo"))&&!"true".equals(isHistory)?"true":"false","All","Button","一键归档","一键归档","guidang()","","","",""}, }; // sButtonPosition = "south"; @@ -79,11 +79,11 @@ } //as_save(0,'frame_list.window.saveRecordForApprove()'); IE浏览器不起作用 - as_save(0,'$("#frame_list")[0].contentWindow.saveRecordForApprove();'); + as_save(0,'$("#frame_list")[0].contentWindow.saveAcrhivingStatus();'); } function guidang(){ - $("#frame_list")[0].contentWindow.guidang(); + $("#frame_list")[0].contentWindow.doAcrhiving(); } diff --git a/WebContent/Tenwa/Apzl/FileUpload/LBnotAllMailHndHandoverTempList.jsp b/WebContent/Tenwa/Apzl/FileUpload/LBnotAllMailHndHandoverTempList.jsp index 0c6b2c8cd..1a0c50513 100644 --- a/WebContent/Tenwa/Apzl/FileUpload/LBnotAllMailHndHandoverTempList.jsp +++ b/WebContent/Tenwa/Apzl/FileUpload/LBnotAllMailHndHandoverTempList.jsp @@ -124,7 +124,7 @@ var contract_id=getItemValue(0, i, "contract_id"); var ProductId=getItemValue(0, i, "PRODUCT_ID"); var id=getItemValue(0, i, "id"); - var sUrl="/Tenwa/Apzl/FileUpload/DocMailListMain.jsp"; + var sUrl="/Tenwa/Apzl/FileUpload/LBMailArchivingList.jsp"; if('0010'!='<%=PhaseNo%>'){ sUrl="/Tenwa/Apzl/FileUpload/LBPlaceFileTempInfo.jsp"; } @@ -204,13 +204,17 @@ function openFileList(projectId){ let url = RunJavaMethod("com.ample.icms.query.ImageQuery","getRequestUrl",""); let params = getRequestParam(projectId); + if(params=='error'){ + alert('未找到对应的影像配置,请联系管理员'); + return; + } if(params!=null){ post(url,params); } } function getRequestParam(projectId){ let code = 'ECM0002'; - let param = RunJavaMethod("com.ample.icms.query.ImageQuery","getRequestParamByProjectId","projectId="+projectId+",code="+code); + let param = RunJavaMethodTrans("com.ample.icms.query.ImageQuery","getRequestParamByProjectIdJMT","projectId="+projectId+",code="+code); return param; } /** diff --git a/WebContent/Tenwa/Apzl/FileUpload/LmApprovaloppinionDocTempList.jsp b/WebContent/Tenwa/Apzl/FileUpload/LmApprovaloppinionDocTempList.jsp index 60f0911f7..6a42982d9 100644 --- a/WebContent/Tenwa/Apzl/FileUpload/LmApprovaloppinionDocTempList.jsp +++ b/WebContent/Tenwa/Apzl/FileUpload/LmApprovaloppinionDocTempList.jsp @@ -18,8 +18,8 @@ //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 String sButtons[][] = { {"0010".equals(PhaseNo)?"false":"true","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""}, - {"true","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""}, - {"0010".equals(PhaseNo)?"false":"true","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0,'alert(getRowCount(0))')","","","","btn_icon_delete",""}, + {"true","All","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""}, + {"0010".equals(PhaseNo)?"false":"true","All","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0,'alert(getRowCount(0))')","","","","btn_icon_delete",""}, }; %><%@include file="/Frame/resources/include/ui/include_list.jspf"%>