From 02eb368a45ce79917e14c88cdf1a040f985c49e4 Mon Sep 17 00:00:00 2001
From: lai <371757574@qq.com>
Date: Thu, 4 Jul 2024 18:33:03 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=BD=8D=E7=BD=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/dashboard/smfCDR/index.vue | 14 ++++++------
src/views/tenant/smfCDR/index.vue | 33 +---------------------------
2 files changed, 8 insertions(+), 39 deletions(-)
diff --git a/src/views/dashboard/smfCDR/index.vue b/src/views/dashboard/smfCDR/index.vue
index 1b661848..c93a5f9a 100644
--- a/src/views/dashboard/smfCDR/index.vue
+++ b/src/views/dashboard/smfCDR/index.vue
@@ -197,13 +197,6 @@ let tableColumns: ColumnsType = [
return cdrJSON.duration;
},
},
- {
- title: 'Tenant Name',
- dataIndex: 'tenantName',
- align: 'center',
- key: 'tenantName',
- width: 150,
- },
{
title: t('views.dashboard.cdr.smfInvocationTime'), // 调用时间
dataIndex: 'cdrJSON',
@@ -214,6 +207,13 @@ let tableColumns: ColumnsType = [
return cdrJSON.invocationTimestamp;
},
},
+ {
+ title: 'Tenant Name',
+ dataIndex: 'tenantName',
+ align: 'center',
+ key: 'tenantName',
+ width: 150,
+ },
{
title: t('common.operate'),
key: 'id',
diff --git a/src/views/tenant/smfCDR/index.vue b/src/views/tenant/smfCDR/index.vue
index 29cd1d3e..c89e49cc 100644
--- a/src/views/tenant/smfCDR/index.vue
+++ b/src/views/tenant/smfCDR/index.vue
@@ -203,11 +203,6 @@ let tableColumns: ColumnsType = [
return cdrJSON.invocationTimestamp;
},
},
- {
- title: t('common.operate'),
- key: 'id',
- align: 'left',
- },
];
/**表格分页器参数 */
@@ -243,10 +238,7 @@ function fnTableSize({ key }: MenuInfo) {
tableState.size = key as SizeType;
}
-/**表格多选 */
-function fnTableSelectedRowKeys(keys: (string | number)[]) {
- tableState.selectedRowKeys = keys;
-}
+
/**对话框对象信息状态类型 */
type ModalStateType = {
@@ -585,30 +577,7 @@ onBeforeUnmount(() => {
:size="tableState.size"
:pagination="tablePagination"
:scroll="{ x: tableColumns.length * 120, y: 'calc(100vh - 480px)' }"
- :row-selection="{
- type: 'checkbox',
- columnWidth: '48px',
- selectedRowKeys: tableState.selectedRowKeys,
- onChange: fnTableSelectedRowKeys,
- }"
>
-
-
-
-
- {{ t('common.deleteText') }}
-
-
-
-
-
-
-
-
-