diff --git a/app/view/component/flow/processFlow.html b/app/view/component/flow/processFlow.html index a55880c..55e72cc 100644 --- a/app/view/component/flow/processFlow.html +++ b/app/view/component/flow/processFlow.html @@ -431,7 +431,7 @@ endpoint: 'Dot' // 线的类型 }, this.jsplumbConnectOptions); 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 () { diff --git a/app/view/page/taskHistoryManagement.html b/app/view/page/taskHistoryManagement.html index c10bcfd..a863410 100644 --- a/app/view/page/taskHistoryManagement.html +++ b/app/view/page/taskHistoryManagement.html @@ -236,6 +236,10 @@ new Vue({ this.currentNode = currentNode; this.isAccess = isAccess; 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.isTableLoading = false; },