只要是页面里看到的都会可以重定义window.onbeforeprint把控件隐藏
再用window.onafterprint重新显示