style: 网元当前版本显示是否有包存在
This commit is contained in:
@@ -108,6 +108,7 @@ let tableColumns = ref<TableColumnsType>([
|
|||||||
{
|
{
|
||||||
title: t('views.ne.neVersion.version'),
|
title: t('views.ne.neVersion.version'),
|
||||||
dataIndex: 'version',
|
dataIndex: 'version',
|
||||||
|
key: 'version',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
width: 150,
|
width: 150,
|
||||||
resizable: true,
|
resizable: true,
|
||||||
@@ -605,6 +606,21 @@ onMounted(() => {
|
|||||||
<template v-if="column.key === 'status'">
|
<template v-if="column.key === 'status'">
|
||||||
<DictTag :options="dictStatus" :value="record.status" />
|
<DictTag :options="dictStatus" :value="record.status" />
|
||||||
</template>
|
</template>
|
||||||
|
<template v-if="column.key === 'version'">
|
||||||
|
{{ record.version }}
|
||||||
|
<a-tooltip
|
||||||
|
placement="topRight"
|
||||||
|
v-if="
|
||||||
|
record.version &&
|
||||||
|
(record.path === '' || record.path === '-')
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<template #title>
|
||||||
|
{{ t('views.ne.neVersion.noPath') }}
|
||||||
|
</template>
|
||||||
|
<InfoCircleOutlined />
|
||||||
|
</a-tooltip>
|
||||||
|
</template>
|
||||||
<template v-if="column.key === 'preVersion'">
|
<template v-if="column.key === 'preVersion'">
|
||||||
{{ record.preVersion }}
|
{{ record.preVersion }}
|
||||||
<a-tooltip
|
<a-tooltip
|
||||||
|
|||||||
Reference in New Issue
Block a user