finereport柱形图超级链接js

image.png
var name_1 = FR.cjkEncode("SixIndicators/cpt/SixIndicators.3.Order.Actual.cpt");
var name_2 = FR.cjkEncode("SixIndicators/cpt/SixIndicators.3.Order.Budget.cpt");
var name_3 = FR.cjkEncode("SixIndicators/cpt/SixIndicators.4.Order.Actual.cpt");
var type0 = FR.cjkEncode(type);
var company0 = FR.cjkEncode(company);
var month0 = FR.cjkEncode(month);
var nowyear0 = FR.cjkEncode(nowyear);
if(table=="实际") {
    window.location = "${servletURL}?reportlet="+name_1+"&type="+type0+"&company="+company0+"&nowmonth="+month0+"&nowyear="+nowyear0;
} else if(table == "年度预算"){
    window.location = "${servletURL}?reportlet="+name_2+"&type="+type0+"&company="+company0+"&nowmonth="+month0+"&nowyear="+nowyear0;
}else if(table == "月初预算"){
    window.location = "${servletURL}?reportlet="+name_3+"&type="+type0+"&company="+company0+"&nowmonth="+month0+"&nowyear="+nowyear0;
}

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容