链接报表的地址,我用的 :
window.open(encodeURI("http://IP:端口/webroot/decision/view/report/品保?viewlet=报表名称.cpt","_self"))
提示404 因为路径下有中文名称,也转码了,这个品保是不是不该写在这个地方,该怎么写的?
window.open(
"http://IP:端口/webroot/decision/view/report?viewlet=品保/报表名称.cpt","_self")
http://IP:端口/webroot/decision/view/report?viewlet=报表名称.cpt