使用logicflow重构流程图

This commit is contained in:
Jam committed 2022-11-27 01:05:41 +08:00
1 parent 134acc057e
commit 8ff82208ad
6 files changed
+343 -771

No files matched your search

+2 -2
View File
@@ -143,7 +143,6 @@
{% block vue_body %}
{% include 'component/flow/processFlow.html' %}
{% include 'component/flow/flowNode.html' %}
{% include 'component/flow/editFlow.html' %}
{% include 'component/flow/editLine.html' %}
{% include 'component/flow/editNode.html' %}
@@ -238,7 +237,8 @@ new Vue({
this.nextLineList = _.uniqBy(nextLineList, 'type') ;
// 更新操作人到连线
taskHistoryConfigList.lineList.map(line => {
line.operationByUser = (taskHistoryList.find(taskHistory => taskHistory.taskConfigId == line.from && taskHistory.taskLineTo == line.to) || {}).operationByUser;
let operationByUser = (taskHistoryList.find(taskHistory => taskHistory.taskConfigId == line.from && taskHistory.taskLineTo == line.to) || {}).operationByUser;
line.origin.text.value = `${operationByUser}-${line.label}`;
});
this.taskHistoryConfigList = taskHistoryConfigList;
this.isTableLoading = false;