var Widget = contentPane.getWidgetByName("card");; var p2 = Widget.getText(); window.open("http://172.18.1.64:8080/webroot/decision/view/report?viewlet=EHR/HR_info_phone_2address.cpt&op=write&p2=" + p2); _g('${sessionID}').writeReport(); window.close(); 这个js在pc端跳转就可以正常用,在手机端跳转就会报错
CustomJSErro:undfinded is not a function (evaluating 'window.open'(http://172.18.1.64:8080/webroot/decision/view/report?viewlet=EHR...... 后面看不到了 我需要在移动端跳转报表,还有传参,有的报表比较长,移动端弹框看不全 |