|
@@ -31,6 +31,10 @@
|
|
|
<el-tag v-if="scope.row.instanceState === 5" size="small" type="warning" effect="plain">强制终止</el-tag>
|
|
|
</template>
|
|
|
|
|
|
+ <template #durationSlot="scope">
|
|
|
+ <div>{{ format_milliseconds(scope.row.duration) }}</div>
|
|
|
+ </template>
|
|
|
+
|
|
|
<template #actionSlot="scope">
|
|
|
<el-tooltip content="查看" placement="bottom" effect="light">
|
|
|
<el-icon class="ibt0" @click="openDetail(scope.row)">
|
|
@@ -48,6 +52,7 @@
|
|
|
import { processTaskPageMyReceivedApi } from '@/api/flow/processTask'
|
|
|
import { nextTick, ref, watch } from 'vue'
|
|
|
import { useTablePage } from '@/hooks/useTablePage'
|
|
|
+import { format_milliseconds } from '@/utils'
|
|
|
import MessageDetail from './detail.vue'
|
|
|
import { useRoute } from 'vue-router'
|
|
|
const route = useRoute()
|