修正自定义指标
This commit is contained in:
@@ -154,7 +154,9 @@ function fnTableSize({ key }: MenuInfo) {
|
||||
function fnRecordDelete(row: Record<string, any>) {
|
||||
Modal.confirm({
|
||||
title: t('common.tipTitle'),
|
||||
content: t('views.perfManage.customTarget.delCustomTip', { num: row.kpiId }),
|
||||
content: t('views.perfManage.customTarget.delCustomTip', {
|
||||
num: row.kpiId,
|
||||
}),
|
||||
onOk() {
|
||||
const key = 'delThreshold';
|
||||
message.loading({ content: t('common.loading'), key });
|
||||
@@ -605,12 +607,12 @@ onMounted(() => {
|
||||
<template #icon><FormOutlined /></template>
|
||||
</a-button>
|
||||
</a-tooltip>
|
||||
<a-tooltip>
|
||||
<!-- <a-tooltip>
|
||||
<template #title>{{ t('common.deleteText') }}</template>
|
||||
<a-button type="link" @click.prevent="fnRecordDelete(record)">
|
||||
<template #icon><DeleteOutlined /></template>
|
||||
</a-button>
|
||||
</a-tooltip>
|
||||
</a-tooltip> -->
|
||||
</a-space>
|
||||
</template>
|
||||
|
||||
@@ -695,7 +697,6 @@ onMounted(() => {
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
</a-row>
|
||||
|
||||
<a-row>
|
||||
<a-col :lg="24" :md="24" :xs="24">
|
||||
<a-form-item
|
||||
@@ -724,6 +725,7 @@ onMounted(() => {
|
||||
>
|
||||
<a-input
|
||||
v-model:value="modalState.from.expression"
|
||||
:disabled="modalState.from.id"
|
||||
:maxlength="1024"
|
||||
autocomplete="off"
|
||||
allow-clear
|
||||
@@ -780,7 +782,6 @@ onMounted(() => {
|
||||
},
|
||||
]"
|
||||
>
|
||||
|
||||
</a-auto-complete>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
|
||||
Reference in New Issue
Block a user