eyes4 198f0dac03 feature: 员工管理中,员工部门和职位改为多选 6 months ago
..
bpmn 4180eb1c2f bug_fix: 任务修改时,没有更新updated_at时间 6 months ago
src 198f0dac03 feature: 员工管理中,员工部门和职位改为多选 6 months ago
config.json 8e6cfecf77 add: 添加了项目管理部分接口 8 months ago
config_dev.json 7c08e882e8 new: 完成几个主要服务的框架搭建 8 months ago
config_test.json eda8b50579 feature: 立项流程完整调通,完成任务提交接口,立项流程BPMN简化 6 months ago
deploy.sh 0d635e72ef feature: 完成任务计划变更流程 6 months ago
jest.config.js 7c08e882e8 new: 完成几个主要服务的框架搭建 8 months ago
package.json 86242027de feature: 添加了获取项目动态接口 6 months ago
readme.md 74a810b712 feature: 调通任务审核流程,但还少界面交互环节的接口 6 months ago
tsconfig.json 7c08e882e8 new: 完成几个主要服务的框架搭建 8 months ago
webpack.config.js 8e6cfecf77 add: 添加了项目管理部分接口 8 months ago

readme.md

要正确打包,需要将node_modules/bpmn-engine/index.js中的 const BpmnModdle = require('bpmn-moddle');改为: const BpmnModdle = require('bpmn-moddle').default;

在 bpmn-elements/dist/tasks/LoopCharacteristics.js from line 169:

ParallelLoopCharacteristics.prototype._onCompleteMessage = function onCompleteMessage(routingKey, message) {
const chr = this.characteristics;
const {
content
} = message;
if (content.output !== undefined) chr.output[content.index] = content.output;
if (routingKey === 'execute.discard') {
this.discarded++;
}
this.running--;
this.activity.broker.publish('execution', 'execute.iteration.completed', {
...content,
...chr.getContent(),
index: this.index,                    // >>>>>>>  这行要删除
running: this.running,
discarded: this.discarded,
output: chr.output,
state: 'iteration.completed',
preventComplete: true
});