78 lines
2.2 KiB
Plaintext
78 lines
2.2 KiB
Plaintext
<%@ page contentType="text/html; charset=GBK"%>
|
||
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%>
|
||
|
||
<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=Info00;Describe=注释区;]~*/%>
|
||
<%
|
||
/*
|
||
Author:lzb 2017-5-12
|
||
Tester:
|
||
Content: 本方信息
|
||
Input Param:
|
||
Output param:
|
||
History Log:
|
||
*/
|
||
%>
|
||
<%/*~END~*/%>
|
||
|
||
|
||
<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=Info01;Describe=定义页面属性;]~*/%>
|
||
<%
|
||
String PG_TITLE = "本方信息"; // 浏览器窗口标题 <title> PG_TITLE </title>
|
||
%>
|
||
<%/*~END~*/%>
|
||
|
||
|
||
<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=Info02;Describe=定义变量,获取参数;]~*/%>
|
||
|
||
|
||
<%
|
||
String rightType = CurPage.getParameter("rightType");
|
||
if(rightType ==null)rightType="";
|
||
%>
|
||
<%/*~END~*/%>
|
||
|
||
|
||
<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=Info03;Describe=定义数据对象;]~*/%>
|
||
<%
|
||
String sTempletNo = "AppBTHolidayInfo";//--模板号--
|
||
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
|
||
dwTemp.Style = "2";//freeform
|
||
if(rightType.equals("ReadOnly")){
|
||
dwTemp.ReadOnly = "1";//只读模式
|
||
}
|
||
dwTemp.genHTMLObjectWindow(CurPage.getParameter("id"));
|
||
CurPage.getCurComp().setAttribute("RightType", rightType);
|
||
%>
|
||
<%/*~END~*/%>
|
||
|
||
|
||
|
||
<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=Info04;Describe=定义按钮;]~*/%>
|
||
<%
|
||
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格
|
||
String sButtons[][] = {
|
||
{"true","All","Button","保存","保存所有修改","saveRecord()","","","","btn_icon_save"},
|
||
{"true","","Button","返回","返回列表页面","parent.AsDialog.ClosePage()","","","","btn_icon_return"}
|
||
};
|
||
sButtonPosition = "south";
|
||
%>
|
||
<%/*~END~*/%>
|
||
|
||
|
||
<%/*~BEGIN~不可编辑区~[Editable=false;CodeAreaID=Info05;Describe=主体页面;]~*/%>
|
||
<%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||
<%/*~END~*/%>
|
||
|
||
|
||
<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=Info06;Describe=定义按钮事件-;]~*/%>
|
||
<script type="text/javascript">
|
||
/*~[Describe=保存记录;InputParam=无;OutPutParam=无;]~*/
|
||
function saveRecord(){
|
||
as_save("myiframe0","parent.AsDialog.ClosePage()");
|
||
}
|
||
</script>
|
||
<%/*~END~*/%>
|
||
|
||
|
||
<%@ include file="/Frame/resources/include/include_end.jspf"%> |