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

37 lines
1.2 KiB
Plaintext

<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
/*
Author: undefined 2017-10-17
Content: 示例详情页面
History Log:
*/
String pid = CurPage.getParameter("PartnerId");
String id = CurPage.getParameter("ID_");
if(pid == null) pid = "";
String sTempletNo = "OrgTelInfo";//--模板号--
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
//doTemp.setColTips("", "测试");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
dwTemp.Style = "2";//freeform
//dwTemp.ReadOnly = "-2";//只读模式
dwTemp.genHTMLObjectWindow(id);
String sButtons[][] = {
{"true","All","Button","保存","保存所有修改","do_save()","","","",""},
{"true","All","Button","返回","返回列表","returnList()","","","","btn_icon_back"}
};
sButtonPosition = "south";
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
<script type="text/javascript">
function returnList(){
AsDialog.ClosePage();
}
function do_save(){
var pid="<%=pid%>";
setItemValue(0, 0, "PARTNERID",pid);
as_save(0);
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>