1.功能简介
决策报表支持导出为 Excel、PDF 、Word 和 PNG 格式:
- 普通决策报表导出接口为 &op=export&format=xxx,xxx 代表导出格式对应的参数。
- 带参决策报表需在导出后缀中加上 sessionID,即 &op=export&format=xxx&sessionID=***
- 导出时可自定义尺寸,在后缀末尾再添加参数 &width=1920&height=1080
- 导出时可修改文件名,在后缀末尾再添加参数 &__filename__=文件名
注:11.0.1 之前的版本,仅支持使用 &export_format=xxx 。11.0.1 及之后版本 &export_format=xxx 接口变更为 &op=export&format=xxx,但 &export_format=xxx 仍支持继续使用。
注意事项
1)以下是导出时,某些场景支持与不支持的情况,支持打勾,不支持为空:
功能项 |
导出为Word |
导出为Excel |
导出为PDF |
导出为PNG |
body 背景 |
✔ |
✔ |
||
动态背景 |
||||
图表块/报表块背景为颜色 |
✔ |
✔ |
✔ |
✔ |
图表块/报表块背景为渐变色 |
✔ |
✔ |
✔ |
|
图表块背景为图片 |
✔ |