增加了一个保存方法
This commit is contained in:
parent
13c16caf47
commit
e924cc319b
@ -6,7 +6,8 @@
|
||||
History Log:
|
||||
*/
|
||||
String id = CurPage.getParameter("id");//账号id
|
||||
String flowunid=CurPage.getParameter("ObjectNo");
|
||||
String sflowunid = CurPage.getParameter("flowunid");
|
||||
String flowunid=CurPage.getParameter("ObjectNo");
|
||||
// String righttrpe=CurPage.getParameter("righttrpe");
|
||||
if(id == null) id="";
|
||||
String sTempletNo = "LDistributorAccountInfo"; //模板号
|
||||
@ -28,11 +29,15 @@
|
||||
|
||||
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格
|
||||
String sButtons[][] = {
|
||||
{"true","All","Button","±£´æ","±£´æ","as_save(0)","","","","btn_icon_save"},
|
||||
{"true","","Button","保存","保存所有修改","save()","","","","btn_icon_save"},
|
||||
{"true","","Button","返回","返回","returnList()","","","","btn_icon_return"}
|
||||
};
|
||||
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||||
<script type="text/javascript">
|
||||
function save(){
|
||||
setItemValue(0,0,"sPara","<%=sflowunid%>");
|
||||
as_save(0);
|
||||
}
|
||||
function returnList(){
|
||||
<%-- var sUrl = "/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorAccountList.jsp";
|
||||
AsControl.OpenView(sUrl,"FlowUnid=<%=flowunid%>",'_self',''); --%>
|
||||
|
||||
@ -28,8 +28,9 @@
|
||||
<script type="text/javascript">
|
||||
function newRecord(){
|
||||
var sUrl = "/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorAccountInfo.jsp";
|
||||
var sPara ="flowunid=<%=sFlowUnid%>";
|
||||
/* AsControl.OpenView(sUrl,'','_self',''); */
|
||||
AsDialog.PopView(sUrl,"","dialogWidth=800px;dialogHeight=200px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){
|
||||
AsDialog.PopView(sUrl,sPara,"dialogWidth=800px;dialogHeight=200px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){
|
||||
reloadSelf();
|
||||
},"ÐÂÔö");
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user