'; //将表格添加进新的窗口   newWin.document.write(strTitle + tableToPrint.outerHTML);   newWin.document.close();//IE浏览器使用必须添加这一句   newWin.focus();//IE浏览器使用必须添加这一句   newWin.print();//打印   newWin.close();//关闭窗口   }, //打开右滑窗 openPR: function(){ var that=this; $.ajax({ url:'http://bm.yuntg.cn/HZStuEnrollRESTFull/GetrRegFormData', type:"POST", data:{ StuID:'1FB1EDF8-3BBA-4D40-BAC0-39BB668C59BE' }, header: { 'content-type': 'application/x-www-form-urlencoded', 'Access-Control-Allow-Origin': '*' }, dataType:"json", success:function(res){ console.log('打开右滑窗-res'); console.log(res); that.regFormData=res.Result; that.poppostion='0'; }, error:function(res){ console.log('打开右滑窗-res'); console.log(res); } }); }, //关闭右滑窗 closePR: function(){ this.poppostion='-60%'; } } })