回填信息
This commit is contained in:
@@ -90,6 +90,11 @@ let tableColumns: ColumnsType = [
|
|||||||
dataIndex: 'title',
|
dataIndex: 'title',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: t('views.perfManage.customTarget.expression'),
|
||||||
|
dataIndex: 'exprAlias',
|
||||||
|
align: 'center',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: t('views.perfManage.customTarget.description'),
|
title: t('views.perfManage.customTarget.description'),
|
||||||
dataIndex: 'description',
|
dataIndex: 'description',
|
||||||
@@ -340,6 +345,7 @@ function fnModalVisibleByEdit(row?: any, id?: any) {
|
|||||||
} else {
|
} else {
|
||||||
fnSelectPerformanceInit(row.neType);
|
fnSelectPerformanceInit(row.neType);
|
||||||
modalState.from = Object.assign(modalState.from, row);
|
modalState.from = Object.assign(modalState.from, row);
|
||||||
|
modalState.from.expression=modalState.from.exprAlias;
|
||||||
modalState.title = t('views.perfManage.customTarget.editCustom');
|
modalState.title = t('views.perfManage.customTarget.editCustom');
|
||||||
modalState.openByEdit = true;
|
modalState.openByEdit = true;
|
||||||
}
|
}
|
||||||
@@ -377,6 +383,7 @@ function fnModalOk() {
|
|||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
message.error(t('views.perfManage.customTarget.expressionNoIdTip'), 3);
|
message.error(t('views.perfManage.customTarget.expressionNoIdTip'), 3);
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
const from = toRaw(modalState.from);
|
const from = toRaw(modalState.from);
|
||||||
|
|||||||
Reference in New Issue
Block a user