style: 修改kpi表头提示,关闭排序
This commit is contained in:
@@ -1220,7 +1220,6 @@ const statsColumns: TableColumnType<KPIStats>[] = [
|
||||
dataIndex: 'max',
|
||||
key: 'max',
|
||||
width: '30%',
|
||||
sorter: (a: KPIStats, b: KPIStats) => a.max - b.max,
|
||||
sortDirections: ['ascend', 'descend'] as ('ascend' | 'descend')[],
|
||||
},
|
||||
{
|
||||
@@ -1228,7 +1227,6 @@ const statsColumns: TableColumnType<KPIStats>[] = [
|
||||
dataIndex: 'min',
|
||||
key: 'min',
|
||||
width: '30%',
|
||||
sorter: (a: KPIStats, b: KPIStats) => a.min - b.min,
|
||||
sortDirections: ['ascend', 'descend'] as ('ascend' | 'descend')[],
|
||||
},
|
||||
];
|
||||
@@ -1349,7 +1347,9 @@ const handleTabChange = async (activeKey: string, type: AllChartType) => {
|
||||
{{ t('views.perfManage.kpiOverView.totalValue') }}
|
||||
<a-tooltip placement="bottom">
|
||||
<template #title>
|
||||
<span>Sum within Time Range</span>
|
||||
<span>
|
||||
{{ t('views.perfManage.kpiOverView.totalValueTip') }}
|
||||
</span>
|
||||
</template>
|
||||
<InfoCircleOutlined />
|
||||
</a-tooltip>
|
||||
@@ -1360,7 +1360,9 @@ const handleTabChange = async (activeKey: string, type: AllChartType) => {
|
||||
{{ t('views.perfManage.kpiOverView.avgValue') }}
|
||||
<a-tooltip placement="bottom">
|
||||
<template #title>
|
||||
<span>Average value over the time range</span>
|
||||
<span>
|
||||
{{ t('views.perfManage.kpiOverView.avgValueTip') }}
|
||||
</span>
|
||||
</template>
|
||||
<InfoCircleOutlined />
|
||||
</a-tooltip>
|
||||
@@ -1371,7 +1373,9 @@ const handleTabChange = async (activeKey: string, type: AllChartType) => {
|
||||
{{ t('views.perfManage.kpiOverView.maxValue') }}
|
||||
<a-tooltip placement="bottom">
|
||||
<template #title>
|
||||
<span>Maximum value in time range</span>
|
||||
<span>
|
||||
{{ t('views.perfManage.kpiOverView.maxValueTip') }}
|
||||
</span>
|
||||
</template>
|
||||
<InfoCircleOutlined />
|
||||
</a-tooltip>
|
||||
@@ -1382,7 +1386,9 @@ const handleTabChange = async (activeKey: string, type: AllChartType) => {
|
||||
{{ t('views.perfManage.kpiOverView.minValue') }}
|
||||
<a-tooltip placement="bottom">
|
||||
<template #title>
|
||||
<span>Minimum value in the time range</span>
|
||||
<span>
|
||||
{{ t('views.perfManage.kpiOverView.minValueTip') }}
|
||||
</span>
|
||||
</template>
|
||||
<InfoCircleOutlined />
|
||||
</a-tooltip>
|
||||
|
||||
Reference in New Issue
Block a user