flowable工作流,flowable工作流官网
centos7使用flowable工作流显示字体乱码问题
在centos7使用fontconfig安装字体库
安装成功后,打开/usr/share目录可以查看到两个文件目录
添加中文字体在/usr/share/fonts目录下创建目录chinese
在windows上查找要使用的中文字体,打开C:\windows\fonts目录
将需要的字体传到/usr/share/fonts/chinese目录下
目录进行授权
使用ttmkfdir来搜索目录中所有字体信息
执行命令
修改字体配置文件
:wq保存退出
刷新内存中的字体缓存
可以通fc-list查看字体列表
springboot 整合 flowable 流程引擎
?1. pom
parent
groupIdorg.springframework.boot/groupId
artifactIdspring-boot-starter-parent/artifactId
version2.5.2/version
relativePath / !-- lookup parent from repository --
/parent
properties
project.build.sourceEncodingUTF-8/project.build.sourceEncoding
project.reporting.outputEncodingUTF-8/project.reporting.outputEncoding
java.version1.8/java.version
shiro.version1.5.3/shiro.version
flowable.version6.6.0/flowable.version
maven-jar-plugin.version3.0.0/maven-jar-plugin.version
/properties
========================
!--flowable工作流依赖--
? ? ? ? dependency
? ? ? ? ? ? groupIdorg.flowable/groupId
? ? ? ? ? ? artifactIdflowable-spring-boot-starter/artifactId
? ? ? ? ? ? version${flowable.version}/version
? ? ? ? /dependency
!-- --
dependency
? ? groupIdorg.flowable/groupId
? ? artifactIdflowable-json-converter/artifactId
? ? version${flowable.version}/version
/dependency
!-- app 依赖 包含 rest,logic,conf --
dependency
? ? groupIdorg.flowable/groupId
? ? artifactIdflowable-ui-modeler-rest/artifactId
? ? version${flowable.version}/version
/dependency
dependency
? ? groupIdorg.flowable/groupId
? ? artifactIdflowable-ui-modeler-logic/artifactId
? ? version${flowable.version}/version
? ? exclusions
? ? ? ? exclusion
? ? ? ? ? ? groupIdorg.apache.logging.log4j/groupId
? ? ? ? ? ? artifactIdlog4j-slf4j-impl/artifactId
? ? ? ? /exclusion
? ? /exclusions
/dependency
dependency
? ? groupIdorg.flowable/groupId
? ? artifactIdflowable-ui-modeler-conf/artifactId
? ? version${flowable.version}/version
/dependency
2. 配置类
package org.fh.config;
import org.flowable.spring.SpringProcessEngineConfiguration;
import org.flowable.spring.boot.EngineConfigurationConfigurer;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Controller;
/**
* 说明:Flowable配置
* from:fhadmin.cn
*/
@Controller
@Configuration
public class FlowableConfig implements EngineConfigurationConfigurerSpringProcessEngineConfiguration {
? ? @Override
? ? public void configure(SpringProcessEngineConfiguration engineConfiguration) {
? ? ? ? engineConfiguration.setActivityFontName("宋体");
? ? ? ? engineConfiguration.setLabelFontName("宋体");
? ? ? ? engineConfiguration.setAnnotationFontName("宋体");
? ? }
}
3. 配置文件?flowable.properties
blobType=BLOB
boolValue=TRUE
prefix=

vue工作流设计器,实现flowable工作流
jeeplus 实现了动态表单和flowable的html5设计器。
演示地址: demo1.jeeplus.org