增加账户信息详情页面与只读
This commit is contained in:
parent
edf4d4bc83
commit
da69fe52a1
@ -47,8 +47,8 @@
|
||||
}else{
|
||||
sButtons=new String[][] {
|
||||
{temp,"All","Button","新增","新增","newRecord()","","","","btn_icon_add",""},
|
||||
//{temp,"","Button","详情","查看/修改详情","view()","","","","btn_icon_detail"},
|
||||
{temp,"","Button","修改","修改","viewAndEdit()","","","","btn_icon_detail",""},
|
||||
{temp,"","Button","详情","查看/修改详情","view()","","","","btn_icon_detail"},
|
||||
//{"true","All","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0)","","","","btn_icon_delete",""},
|
||||
{temp,"All","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0)","","","","btn_icon_delete",""},
|
||||
};
|
||||
@ -80,5 +80,17 @@
|
||||
},"修改");
|
||||
|
||||
}
|
||||
|
||||
function view(){
|
||||
var sUrl = "/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorAccountInfo.jsp";
|
||||
var sPara = getItemValue(0,getRow(0),'id');
|
||||
if(typeof(sPara)=="undefined" || sPara.length==0 ){
|
||||
alert("参数不能为空!");
|
||||
return ;
|
||||
}
|
||||
AsDialog.PopView(sUrl,"id="+sPara+"&flowunid="+"<%=sFlowUnid%>"+"&RightType=ReadOnly","dialogWidth=900px;dialogHeight=200px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){
|
||||
reloadSelf();
|
||||
},"详情");
|
||||
}
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
@ -58,7 +58,7 @@
|
||||
}
|
||||
AsDialog.PopView(sUrl,"id="+sPara+"&flowunid="+"<%=sFlowUnid%>","dialogWidth=900px;dialogHeight=200px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){
|
||||
reloadSelf();
|
||||
},"详情");
|
||||
},"ミ゙クト");
|
||||
}
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
@ -37,7 +37,7 @@
|
||||
alert("参数不能为空!");
|
||||
return ;
|
||||
}
|
||||
AsDialog.PopView(sUrl,"id="+sPara,"dialogWidth=900px;dialogHeight=200px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){
|
||||
AsDialog.PopView(sUrl,"id="+sPara+"&RightType=ReadOnly","dialogWidth=900px;dialogHeight=200px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){
|
||||
//reloadSelf();
|
||||
},"详情");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user