waf2開啟編輯介面
var option = {
OpenType:"iframe",
//bgiframe:false,
method:'POST',
modal:true,
openFromParent:false,
position:'center',
showTitleBar:true,
autoMax:false,
width:900,
height:650,
minHeight:400,
minWidth:350,
iconCls:"ui-icon-winIcon",
draggable:true,
resizable:false,
hideEffect:"slide"
};
// 傳參時直接在連結地址中拼接引數
// 在跳轉的頁面上,可以直接接收引數
option.url=waf.getContextPath()+"/dynamicForm.do?event=initialize&uipk=com.kingdee.eas.custom.DetectionResultRedtcPage&waf2skin=easbase&method=doEvent&debug=true&billId=" + billId;
option.title = "測試";
option.onOpenCompleted = function(event, ui){
waf(window).unbind("resize", waf.window);
waf(window).bind("resize", waf.window);
}
waf.window.open(option);
}
注: