31 评论0and1

hlj789123

只能遍历参数面板的参数吗?从上一个界面传过来的参数,不能获取到吗?

0 2021-09-22 19:54

Leo.Tsai

请您详细描述下场景

0 2021-10-21 15:09

yzmnb4zM6235023

主表下钻子表, 子表导出需要带主表下钻的参数,怎么实现

0 2022-08-15 10:58

Catqiu

您好,可以尝试社区问答提问哦https://bbs.fanruan.com/wenda

0 2022-10-11 17:05

yzmnb4zM6235023

主表下钻子表, 子表导出需要带主表下钻的参数,怎么实现

0 2022-08-15 10:58

yzm224185

有办法实现制定列导出吗?

0 2021-08-05 11:42

RosieY

您好,可以尝试社区问答提问哦https://bbs.fanruan.com/wenda

0 2021-08-16 16:38

杨建川

步骤2.2,参数面版中添加按钮,js可以简化如下,可以不用传参

//遍历参数面板控件,获取对应的参数值。
let paramJson = {}
$.each(this.options.form.name_widgets, function (i, item) {
if (item.options.type !== 'label' && item.options.type !== 'button' && item.getName() != "PARA" && item.getName() != "SEARCH" && item.getName() != "EXPORT") {

paramJson[item.getName()] = item.getValue();
}
});
let paramJsons = $.extend({}, paramJson, {format: "excel", extype: "simple"});
var url = encodeURI('${servletURL}?viewlet=${reportName}');
FR.Msg.toast("表格下载中,请稍等");
FR.doHyperlinkByPost(url, paramJsons, "_self")

3 2021-06-09 16:03

Leo.Tsai

感谢

0 2021-10-21 15:08

yzm121406

为什么点击后会弹到另外一个页面啦?

0 2021-10-20 16:54

Leo.Tsai

文档模板没问题哦,是您自己制作的模板吗

0 2021-10-21 15:07

yzm295404

这个是导出 查询后所有的 数据吗?

0 2021-10-14 11:27

Leo.Tsai

是的

0 2021-11-18 14:13

Leo.Tsai

不是,查询的内容是什么,导出什么

0 2021-10-21 15:07

yzm295404

这个太感谢了, 完美

0 2021-10-14 10:39

fanxc

怎么修改导出文件名?

0 2021-09-15 09:52

Leo.Tsai

可以使用这个新方案:自定义导出文件名-https://help.fanruan.com/finereport/doc-view-4257.html

0 2021-10-21 15:03

yzc888

控件的颜色怎么变

0 2021-08-26 16:36

Leo.Tsai

不支持改变按钮颜色,但是可以自定义按钮图标来实现

0 2021-10-21 15:05

yzc888

控件的颜色怎么变

0 2021-08-26 16:36

Leo.Tsai

不支持改变按钮颜色,但是可以自定义按钮图标来实现

0 2021-10-21 15:05

yzm229845

太棒了,可以直接用!赞

0 2021-08-18 16:03

RosieY

点赞~

0 2021-08-16 16:42

勇敢的打工人

怎么设置导出Text文件的格式 gdk/utf-8

1 2021-05-11 17:13

勇敢的打工人

设置格式 utf-8 / ANSI / utf-16LE / utf-16BE

1 2021-05-12 13:44

yanghuiff

使用设计器自带的,本地Tomcat可以,远程Tomcat8服务下不行,会报错

Type Exception Report

Message Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986

Description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).

0 2020-09-29 17:23

RosieY

您好,服务器端JS代码中去掉最后的转码函数FR.cjkEncode(url)试一试呢

0 2020-12-16 16:16