From 057fc976004291abc53afea3097f440a0b2cf54d Mon Sep 17 00:00:00 2001 From: liuzhao Date: Wed, 13 Jun 2018 09:17:15 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=8F=E9=94=80=E5=95=86=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E8=BD=A6=E8=BE=86=EF=BC=8C=E4=BA=A7=E5=93=81=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E8=BD=A6=E8=BE=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PortalToCarType/LmCarBrandseriesList.jsp | 37 ++++++++++ .../Apzl/PortalToCarType/LmDistributorCar.jsp | 20 ++++++ .../PortalToCarType/LmDistributorInfo.jsp | 29 ++++++++ .../PortalToCarType/LmDistributorList.jsp | 40 +++++++++++ .../LmDistributorToCarList.jsp | 63 +++++++++++++++++ .../Apzl/PortalToCarType/LmORGPortalList.jsp | 70 +++++++++++++++++++ .../Tenwa/Apzl/PortalToCarType/LmOrgInfo.jsp | 29 ++++++++ .../Apzl/productCar/LmProductAndCarList.jsp | 66 +++++++++++++++++ .../Apzl/productCar/LmProductCarInfo.jsp | 32 +++++++++ .../Apzl/productCar/LmProductCarList.jsp | 59 ++++++++++++++++ .../Apzl/productCar/LmProductUpAndDown.jsp | 20 ++++++ 11 files changed, 465 insertions(+) create mode 100644 WebContent/Tenwa/Apzl/PortalToCarType/LmCarBrandseriesList.jsp create mode 100644 WebContent/Tenwa/Apzl/PortalToCarType/LmDistributorCar.jsp create mode 100644 WebContent/Tenwa/Apzl/PortalToCarType/LmDistributorInfo.jsp create mode 100644 WebContent/Tenwa/Apzl/PortalToCarType/LmDistributorList.jsp create mode 100644 WebContent/Tenwa/Apzl/PortalToCarType/LmDistributorToCarList.jsp create mode 100644 WebContent/Tenwa/Apzl/PortalToCarType/LmORGPortalList.jsp create mode 100644 WebContent/Tenwa/Apzl/PortalToCarType/LmOrgInfo.jsp create mode 100644 WebContent/Tenwa/Apzl/productCar/LmProductAndCarList.jsp create mode 100644 WebContent/Tenwa/Apzl/productCar/LmProductCarInfo.jsp create mode 100644 WebContent/Tenwa/Apzl/productCar/LmProductCarList.jsp create mode 100644 WebContent/Tenwa/Apzl/productCar/LmProductUpAndDown.jsp diff --git a/WebContent/Tenwa/Apzl/PortalToCarType/LmCarBrandseriesList.jsp b/WebContent/Tenwa/Apzl/PortalToCarType/LmCarBrandseriesList.jsp new file mode 100644 index 000000000..e7dd709c2 --- /dev/null +++ b/WebContent/Tenwa/Apzl/PortalToCarType/LmCarBrandseriesList.jsp @@ -0,0 +1,37 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><% + /* + Author: undefined 2018-06-06 + Content: + History Log: + */ + ASObjectModel doTemp = new ASObjectModel("LM_CAR_BRANDSERIES_LIST"); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); + dwTemp.Style="1"; //--设置为Grid风格-- + dwTemp.ReadOnly = "1"; //只读模式 + dwTemp.setPageSize(10); + dwTemp.genHTMLObjectWindow(""); + + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + String sButtons[][] = { + {"true","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""}, + {"false","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""}, + {"false","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0,'alert(getRowCount(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/Tenwa/Apzl/PortalToCarType/LmDistributorCar.jsp b/WebContent/Tenwa/Apzl/PortalToCarType/LmDistributorCar.jsp new file mode 100644 index 000000000..5d875ed66 --- /dev/null +++ b/WebContent/Tenwa/Apzl/PortalToCarType/LmDistributorCar.jsp @@ -0,0 +1,20 @@ +<%@ page contentType="text/html; charset=GBK"%><%@ + include file="/IncludeBegin.jsp"%><% +/* + 页面说明: 示例上下联动框架页面 + */ + String distributorId = CurPage.getParameter("distributorId"); +%><%@include file="/Resources/CodeParts/Frame02.jsp"%> + +<%@ include file="/IncludeEnd.jsp"%> \ No newline at end of file diff --git a/WebContent/Tenwa/Apzl/PortalToCarType/LmDistributorInfo.jsp b/WebContent/Tenwa/Apzl/PortalToCarType/LmDistributorInfo.jsp new file mode 100644 index 000000000..4ba45a7b3 --- /dev/null +++ b/WebContent/Tenwa/Apzl/PortalToCarType/LmDistributorInfo.jsp @@ -0,0 +1,29 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><% + /* + Author: undefined 2018-06-08 + Content: 示例详情页面 + History Log: + */ + String sPrevUrl = CurPage.getParameter("PrevUrl"); + if(sPrevUrl == null) sPrevUrl = ""; + + String sTempletNo = "LmDistributorInfo";//--模板号-- + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + dwTemp.Style = "2";//freeform + dwTemp.ReadOnly = "-2";//只读模式 + dwTemp.genHTMLObjectWindow(CurPage.getParameter("distributorId")); + + String sButtons[][] = { + //{"true","All","Button","保存","保存所有修改","as_save(0)","","","",""}, + //{String.valueOf(!com.amarsoft.are.lang.StringX.isSpace(sPrevUrl)),"All","Button","返回","返回列表","returnList()","","","",""} + }; + sButtonPosition = "south"; +%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> \ No newline at end of file diff --git a/WebContent/Tenwa/Apzl/PortalToCarType/LmDistributorList.jsp b/WebContent/Tenwa/Apzl/PortalToCarType/LmDistributorList.jsp new file mode 100644 index 000000000..473a591b9 --- /dev/null +++ b/WebContent/Tenwa/Apzl/PortalToCarType/LmDistributorList.jsp @@ -0,0 +1,40 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><% + /* + Author: undefined 2018-06-06 + Content: + History Log: + */ + ASObjectModel doTemp = new ASObjectModel("LM_DISTRIBUTOR_LIST"); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); + dwTemp.Style="1"; //--设置为Grid风格-- + dwTemp.ReadOnly = "1"; //只读模式 + dwTemp.setPageSize(10); + dwTemp.genHTMLObjectWindow(""); + + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + String sButtons[][] = { + {"false","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""}, + {"false","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""}, + {"false","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0,'alert(getRowCount(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/Tenwa/Apzl/PortalToCarType/LmDistributorToCarList.jsp b/WebContent/Tenwa/Apzl/PortalToCarType/LmDistributorToCarList.jsp new file mode 100644 index 000000000..5ef5c7cfb --- /dev/null +++ b/WebContent/Tenwa/Apzl/PortalToCarType/LmDistributorToCarList.jsp @@ -0,0 +1,63 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><% + /* + Author: undefined 2018-06-06 + Content: + History Log: + */ + ASObjectModel doTemp = new ASObjectModel("LM_DISTRIBUTOR_TO_CAR"); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); + String distributorId = CurPage.getParameter("DISTRIBUTOR_ID"); + dwTemp.Style="1"; //--设置为Grid风格-- + dwTemp.ReadOnly = "1"; //只读模式 + dwTemp.setPageSize(10); + dwTemp.genHTMLObjectWindow(distributorId); + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + String sButtons[][] = { + {"true","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""}, + {"false","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""}, + {"true","","Button","删除","删除","asDelete()","","","","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/Tenwa/Apzl/PortalToCarType/LmORGPortalList.jsp b/WebContent/Tenwa/Apzl/PortalToCarType/LmORGPortalList.jsp new file mode 100644 index 000000000..5b5e76b01 --- /dev/null +++ b/WebContent/Tenwa/Apzl/PortalToCarType/LmORGPortalList.jsp @@ -0,0 +1,70 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><% + /* + Author: undefined 2018-06-06 + Content: + History Log: + */ + ASObjectModel doTemp = new ASObjectModel("LM_ORG_LIST"); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); +// String type = CurPage.getParameter("type"); +// if(type == null) type = ""; + dwTemp.Style="1"; //--设置为Grid风格-- + dwTemp.ReadOnly = "1"; //只读模式 + dwTemp.setPageSize(10); +// if("portal".equals(type)){ +// doTemp.setVisible("EDIT",false); +// } + dwTemp.genHTMLObjectWindow(""); + + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + String sButtons[][] = { + {"false","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""}, + {"false","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""}, + {"false","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0,'alert(getRowCount(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/Tenwa/Apzl/PortalToCarType/LmOrgInfo.jsp b/WebContent/Tenwa/Apzl/PortalToCarType/LmOrgInfo.jsp new file mode 100644 index 000000000..456948514 --- /dev/null +++ b/WebContent/Tenwa/Apzl/PortalToCarType/LmOrgInfo.jsp @@ -0,0 +1,29 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><% + /* + Author: undefined 2018-06-08 + Content: 示例详情页面 + History Log: + */ + String sPrevUrl = CurPage.getParameter("PrevUrl"); + if(sPrevUrl == null) sPrevUrl = ""; + + String sTempletNo = "LmOrgInfo";//--模板号-- + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + dwTemp.Style = "2";//freeform + dwTemp.ReadOnly = "-2";//只读模式 + dwTemp.genHTMLObjectWindow(CurPage.getParameter("ORGID")); + + String sButtons[][] = { + {"false","All","Button","保存","保存所有修改","as_save(0)","","","",""}, + {String.valueOf(!com.amarsoft.are.lang.StringX.isSpace(sPrevUrl)),"All","Button","返回","返回列表","returnList()","","","",""} + }; + sButtonPosition = "south"; +%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> \ No newline at end of file diff --git a/WebContent/Tenwa/Apzl/productCar/LmProductAndCarList.jsp b/WebContent/Tenwa/Apzl/productCar/LmProductAndCarList.jsp new file mode 100644 index 000000000..446437983 --- /dev/null +++ b/WebContent/Tenwa/Apzl/productCar/LmProductAndCarList.jsp @@ -0,0 +1,66 @@ +<%@page import="org.apache.poi.poifs.property.Parent"%> +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><% + /* + Author: undefined 2018-06-07 + Content: + History Log: + */ + String TYPENO= CurPage.getParameter("TYPENO"); + ASObjectModel doTemp = new ASObjectModel("LmProductAndCarList"); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); + dwTemp.Style="1"; //--设置为Grid风格-- + dwTemp.ReadOnly = "1"; //只读模式 + dwTemp.setPageSize(10); + dwTemp.genHTMLObjectWindow(TYPENO); + + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + String sButtons[][] = { + {"true","","Button","新增","新增","newRecord()","","","","btn_icon_add",""}, + //{"true","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""}, + //{"true","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0,'alert(getRowCount(0))')","","","","btn_icon_delete",""}, + {"true","","Button","删除","删除","asDelete()","","","","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/Tenwa/Apzl/productCar/LmProductCarInfo.jsp b/WebContent/Tenwa/Apzl/productCar/LmProductCarInfo.jsp new file mode 100644 index 000000000..8ae5bfcb0 --- /dev/null +++ b/WebContent/Tenwa/Apzl/productCar/LmProductCarInfo.jsp @@ -0,0 +1,32 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><% + /* + Author: undefined 2018-06-06 + Content: 示例详情页面 + History Log: + */ + String sPrevUrl = CurPage.getParameter("PrevUrl"); + if(sPrevUrl == null) sPrevUrl = ""; + + String sTempletNo = "LmProductCarInfo";//--模板号-- + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + dwTemp.Style = "2";//freeform + dwTemp.ReadOnly = "-2";//只读模式 + dwTemp.genHTMLObjectWindow(CurPage.getParameter("TYPENO")); + + String sButtons[][] = { + //{"true","All","Button","保存","保存所有修改","save()","","","",""}, + //{"true","All","Button","返回","返回列表","returnList()","","","",""} + }; + sButtonPosition = "south"; +%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> \ No newline at end of file diff --git a/WebContent/Tenwa/Apzl/productCar/LmProductCarList.jsp b/WebContent/Tenwa/Apzl/productCar/LmProductCarList.jsp new file mode 100644 index 000000000..64e7c5471 --- /dev/null +++ b/WebContent/Tenwa/Apzl/productCar/LmProductCarList.jsp @@ -0,0 +1,59 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><% + /* + Author: undefined 2018-06-06 + Content: + History Log: + */ + String PG_TITLE ="汽车产品列表"; + String TYPENO= CurPage.getParameter("TYPENO"); + ASObjectModel doTemp = new ASObjectModel("LmProductCarList"); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); + dwTemp.Style="1"; //--设置为Grid风格-- + dwTemp.ReadOnly = "1"; //只读模式 + dwTemp.setPageSize(10); + dwTemp.genHTMLObjectWindow(TYPENO); + + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + String sButtons[][] = { + //{"true","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""}, + //{"true","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""}, + //{"true","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0,'alert(getRowCount(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/Tenwa/Apzl/productCar/LmProductUpAndDown.jsp b/WebContent/Tenwa/Apzl/productCar/LmProductUpAndDown.jsp new file mode 100644 index 000000000..b576213b9 --- /dev/null +++ b/WebContent/Tenwa/Apzl/productCar/LmProductUpAndDown.jsp @@ -0,0 +1,20 @@ +<%@ page contentType="text/html; charset=GBK"%><%@ + include file="/IncludeBegin.jsp"%><% +/* + 页面说明: 示例上下联动框架页面 + */ + String TYPENO = CurPage.getParameter("TYPENO"); +%><%@include file="/Resources/CodeParts/Frame02.jsp"%> + +<%@ include file="/IncludeEnd.jsp"%> \ No newline at end of file