2018-06-03 22:26:41 +08:00

34 lines
1.3 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<%@ page contentType="text/html; charset=GBK"%><%@
include file="/Frame/resources/include/include_begin_info.jspf"%><%
/*
Content: 格式化报告定义信息详情
Input Param:
DocID 格式化调查报告编号
DirID 格式化报告目录编号
*/
String PG_TITLE = "格式化报告定义信息详情"; // 浏览器窗口标题 <title> PG_TITLE </title>
//获得组件参数
String sDocID = CurPage.getParameter("DocID");
String sDirID = CurPage.getParameter("DirID");
if(sDocID == null) sDocID = "";
if(sDirID == null) sDirID = "";
ASObjectModel doTemp = new ASObjectModel("FormatdocDefInfo");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
dwTemp.Style="2"; //设置DW风格 1:Grid 2:Freeform
dwTemp.ReadOnly = "0"; //设置是否只读 1:只读 0:可写
dwTemp.genHTMLObjectWindow(sDocID+","+sDirID);
String sButtons[][] = {
{"true","","Button","保存","保存","saveRecord()","","","",""}
};
%><%@include file="/Frame/resources/include/ui/include_info.jspf"%>
<script type="text/javascript">
setDialogTitle("格式化报告定义信息详情");
function saveRecord(){
setItemValue(0,0,"DocID","<%=sDocID%>");
as_save("myiframe0","parent.AsDialog.ClosePage();");
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>