【免费开源】积木JimuBI大屏集成eladmin

JimuBI介绍

JimuBI 是一个JAVA语言的低代码数据可视化大屏BI产品,将大屏、仪表盘、移动面板、图表或页面元素封装为基础组件,无需编写代码即可完成业务需求。

这是JeecgBoot团队出品的另外一款报表产品,积木报表已经成为业内报表首先,预测该大屏即将覆盖全行业。

  • 酷炫大屏 轻松设计,通过拖拽完成大屏设计,80多种组件及20多种边框装饰满足您的设计需求。
  • 智能仪表盘 简单易用,拖拽式操作自由布局,页面自适应;支持门户交互设计,移动端设计。
  • 大屏采用类word风格,可以随意拖动组件

eladmin介绍

eladmin是一款基于Spring Boot、Mybatis-Plus、Spring Security、Redis和Vue等技术栈构建的开源后台管理系统。

本示例来介绍一下JimuBI 大屏集成eladmin。

1、eladmin项目目录

2、执行初始化脚本积木报表sql

jimureport.sql

3、pom中引入积木BI大屏最新依赖

目前积木BI大屏只支持springboot2版本
注意:使用积木BI大屏需要引入积木报表,集成积木报表
从1.9.1起正式将 jimureport-dashboard-spring-boot-starter 更名为 jimubi-spring-boot-starter,请大家注意区分

复制代码
    <!-- 积木报表 -->
    <dependency>
        <groupId>org.jeecgframework.jimureport</groupId>
        <artifactId>jimureport-spring-boot-starter</artifactId>
        <version>1.9.1</version>
    </dependency>
    <!-- 积木BI大屏 -->
    <dependency>
        <groupId>org.jeecgframework.jimureport</groupId>
        <artifactId>jimubi-spring-boot-starter</artifactId>
        <version>1.9.1</version>
        <exclusions>
            <!--排除swagger-->
            <exclusion>
                <groupId>com.github.xiaoymin</groupId>
                <artifactId>knife4j-openapi2-spring-boot-starter</artifactId>
            </exclusion>
        </exclusions>
    </dependency>

最新版本可以从 http://jimureport.com/doc/log 中查询到

4、AppRun添加积木依赖扫描

复制代码
    @SpringBootApplication(scanBasePackages = {"me.zhengjie","org.jeecg"})

5、实现扩展接口

复制代码
    [@Service](https://my.oschina.net/service)
    public class OnlDragExternalServiceImpl implements IOnlDragExternalService {
    }

6、RedisConfig配置类注入jmRedisTemplate

1.9.0及1.9.0以后版本不需要添加此配置类,1.9.0以前版本需要添加此配置类,否则会影响项目正常启动

复制代码
    @Bean("jmRedisTemplate")
    public RedisTemplate<String, Object> stringRedisTemplate(RedisConnectionFactory connectionFactory) {
        RedisTemplate<String, Object> template = new RedisTemplate<>();
        //序列化
        FastJsonRedisSerializer<Object> fastJsonRedisSerializer = new FastJsonRedisSerializer<>(Object.class);
        // value值的序列化采用fastJsonRedisSerializer
        template.setValueSerializer(fastJsonRedisSerializer);
        template.setHashValueSerializer(fastJsonRedisSerializer);
        // fastjson 升级到 1.2.83 后需要指定序列化白名单
        ParserConfig.getGlobalInstance().addAccept("org.jeecg.modules.drag");
        // key的序列化采用StringRedisSerializer
        template.setKeySerializer(new StringRedisSerializer());
        template.setHashKeySerializer(new StringRedisSerializer());
        template.setConnectionFactory(connectionFactory);
        return template;
    }

7、SpringSecurityConfig权限控制放开

1)需要把/jimureport和/drag请求放开

复制代码
    //过滤掉积木报表和仪表盘请求路径
    .antMatchers("/jmreport/**","/drag/**").permitAll()

2)在ConfigurerAdapter配置类中添加仪表盘的静态资源访问路径

复制代码
    registry.addResourceHandler("/drag/**").addResourceLocations("classpath:/static/drag/").setCachePeriod(0);

8、dev.yml添加minidao配置(可忽略)

复制代码
    #持久层框架
    minidao:
      base-package: org.jeecg.modules.jmreport.*,org.jeecg.modules.drag.*

9、项目启动访问

eladmin默认端口8000

复制代码
http://localhost:8000/drag/list
相关推荐
Albert_Lsk37 分钟前
【2025/08/01】GitHub 今日热门项目
人工智能·开源·github·开源协议
蚂蚁数据AntData2 小时前
DB-GPT 0.7.3 版本更新:支持Qwen3 Embedding和Reranker模型、支持知识库自定义检索策略等
大数据·开源·全文检索·数据库架构
寅时码4 小时前
从“一键部署”到“可观测、可定制的发布流”:我如何打造一个企业级部署工具
运维·开源·node.js
说私域6 小时前
基于开源链动2+1模式AI智能名片S2B2C商城小程序的私域流量拉新策略研究
人工智能·小程序·开源
不摸鱼7 小时前
创作平台模式:为什么Shopify模式比Amazon更高明?| 不摸鱼的独立开发者日报(第71期)
人工智能·开源·资讯
赵文宇(温玉)8 小时前
1.6万 Star 的流行容器云平台停止开源
云原生·容器·开源·容器云·kubespere
爱吃芝麻汤圆9 小时前
开源vGPU解决方案HAMi
kubernetes·开源·vgpu
说私域18 小时前
从渠道渗透到圈层渗透:开源链动2+1模式、AI智能名片与S2B2C商城小程序的协同创新路径研究
人工智能·小程序·开源
说私域1 天前
零售新范式:开源AI大模型、AI智能名片与S2B2C商城小程序源码驱动下的圈层渗透革命
人工智能·开源·零售
算家计算1 天前
告别“AI味”图像!最新开源AI模型FLUX.1-Krea实现真实光影生成
人工智能·开源·aigc