Skip to content

Commit bac9509

Browse files
committed
添加flowable支持
1 parent f17feaa commit bac9509

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

README.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,27 @@
22
```
33
1、调整设计器UI布局,基于vue-elementui美化属性面板
44
2、支持设置任务变量、表达式、分支条件等,满足90%以上的业务需求
5+
3、支持flowable和activiti
6+
```
7+
## 组件常用方法
8+
1、配置支持flowable(activiti)
9+
```vue
10+
<vue-bpmn product="flowable"></vue-bpmn>
11+
```
12+
2、组件还在完善中,如果有需要扩展需求,可以参考以下三个事件:
13+
```vue
14+
// 监听选择事件,改变属性栏表单的显示与隐藏
15+
this.modeler.on("selection.changed", e => {
16+
// TODO
17+
})
18+
// 监听内容变化事件,改变属性烂的值
19+
this.modeler.on("element.changed", e => {
20+
// TODO
21+
})
22+
// 监听点击事件
23+
this.modeler.on("element.click", e => {
24+
// TODO
25+
})
526
```
627
## 安装运行
728
```
@@ -17,4 +38,4 @@ yarn build
1738

1839
## 在线demo
1940
##### 在线demo: [http://47.108.140.13/bpmn/](http://47.108.140.13/bpmn/)
20-
##### 欢迎转载,转载请注明网址:https://github.com/fengli01/vue-bpmn-element.git
41+
##### 后端代码,参照:[https://github.com/fengli01/bpmn-spring-boot.git](https://github.com/fengli01/bpmn-spring-boot.git)

0 commit comments

Comments
 (0)