From 4c249f5fa9556e72b285271fd6f6d1c290b0f161 Mon Sep 17 00:00:00 2001 From: G Date: Mon, 5 Nov 2018 15:11:19 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=9F=E8=B5=81=E7=B3=BB=E7=BB=9F=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E9=85=8D=E7=BD=AE=E5=88=97=E8=A1=A8=EF=BC=9B=20?= =?UTF-8?q?=E5=8E=BBdebugger?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LBEquipmentInfo.jsp | 1 - WebContent/Version/VersionInfo.jsp | 45 ++++++++++++++ WebContent/Version/VersionList.jsp | 62 +++++++++++++++++++ WebContent/WEB-INF/etc/jbo/jbo_lease.xml | 19 ++++++ 4 files changed, 126 insertions(+), 1 deletion(-) create mode 100644 WebContent/Version/VersionInfo.jsp create mode 100644 WebContent/Version/VersionList.jsp diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/LBEquipmentInfo.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/LBEquipmentInfo.jsp index ec4362360..41e4ceb13 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/LBEquipmentInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/LBEquipmentInfo.jsp @@ -82,7 +82,6 @@ /*~[Describe=保存记录;InputParam=无;OutPutParam=无;]~*/ function saveRecord(){ - debugger; var ids="<%=ids%>"; ids=ids.replace(/,/ig,"@"); var ASSETTRANSFERER=getItemValue(0,getRow(0),"ASSETTRANSFERER"); diff --git a/WebContent/Version/VersionInfo.jsp b/WebContent/Version/VersionInfo.jsp new file mode 100644 index 000000000..bd926275c --- /dev/null +++ b/WebContent/Version/VersionInfo.jsp @@ -0,0 +1,45 @@ +<%@ page contentType="text/html; charset=GBK"%><%@ +include + file="/Frame/resources/include/include_begin_info.jspf"%> +<% + //获得参数 + String id = CurPage.getParameter("id"); + if (id == null) + id = ""; + + String sUserID = CurPage.getParameter("UserID"); + if (sUserID == null) + sUserID = ""; + + java.util.Date dateNow = new java.util.Date(); + SimpleDateFormat sdfTemp = new SimpleDateFormat( + "yyyy/MM/dd"); + String date = sdfTemp.format(dateNow); + + ASObjectModel doTemp = new ASObjectModel("VERSION_INFO"); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp, + request); + dwTemp.Style = "2"; //设置DW风格 1:Grid 2:Freeform + dwTemp.ReadOnly = "0"; //设置是否只读 1:只读 0:可写 + dwTemp.genHTMLObjectWindow(id); + + String sButtons[][] = {{"true", "All", "Button", "保存", + "保存所有修改", "saveRecord()", "", "", "", "btn_icon_save"},}; +%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> diff --git a/WebContent/Version/VersionList.jsp b/WebContent/Version/VersionList.jsp new file mode 100644 index 000000000..d4cd59cc6 --- /dev/null +++ b/WebContent/Version/VersionList.jsp @@ -0,0 +1,62 @@ +<%@ page contentType="text/html; charset=GBK"%><%@ + include + file="/Frame/resources/include/include_begin_list.jspf"%> +<% + ASObjectModel doTemp = new ASObjectModel("VERSION_LIST"); + doTemp.setLockCount(2); //锁定两列 + ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); + + dwTemp.Style="1"; //设置为Grid风格 + dwTemp.ReadOnly = "1";//编辑模式 + dwTemp.setPageSize(10); + dwTemp.ConvertCode2Title = "1"; + dwTemp.genHTMLObjectWindow(""); + + String sButtons[][] = { + {"true","","Button","新增应用","新增一个版本","newRecord()","","","","btn_icon_add"}, + {"true","","Button","应用信息","查看版本信息","viewAndEdit()","","","","btn_icon_detail"}, + {"true","","Button","删除该应用","删除该版本","if(confirm('确实要删除吗?'))as_delete(0,'')","","","","btn_icon_delete"}, + }; +%><%@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/WEB-INF/etc/jbo/jbo_lease.xml b/WebContent/WEB-INF/etc/jbo/jbo_lease.xml index fefb5ba02..aedc6d2af 100644 --- a/WebContent/WEB-INF/etc/jbo/jbo_lease.xml +++ b/WebContent/WEB-INF/etc/jbo/jbo_lease.xml @@ -4717,6 +4717,25 @@ + + + + + + + + + + + + + + + + + + +