From 88553e405dc592e16a9fc1bc4c5c03645f6728e0 Mon Sep 17 00:00:00 2001 From: xiezhiwen Date: Fri, 1 Nov 2019 16:40:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E5=B8=B8=E8=A7=81=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E6=8C=87=E5=BC=95=E9=85=8D=E7=BD=AE=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Tenwa/wechat/WechatProblemGuideInfo.jsp | 34 +++++++++++++++ .../Tenwa/wechat/WechatProblemGuideList.jsp | 42 +++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 WebContent/Tenwa/wechat/WechatProblemGuideInfo.jsp create mode 100644 WebContent/Tenwa/wechat/WechatProblemGuideList.jsp diff --git a/WebContent/Tenwa/wechat/WechatProblemGuideInfo.jsp b/WebContent/Tenwa/wechat/WechatProblemGuideInfo.jsp new file mode 100644 index 000000000..0eb0476a0 --- /dev/null +++ b/WebContent/Tenwa/wechat/WechatProblemGuideInfo.jsp @@ -0,0 +1,34 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><% + /* + Author: undefined 2019-10-31 + Content: 示例详情页面 + History Log: + */ + String sPrevUrl = CurPage.getParameter("PrevUrl"); + if(sPrevUrl == null) sPrevUrl = "/Tenwa/wechat/WechatProblemGuideList.jsp"; + + String sTempletNo = "WECHAT_PROBLEM_GUIDE_INFO";//--模板号-- + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + //doTemp.setColTips("", "测试"); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + dwTemp.Style = "2";//freeform + //dwTemp.ReadOnly = "-2";//只读模式 + dwTemp.genHTMLObjectWindow(CurPage.getParameter("id")); + + String sButtons[][] = { + {"true","All","Button","保存","保存所有修改","saveRecord()","","","","btn_icon_save"}, + {"true","","Button","返回","返回列表页面","parent.AsDialog.ClosePage()","","","","btn_icon_return"} + }; + 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/wechat/WechatProblemGuideList.jsp b/WebContent/Tenwa/wechat/WechatProblemGuideList.jsp new file mode 100644 index 000000000..c91af186d --- /dev/null +++ b/WebContent/Tenwa/wechat/WechatProblemGuideList.jsp @@ -0,0 +1,42 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><% + /* + Author: undefined 2019-10-31 + Content: + History Log: + */ + ASObjectModel doTemp = new ASObjectModel("WECHAT_PROBLEM_GUIDE_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",""}, + {"true","","Button","修改","修改","viewAndEdit()","","","","btn_icon_detail",""}, + {"true","All","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