50 lines
1.7 KiB
Plaintext
50 lines
1.7 KiB
Plaintext
<%@ page contentType="text/html; charset=GBK"%><%@
|
|
include file="/Frame/resources/include/include_begin_info.jspf"%><%
|
|
/*
|
|
页面说明:群组详情
|
|
*/
|
|
//获得页面参数
|
|
String sRoleID = CurPage.getParameter("ID");
|
|
if(sRoleID==null) sRoleID="";
|
|
String sRoleID1 = CurPage.getParameter("APP_CONF_ID");
|
|
if(sRoleID1==null) sRoleID1="";
|
|
//通过显示模版产生模型对象doTemp
|
|
ASObjectModel doTemp = null;
|
|
if (sRoleID.equals("")) {
|
|
doTemp = new ASObjectModel("MAIN_APP_FUNCTIONAL_ADD");
|
|
} else {
|
|
doTemp = new ASObjectModel("MAIN_APP_FUNCTIONAL_EDIT");
|
|
}
|
|
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
|
|
dwTemp.Style="2"; //设置DW风格 1:Grid 2:Freeform
|
|
dwTemp.ReadOnly = "0"; //设置是否只读 1:只读 0:可写
|
|
if (sRoleID.equals("")) {
|
|
dwTemp.genHTMLObjectWindow("");
|
|
} else {
|
|
dwTemp.genHTMLObjectWindow(sRoleID+","+sRoleID1);
|
|
}
|
|
|
|
String sButtons[][] = {
|
|
{(CurUser.hasRole("099")?"true":"false"),"","Button","保存","保存修改","saveRecord()","","","",""},
|
|
{"true","","Button","返回","返回列表页面","goBack()","","","","btn_icon_return",""}
|
|
};
|
|
%><%@include file="/Frame/resources/include/ui/include_info.jspf"%>
|
|
<script type="text/javascript">
|
|
setDialogTitle("app主配置详情");
|
|
function saveRecord(){
|
|
setItemValue(0,0,"APP_CONF_ID","<%=sRoleID1%>");
|
|
as_save("myiframe0","goBack()");
|
|
}
|
|
|
|
function goBack(){
|
|
var id1 = "<%=sRoleID1%>";
|
|
if (typeof(id1)=="undefined" || id1.length==0){
|
|
alert(getMessageText('AWEW1001'));//请选择一条信息!
|
|
return;
|
|
}
|
|
var sUrl = "/AppConfig/AppFunctionConfig/FunctionConfigList.jsp";
|
|
var sparm="fcid="+id1;
|
|
AsControl.OpenView(sUrl, sparm, '_self', '');
|
|
}
|
|
</script>
|
|
<%@ include file="/Frame/resources/include/include_end.jspf"%> |