window.onload = function () { |
var msg= "<%=request.getAttribute(" msg ")%>" ; |
if (msg != "" && msg != "null" ) { |
showMsg(msg); |
window.dialogArguments.window.location = "<%=request.getContextPath()%>/ycmc/ycmcpbuss/selfequip/selfEquipAction.do?action=init" ; |
if (msg.indexOf( "添加成功" ) > -1 || msg.indexOf( "修改成功" ) > -1 ){ |
window.close(); |
} |
} |