From 7276239030a2b709535bcead4f8cfd56b920bf48 Mon Sep 17 00:00:00 2001 From: user Date: Thu, 7 Jun 2018 10:57:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=90=8C=E5=88=B6=E4=BD=9C=E3=80=81?= =?UTF-8?q?=E5=82=AC=E6=94=B6=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LBContractTemplateList.jsp | 4 +-- .../GeneratedReminderLetterList.jsp | 28 ++++++++++++------- .../Lease/Flow/RentNotify/RentNotifyList.jsp | 3 +- 3 files changed, 22 insertions(+), 13 deletions(-) diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBContractTemplate/LBContractTemplateList.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBContractTemplate/LBContractTemplateList.jsp index 3c69e843b..dc3b8b642 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBContractTemplate/LBContractTemplateList.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBContractTemplate/LBContractTemplateList.jsp @@ -46,8 +46,8 @@ {"false","","Button","新增","新增","newRecord()","","","","btn_icon_add",""}, {"false","","Button","修改","修改","viewAndEdit()","","","","btn_icon_edit",""}, {"true","","Button","删除","删除","deletecontract()","","","","btn_icon_delete",""}, - {"true","","Button","生成合同","删除","createContractByTemplate()","","","","btn_icon_up",""}, - {"true","","Button","上传","新增文档信息","uploadContract()","","","","btn_icon_up",""} + //{"true","","Button","生成合同","删除","createContractByTemplate()","","","","btn_icon_up",""}, + //{"true","","Button","上传","新增文档信息","uploadContract()","","","","btn_icon_up",""} }; } %><%@include file="/Frame/resources/include/ui/include_list.jspf"%> diff --git a/WebContent/Tenwa/Lease/Flow/RentCollection/generatedreminderletter/GeneratedReminderLetterList.jsp b/WebContent/Tenwa/Lease/Flow/RentCollection/generatedreminderletter/GeneratedReminderLetterList.jsp index 57f203103..1c3d01677 100644 --- a/WebContent/Tenwa/Lease/Flow/RentCollection/generatedreminderletter/GeneratedReminderLetterList.jsp +++ b/WebContent/Tenwa/Lease/Flow/RentCollection/generatedreminderletter/GeneratedReminderLetterList.jsp @@ -1,4 +1,3 @@ -<%@page import="com.tenwa.comm.dataRightmanager.DataRightManager"%> <%@page import="java.util.Date"%> <%@ page contentType="text/html; charset=GBK"%> <%@ include file="/Frame/resources/include/include_begin_list.jspf"%> @@ -12,14 +11,17 @@ SimpleDateFormat df=new SimpleDateFormat("yyyy/MM/dd"); String now=df.format(new Date(d.getTime()));//yyyy/MM/dd格式 ASObjectModel doTemp = new ASObjectModel("GeneratedReminderLetterList"); - String sCondtion=DataRightManager.getRightCondition(CurUser,"O", "contract"); - doTemp.appendJboWhere(sCondtion); +/* String sCondtion=DataRightManager.getRightCondition(CurUser,"O", "contract"); + doTemp.appendJboWhere(sCondtion); */ ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); dwTemp.Style="1"; //--设置为Grid风格-- dwTemp.MultiSelect=true; dwTemp.ReadOnly = "1"; //只读模式 dwTemp.setPageSize(10); - dwTemp.genHTMLObjectWindow(StringFunction.getToday("yyyy/MM/dd")); + //dwTemp.genHTMLObjectWindow(StringFunction.getToday("yyyy/MM/dd")); + + dwTemp.genHTMLObjectWindow(""); + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 String sButtons[][] = { @@ -40,7 +42,7 @@ AsDialog.PopView("/Tenwa/Lease/Flow/RentCollection/generatedreminderletter/generatededitshow.jsp","contractlist="+sPara+"&payment_number="+payment_number, {width:"500px",height:"200px",title:"选择发送日期"},function(sReturn){ if(sReturn!=null&&sReturn.length>0){ - exportExcel(sReturn); + exportExcel(sReturn); alert("生成催款函成功!"); } return; @@ -58,8 +60,6 @@ } function exportExcel(sReturn){ - - var payment_numbers = getItemValueArray(0,'payment_number'); var allPaymentNumbers=""; for(var i=0;i0){sparam+=",";} sparam+=key+"="+param[key]; } - //RunJavaMethodTrans("com.tenwa.officetempalte.controller.RentCollectDeleteAction","deletequtation","plan_number="+payment_numbers[i]); - console.log(getNowFormatDate()); + RunJavaMethodTrans("com.tenwa.officetempalte.controller.RentCollectDeleteAction","deletequtation","plan_number="+payment_numbers[i]); + console.log(sparam); var result=RunJavaMethodTrans("com.tenwa.officetempalte.action.CreateOfficeAction","createOfficeByTemplate",sparam); console.log(getNowFormatDate()); reloadSelf(); } + function downloadFile(id){ if(!frames["downloadTemplate"]) $("").appendTo("body"); window.open(sWebRootPath+"/servlet/view/docDownloadServlet?CompClientID=<%=sCompClientID%>&sqlString=save@"+id, "downloadTemplate"); diff --git a/WebContent/Tenwa/Lease/Flow/RentNotify/RentNotifyList.jsp b/WebContent/Tenwa/Lease/Flow/RentNotify/RentNotifyList.jsp index 13688dd16..4d9daf5da 100644 --- a/WebContent/Tenwa/Lease/Flow/RentNotify/RentNotifyList.jsp +++ b/WebContent/Tenwa/Lease/Flow/RentNotify/RentNotifyList.jsp @@ -59,7 +59,8 @@ var tempParam={}; var sparam=""; //模板号 - param["templateNo"]="7bb0ad99651e42bf969a2a4e18bd20b6"; + debugger; + param["templateNo"]="ceaa18f72b0e4bbaa6e66dcfd7e32c87"; //生成文件关联关系 tempParam["OBJECTTYPE"]="租金通知书";