1. window.showModalDialog 返回值和刷新主页
var result=window.showModalDialog("/officeauto/hr/Popup/ReviewDX.aspx?Id="+Id+"&RelateId="+RelateId+"&Code="+Code,window,"dialogWidth=600px;dialogHeight=550px;status=no;help=no;scrollbars=no"); if (result != null && result.length > 0) { window.location.reload(); }
alert("保存成功!"); window.returnValue="11"; window.close();
时间: 2024-11-08 09:54:06