customflow-ui
参考钉钉工作流程通用控件
1,100
| Install | |
|---|---|
npm install customflow-ui |
|
| Latest Version: | 1.0.27 |
| Vue: | 2 |
| License: | MIT |
| Last Updated: | Oct 31, 2023 |
| Links: | npm |
Maintainer: itxiaoliangseo
customflow-ui 前端工作流 UI
基于vue前端工作流UI
前端工作流生成器-Generator
1、首先通过npm安装: npm install customflow-ui --save
(注意:新版本插件未生效的话,试试npm update命令,或者customflow-ui版本并删除node_modules重新下载)
2、全局定义组件(否则会报循环引用):
main.js中
import Node from 'customflow-ui/src/components/Generator/node'
Vue.component('Node', Node)
3、在使用的地方:
<template>
<div>
<CustomFlow
:data="data"
@ok="ok"
/>
</div>
</template>
<script>
import CustomFlow from 'customflow-ui'
import 'customflow-ui/lib/customflow-ui.css'
export default {
components: {
CustomFlow
},
data () {
return {
data: {
title: '请假',
node: {
name: '发起人',
type: 'start',
nodeId: 'sid-startevent',
childNode: {}
}
}
}
},
methods: {
ok (data) {
console.log(data)
}
}
}
</script>
Related Packages
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.0.27 | ^2.6.12 | MIT | |
| 1.0.26 | ^2.6.12 | MIT | |
| 1.0.25 | ^2.6.12 | MIT | |
| 1.0.24 | ^2.6.12 | MIT | |
| 1.0.23 | ^2.6.12 | MIT | |
| 1.0.22 | ^2.6.12 | MIT | |
| 1.0.21 | ^2.6.12 | MIT | |
| 1.0.20 | ^2.6.12 | MIT | |
| 1.0.19 | ^2.6.12 | MIT | |
| 1.0.18 | ^2.6.12 | MIT | |
| 1.0.17 | ^2.6.12 | MIT | |
| 1.0.16 | ^2.6.12 | MIT | |
| 1.0.15 | ^2.6.12 | MIT | |
| 1.0.14 | ^2.6.12 | MIT | |
| 1.0.13 | ^2.6.12 | MIT | |
| 1.0.12 | ^2.6.12 | MIT | |
| 1.0.11 | ^2.6.12 | MIT | |
| 1.0.10 | ^2.6.12 | MIT | |
| 1.0.9 | ^2.6.10 | MIT | |
| 1.0.8 | ^2.6.10 | MIT | |
| 1.0.7 | ^2.6.10 | MIT | |
| 1.0.6 | ^2.6.10 | MIT | |
| 1.0.5 | ^2.6.10 | MIT | |
| 1.0.4 | ^2.6.10 | MIT | |
| 1.0.3 | ^2.6.10 | MIT | |
| 1.0.2 | ^2.6.10 | MIT | |
| 1.0.1 | ^2.6.10 | MIT | |
| 1.0.0 | ^2.6.10 | MIT |