2018-11-22 14:18:41 +08:00

37 lines
1.3 KiB
Plaintext

<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
/*
Author: undefined 2018-11-22
Content: 示例详情页面
History Log:
*/
String sPrevUrl = CurPage.getParameter("PrevUrl");
String projectid = CurPage.getParameter("ProjectId");
String flowunid = CurPage.getParameter("FlowUnid");
if(sPrevUrl == null) sPrevUrl = "";
String sTempletNo = "LBOPINIONSINFO";//--模板号--
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
doTemp.setDefaultValue("projectid", projectid);
doTemp.setDefaultValue("flowunid", flowunid);
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
dwTemp.Style = "2";//freeform
//dwTemp.ReadOnly = "-2";//只读模式
dwTemp.genHTMLObjectWindow(projectid+","+flowunid);
String sButtons[][] = {
{"true","All","Button","保存","保存所有修改","save()","","","",""},
{"false","All","Button","返回","返回列表","returnList()","","","",""}
};
//sButtonPosition = "north";
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
<script type="text/javascript">
function save(){
as_save("0");
}
function returnList(){
AsControl.OpenView("<%=sPrevUrl%>", "","_self","");
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>