Commit 812e5b58 by YunaiV

【功能修复】工作流:修复流程预测的 candidateUsers 展示不正确

parent 8465f8fa
...@@ -334,7 +334,7 @@ ...@@ -334,7 +334,7 @@
<div <div
@click="openChildrenTask()" @click="openChildrenTask()"
class="hover-bg-gray-100 rounded-xl p-6px" class="hover-bg-gray-100 rounded-xl p-6px"
v-if="runningTask?.children" v-if="runningTask?.children.length > 0"
> >
<Icon :size="14" icon="ep:semi-select" />&nbsp; 减签 <Icon :size="14" icon="ep:semi-select" />&nbsp; 减签
</div> </div>
......
...@@ -81,6 +81,18 @@ ...@@ -81,6 +81,18 @@
/> />
</div> </div>
</div> </div>
</div>
<div
v-if="
task.reason &&
[NodeType.USER_TASK_NODE, NodeType.END_EVENT_NODE].includes(activity.nodeType)
"
class="text-#a5a5a5 text-13px mt-1 w-full bg-#f8f8fa p2 rounded-md"
>
审批意见:{{ task.reason }}
</div>
</div>
</div>
<!-- 情况二:遍历每个审批节点下的【候选的】task 任务。例如说,1)依次审批,2)未来的审批任务等 --> <!-- 情况二:遍历每个审批节点下的【候选的】task 任务。例如说,1)依次审批,2)未来的审批任务等 -->
<div <div
v-for="(user, idx1) in activity.candidateUsers" v-for="(user, idx1) in activity.candidateUsers"
...@@ -95,7 +107,6 @@ ...@@ -95,7 +107,6 @@
<!-- 信息:任务 ICON --> <!-- 信息:任务 ICON -->
<div <div
v-if="onlyStatusIconShow.includes(task.status)"
class="position-absolute top-22px left-26px bg-#fff rounded-full flex items-center p-2px" class="position-absolute top-22px left-26px bg-#fff rounded-full flex items-center p-2px"
> >
<Icon <Icon
...@@ -106,18 +117,6 @@ ...@@ -106,18 +117,6 @@
</div> </div>
</div> </div>
</div> </div>
<div
v-if="
task.reason &&
[NodeType.USER_TASK_NODE, NodeType.END_EVENT_NODE].includes(activity.nodeType)
"
class="text-#a5a5a5 text-13px mt-1 w-full bg-#f8f8fa p2 rounded-md"
>
审批意见:{{ task.reason }}
</div>
</div>
</div>
</div>
</div> </div>
</el-timeline-item> </el-timeline-item>
</el-timeline> </el-timeline>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment