var widget = _g().getParameterContainer().getWidgetByName("控件A");widget.getValue()var reportPath = "";//根据A控件值选择不同报表if(widget == "24K") {reportPath = "ledteenreport/报表1.cpt&op=view";} else if(widget != "24K") {reportPath = "ledteenreport/报表2.cpt&op=view";}//FR.Msg.alert("调试", "基板代码值:" + widget.getValue());FR.doHyperlinkByPost("${servletURL}?viewlet=" + reportPath);