[Pipeline] Add executor logo

This commit is contained in:
qianmoQ 2023-09-04 13:59:54 +08:00
parent a479b2bfa8
commit aed50bece9
3 changed files with 9 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 KiB

View File

@ -14,6 +14,14 @@
<Table :loading="loading"
:columns="headers"
:data="finalData?.content">
<template #executor="{row}">
<Tooltip transfer
:content="row.executor">
<Avatar :src="`/static/images/executor/${row.executor}.png`"
size="small">
</Avatar>
</Tooltip>
</template>
<template #from="{row}">
<Tooltip transfer :content="row.from.name">
<Avatar :src="'/static/images/plugin/' + row.from.type + '.png'" size="small"/>

View File

@ -50,6 +50,7 @@ const createHeaders = (i18n: any) => {
key: 'executor',
ellipsis: true,
tooltip: true,
slot: 'executor',
align: 'center',
width: 100
},