|
|
@ -1,10 +1,9 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<a-card :class="prefixCls" title="流转记录" :bordered="false"> |
|
|
|
<a-card :class="prefixCls" title="流转记录" :bordered="false"> |
|
|
|
<a-steps :current="current" size="small" status="process"> |
|
|
|
<a-steps :current="historyFlowChangeList.length - 1" size="small"> |
|
|
|
<a-step v-for="(historyFlowChangeStep, index) in getHistoryFlowChangeStepList" |
|
|
|
<a-step v-for="(historyFlowChangeStep, index) in getHistoryFlowChangeStepList" |
|
|
|
:key="index" |
|
|
|
:key="index" |
|
|
|
:title="historyFlowChangeStep.activityName" |
|
|
|
:title="historyFlowChangeStep.activityName" |
|
|
|
status="success" |
|
|
|
|
|
|
|
:description="historyFlowChangeStep.assigneeName + historyFlowChangeStep.time" |
|
|
|
:description="historyFlowChangeStep.assigneeName + historyFlowChangeStep.time" |
|
|
|
/> |
|
|
|
/> |
|
|
|
</a-steps> |
|
|
|
</a-steps> |
|
|
@ -35,7 +34,6 @@ |
|
|
|
const ASteps = Steps; |
|
|
|
const ASteps = Steps; |
|
|
|
const AStep = Steps.Step; |
|
|
|
const AStep = Steps.Step; |
|
|
|
const { prefixCls } = useDesign('workflow-step'); |
|
|
|
const { prefixCls } = useDesign('workflow-step'); |
|
|
|
const current = ref<number>(0); |
|
|
|
|
|
|
|
const props = defineProps({ |
|
|
|
const props = defineProps({ |
|
|
|
historyFlowChangeList: { |
|
|
|
historyFlowChangeList: { |
|
|
|
type: Array as PropType<Workflow[]>, |
|
|
|
type: Array as PropType<Workflow[]>, |
|
|
|