修复提交异常
This commit is contained in:
@@ -311,6 +311,7 @@ function fnModalVisibleByEdit(id?: string) {
|
|||||||
modalState.confirmLoading = false;
|
modalState.confirmLoading = false;
|
||||||
hide();
|
hide();
|
||||||
if (res.code === RESULT_CODE_SUCCESS && res.data) {
|
if (res.code === RESULT_CODE_SUCCESS && res.data) {
|
||||||
|
fnSelectPerformanceInit(res.data.neType)
|
||||||
modalState.from = Object.assign(modalState.from, res.data);
|
modalState.from = Object.assign(modalState.from, res.data);
|
||||||
modalState.title = t('views.perfManage.perfThreshold.editThre');
|
modalState.title = t('views.perfManage.perfThreshold.editThre');
|
||||||
modalState.visibleByEdit = true;
|
modalState.visibleByEdit = true;
|
||||||
|
|||||||
@@ -490,6 +490,7 @@ function fnModalVisibleByEdit(id?: string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
modalState.neType = [res.data.neType, JSON.parse(res.data.neIds)[0]];
|
modalState.neType = [res.data.neType, JSON.parse(res.data.neIds)[0]];
|
||||||
|
fnSelectPerformanceInit(res.data.neType) //初始性能测量数据
|
||||||
modalState.from.neId=JSON.parse(res.data.neIds)[0];
|
modalState.from.neId=JSON.parse(res.data.neIds)[0];
|
||||||
modalState.timeRangePicker = [res.data.startTime, res.data.endTime];
|
modalState.timeRangePicker = [res.data.startTime, res.data.endTime];
|
||||||
modalState.from = Object.assign(modalState.from, res.data);
|
modalState.from = Object.assign(modalState.from, res.data);
|
||||||
@@ -559,6 +560,7 @@ function fnModalOk() {
|
|||||||
duration: 3,
|
duration: 3,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
fnModalCancel();
|
||||||
})
|
})
|
||||||
.finally(() => {
|
.finally(() => {
|
||||||
hide();
|
hide();
|
||||||
|
|||||||
Reference in New Issue
Block a user