Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

积木报表打印分页 #2698

Closed
cdbmfrcjj opened this issue Jun 7, 2024 · 5 comments
Closed

积木报表打印分页 #2698

cdbmfrcjj opened this issue Jun 7, 2024 · 5 comments

Comments

@cdbmfrcjj
Copy link

版本号:

1.7.4

分支: master?还是springboot3?

master

前端版本: vue3版?还是 vue2版?

vue3

问题描述:

积木报表设计器设计纸张 A4,放满了一页数据,预览打印时出现了两页,导出excel发现设计器里一页是63行,而导出后一页A4纸时42行,列数与设计器中也相差很大

截图&代码:

设计器
1717744270277
打印预览
1717744307091
导出excel后
image

友情提示(为了提高issue处理效率):

  • 未按格式要求发帖、描述过于简抽象的,会被直接删掉;
  • 请自己初判问题描述是否清楚,是否方便我们调查处理;
  • 针对问题请说明是Online在线功能(需说明用的主题模板),还是生成的代码功能;
  • springboot3_sas分支采用 Spring Authorization Server 替换 Shiro,目前是beta版不稳定,生产项目不要使用;
@cdbmfrcjj
Copy link
Author

经过测试,不同分辨率下 设计器中A4纸绿色虚线的范围不同,

@zhangdaiscott zhangdaiscott transferred this issue from jeecgboot/JeecgBoot Jun 13, 2024
@zhangdaiscott
Copy link
Member

zy

@zhangdaiscott
Copy link
Member

是导出pdf吗

@cdbmfrcjj
Copy link
Author

是导出pdf吗

不是,是导出excel

@liaozhiyang
Copy link

已修复,下一版本发布。

应该在pc上面没问题,笔记本上可能会有问题。window.devicePixelRatio 导致的,window.devicePixelRatio为1的上面没问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants