1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
| <template>
| <basic-container>
| <el-table :data="tableData" style="width: 100%">
| <el-table-column prop="assigneeName" label="执行人" />
| <el-table-column prop="taskName" label="任务名称" />
| <el-table-column prop="comment" label="批注" />
| <el-table-column prop="createTime" label="开始时间" />
| <el-table-column prop="endTime" label="完成时间" />
| </el-table>
| </basic-container>
|
| </template>
|
| <script>
| export default {
| props: {
| item: {
| type: Object,
| required: true
| }
| },
| data() {
| return {
| tableData: []
| }
| },
| created() {
| this.fetchProcessTrace();
| },
| methods: {
| fetchProcessTrace() {
| axios({
| url: '/blade-mdm/flow/mgr/process-trace',
| method: 'get',
| params: {processInstanceId: this.item.processInstanceId}
| }).then(
| res => {
| this.tableData = res.data.data;
| });
| }
| },
| }
| </script>
|
| <style lang="scss" scoped>
|
| </style>
|
|