办学质量监测教学评价系统
康鲁杰
2 小时以前 38a626b58763f903f5580d49854a420681925092
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<script setup lang="ts">
import type { Flow } from '#/api/workflow/instance/model';
 
import { Timeline } from 'ant-design-vue';
 
import ApprovalTimelineItem from './approval-timeline-item.vue';
 
const props = defineProps<{
  list: Flow[];
}>();
</script>
 
<template>
  <Timeline v-if="props.list.length > 0">
    <ApprovalTimelineItem
      v-for="item in props.list"
      :key="item.id"
      :item="item"
    />
  </Timeline>
</template>