若依(RuoYi-Vue)+Flowable工作流前后端整合,遇到的常见问题
源码地址:https://gitee.com/tony2y/RuoYi-flowable
教程:https://blog.youkuaiyun.com/TangBoBoa/article/details/129481865
常见问题:
查漏补缺1:前端vue需要复制/utils/StrUtil.js。
查漏补缺2:前端vue需要在main.js中引入并全局挂载modelerStore:
//引入modelerStore
import modelerStore from '@/components/Process/common/global'
//全局挂载modelerStore
Vue.prototype.modelerStore = modelerStore
查漏补缺3:
源码中为啥没有这两个接口了 /flowable/task/todo/detail/index,/flowable/task/myProcess/send/index
// vform 表单设计器
import vform from '@/components/vform/VFormDesigner.umd.min.js'
import '@/components/vform/VFormDesigner.css'
//同时注册了v-form-designer、v-form-render等组件
Vue.use(vform)