34 lines
1.3 KiB
Plaintext
34 lines
1.3 KiB
Plaintext
<%@ 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"%> |