JimuReport积木报表与JeecgBoot集成文档—开源免费的报表工具!
积木报表 ,一个开源免费的报表工具,像搭建积木一样在线设计报表!功能涵盖数据报表设计、打印设计、图表设计、大屏设计等!
领先的企业级Web报表平台软件,采用纯Web在线技术,专注于解决企业报表快速制作难题。
快速体验: www.jimureport.com
#与JeecgBoot集成步骤
- 第一步: 集成依赖 jar
修改 jeecg-boot-module-system/pom.xml 加入下面的依赖
<dependency> <groupId>org.jeecgframework.boot</groupId> <artifactId>jimureport</artifactId> <version>1.0.2-beta</version> </dependency>
-
第二步: 执行升级 sql
-
第三步:修改配置文件
修改 application-dev.yml增加配置属性
#jeecg专用配置 jeecg : #积木报表设置 jmreport: mode: dev #是否需要校验token is_verify_token: false #必须校验方法 verify_methods: remove,delete,save,add,update
- 第四步: 角色授权菜单,就可以看到报表设计菜单
- 第五步: shiro权限排除
修改类 org.jeecg.config.shiro.ShiroConfig 加入代码
//报表设计器排除 filterChainDefinitionMap.put("/design/report/**", "anon"); filterChainDefinitionMap.put("/**/*.js.map", "anon"); filterChainDefinitionMap.put("/**/*.css.map", "anon");
-
第六步: 进入报表设计器列表
-
备注:其他特殊配置
/**,/jmreport/desreport_/**
b. 如果你的jeecgboot非2.3版本,需要手工升级mybatis-plus版本为 3.3.2
如果遇到文件报错,错误文件参考: https://github.com/zhangdaiscott/jeecg-boot