Jeecg-Boot2.1之前版本,手工集成OnlineForm表单功能手册
友情提醒: 如果你想去掉OnlineForm模块,也可以参考此文档
-
1、ant-design-jeecg-vue前端项目引入 online-form 依赖
Install安装
yarn add @jeecg/antd-onine
修改ant-design-jeecg-vue/src/main.js 引入online-form
import "@jeecg/antd-onine"
import '@jeecg/antd-onine/dist/OnlineForm.css'
-
2、项目jeecg-boot-module-system 引入 online-form JAR包
修改jeecg-boot\jeecg-boot-module-system\pom.xml,增加依赖
<dependency> <groupId>org.jeecgframework.boot</groupId> <artifactId>online-form</artifactId> <version>2.1.2</version> </dependency> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-core</artifactId> <exclusions> <exclusion> <groupId>commons-collections</groupId> <artifactId>commons-collections</artifactId> </exclusion> </exclusions> </dependency>
-
3、将 online-form 的路由vue页面复制到前端ant-design-jeecg-vue里 链接:https://pan.baidu.com/s/1_cPkrLMNrAV1uh5tdslsrw 提取码:tgzd
-
4.执行升级SQL
直接执行开源最新版的脚步 https://github.com/zhangdaiscott/jeecg-boot/tree/master/jeecg-boot/db
-
5.给admin角色授权 online-form 菜单