Ver código fonte

fix: 审批步骤条当前审批人高亮错误问题修复

ZhaoJun 1 ano atrás
pai
commit
4df5ac0c13
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      pages/audit/detail.vue

+ 2 - 1
pages/audit/detail.vue

@@ -26,7 +26,7 @@
 
 			<!-- 审批信息 -->
 			<uni-section title="审批信息" type="line"></uni-section>
-			<uni-steps :options="flow.list.FlowNodes" :active="flow.active" direction="column"></uni-steps>
+			<uni-steps :options="flow.list.FlowNodes" :active="flow.current" direction="column"></uni-steps>
 
 			<!-- 清单详情 -->
 			<uni-section title="清单详情" type="line"></uni-section>
@@ -218,6 +218,7 @@
 					let item = auditList.find(item => item.list.id == version.flow_id);
 					if (!item) return;
 					// 查询当前节点
+					debugger
 					let current = item.list.FlowNodes.findIndex(node => node.seq == item.active);
 					item.current = current == -1 ? 0 : current;
 					// 保存当前所处节点