回填信息

This commit is contained in:
lai
2024-11-08 14:55:19 +08:00
parent 800547d1ef
commit db16cdb79b

View File

@@ -90,6 +90,11 @@ let tableColumns: ColumnsType = [
dataIndex: 'title',
align: 'center',
},
{
title: t('views.perfManage.customTarget.expression'),
dataIndex: 'exprAlias',
align: 'center',
},
{
title: t('views.perfManage.customTarget.description'),
dataIndex: 'description',
@@ -340,6 +345,7 @@ function fnModalVisibleByEdit(row?: any, id?: any) {
} else {
fnSelectPerformanceInit(row.neType);
modalState.from = Object.assign(modalState.from, row);
modalState.from.expression=modalState.from.exprAlias;
modalState.title = t('views.perfManage.customTarget.editCustom');
modalState.openByEdit = true;
}
@@ -377,6 +383,7 @@ function fnModalOk() {
});
} else {
message.error(t('views.perfManage.customTarget.expressionNoIdTip'), 3);
return false;
}
const from = toRaw(modalState.from);