查看流程图页面:改成v-if方式,这样每次打开都会重新渲染(之前测试人员发现将图片往底下拉之后,关闭了重新打开会看不到流程图)

This commit is contained in:
suguangxu
2025-07-21 16:16:35 +08:00
parent ced288bf0f
commit 2c6e63e7f1

View File

@ -58,7 +58,7 @@
<flow-history :items="getTaskRecords()"></flow-history> <flow-history :items="getTaskRecords()"></flow-history>
<opinion-dialog ref="opinionDlg" /> <opinion-dialog ref="opinionDlg" />
<transfer-dialog ref="transferDlg" /> <transfer-dialog ref="transferDlg" />
<a-modal :closable="false" :visible="showFlowChart" centered class="geg" title="流程图" width="1200px" @cancel="closeFlowChart"> <a-modal :closable="false" v-if="showFlowChart" centered class="geg" title="流程图" width="1200px" @cancel="closeFlowChart">
<process-information :process-id="processId" :xml="data.xml" <process-information :process-id="processId" :xml="data.xml"
:currentTaskInfo="data.currentTaskInfo" :currentTaskInfo="data.currentTaskInfo"
:currentTaskAssigneeNames="data.currentTaskAssigneeNames" :currentTaskAssigneeNames="data.currentTaskAssigneeNames"