审核流程图line-审核完成后显示当前审核人
This commit is contained in:
1 parent
ab5ac4b4bc
commit
134acc057e
2 files changed
+5
-1
No files matched your search
@@ -431,7 +431,7 @@
|
|||||||
endpoint: 'Dot' // 线的类型
|
endpoint: 'Dot' // 线的类型
|
||||||
}, this.jsplumbConnectOptions);
|
}, this.jsplumbConnectOptions);
|
||||||
if (connection && connection.getOverlay("label-1")) {
|
if (connection && connection.getOverlay("label-1")) {
|
||||||
connection.getOverlay("label-1").setLabel(line.type + '-' +line.label); //初始化label
|
connection.getOverlay("label-1").setLabel((line.operationByUser? `${line.operationByUser}-`: '') + line.type + '-' +line.label); //初始化label
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.$nextTick(function () {
|
this.$nextTick(function () {
|
||||||
|
|||||||
@@ -236,6 +236,10 @@ new Vue({
|
|||||||
this.currentNode = currentNode;
|
this.currentNode = currentNode;
|
||||||
this.isAccess = isAccess;
|
this.isAccess = isAccess;
|
||||||
this.nextLineList = _.uniqBy(nextLineList, 'type') ;
|
this.nextLineList = _.uniqBy(nextLineList, 'type') ;
|
||||||
|
// 更新操作人到连线
|
||||||
|
taskHistoryConfigList.lineList.map(line => {
|
||||||
|
line.operationByUser = (taskHistoryList.find(taskHistory => taskHistory.taskConfigId == line.from && taskHistory.taskLineTo == line.to) || {}).operationByUser;
|
||||||
|
});
|
||||||
this.taskHistoryConfigList = taskHistoryConfigList;
|
this.taskHistoryConfigList = taskHistoryConfigList;
|
||||||
this.isTableLoading = false;
|
this.isTableLoading = false;
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user