去除多余字段

This commit is contained in:
lai
2024-07-11 11:02:35 +08:00
parent cb5dfebb59
commit be2a077bba

View File

@@ -189,11 +189,6 @@ let tableColumns: ColumnsType = [
return parseDateToStr(+cdrJSON.releaseTime * 1000);
},
},
{
title: t('common.operate'),
key: 'id',
align: 'left',
},
];
/**表格字段列排序 */
@@ -576,17 +571,6 @@ onBeforeUnmount(() => {
</a-button>
</a-popconfirm>
<a-button
type="default"
danger
:disabled="tableState.selectedRowKeys.length <= 0"
:loading="modalState.confirmLoading"
@click.prevent="fnRecordDelete('0')"
>
<template #icon><DeleteOutlined /></template>
{{ t('common.deleteText') }}
</a-button>
<a-button type="dashed" @click.prevent="fnExportList()">
<template #icon><ExportOutlined /></template>
{{ t('common.export') }}
@@ -680,21 +664,6 @@ onBeforeUnmount(() => {
{{ t('views.dashboard.overview.userActivity.resultOK') }}
</span>
</template>
<template v-if="column.key === 'id'">
<a-space :size="8" align="center" v-roles:has="['administrator']">
<a-tooltip>
<template #title>{{ t('common.deleteText') }}</template>
<a-button
type="link"
@click.prevent="fnRecordDelete(record.id)"
>
<template #icon>
<DeleteOutlined />
</template>
</a-button>
</a-tooltip>
</a-space>
</template>
</template>
<template #expandedRowRender="{ record }">
<div style="width: 46%; padding-left: 32px; padding-bottom: 16px">