fix: 网元许可调整表格列宽和图标样式

This commit is contained in:
TsMask
2025-03-11 16:01:33 +08:00
parent e09369aa5a
commit 5304b298f6

View File

@@ -105,7 +105,7 @@ let tableColumns = ref<TableColumnsType>([
title: t('views.ne.common.serialNum'),
dataIndex: 'serialNum',
align: 'left',
width: 100,
width: 120,
},
{
title: t('views.ne.common.expiryDate'),
@@ -126,12 +126,12 @@ let tableColumns = ref<TableColumnsType>([
{
title: t('common.updateTime'),
dataIndex: 'updateTime',
align: 'center',
align: 'left',
customRender(opt) {
if (!opt.value) return '';
return parseDateToStr(opt.value);
},
width: 150,
width: 200,
},
{
title: t('common.operate'),
@@ -413,7 +413,7 @@ onMounted(() => {
:loading="modalState.confirmLoading"
@click.prevent="fnRecordStateBatch()"
>
<template #icon><CloudSyncOutlined /></template>
<template #icon><SyncOutlined /></template>
{{ t('views.ne.neLicense.reloadBatch') }}
</a-button>
</a-space>
@@ -508,7 +508,7 @@ onMounted(() => {
<a-tooltip placement="topRight">
<template #title>{{ t('views.ne.neLicense.reload') }}</template>
<a-button type="link" @click.prevent="fnRecordState(record)">
<template #icon><CloudSyncOutlined /> </template>
<template #icon><SyncOutlined /> </template>
</a-button>
</a-tooltip>
<a-tooltip placement="topRight">
@@ -517,7 +517,7 @@ onMounted(() => {
type="link"
@click.prevent="fnModalVisibleByEdit(record.id)"
>
<template #icon><CloudUploadOutlined /> </template>
<template #icon><UploadOutlined /> </template>
</a-button>
</a-tooltip>
</a-space>