From f987e1c62582c089190a214df1bf7bf8cba6b5a7 Mon Sep 17 00:00:00 2001 From: caozehui <2427765068@qq.com> Date: Tue, 25 Nov 2025 19:58:04 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E6=96=B0=E8=AE=A1=E7=AE=97=E3=80=81?= =?UTF-8?q?=E5=88=87=E6=8D=A2=E8=AF=AF=E5=B7=AE=E4=BD=93=E7=B3=BB=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/api/check/test/index.ts | 7 ++++--- .../compareDataCheckSingleChannelSingleTestPopup.vue | 6 ++++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/frontend/src/api/check/test/index.ts b/frontend/src/api/check/test/index.ts index 97c0335..5b42e86 100644 --- a/frontend/src/api/check/test/index.ts +++ b/frontend/src/api/check/test/index.ts @@ -82,8 +82,8 @@ export const reCalculate = (params: { errorSysId: string deviceId: string code: string - patternId: string - + patternId: string, + chnNum: string }) => { return http.post('/result/reCalculate', params, {loading: true}) } @@ -129,7 +129,8 @@ export const changeErrorSystem = (params: { errorSysId: string deviceId: string code: string - patternId: string + patternId: string, + chnNum: string }) => { return http.post('/result/changeErrorSystem', params, {loading: true}) } diff --git a/frontend/src/views/home/components/compareDataCheckSingleChannelSingleTestPopup.vue b/frontend/src/views/home/components/compareDataCheckSingleChannelSingleTestPopup.vue index 0001c34..387a7bf 100644 --- a/frontend/src/views/home/components/compareDataCheckSingleChannelSingleTestPopup.vue +++ b/frontend/src/views/home/components/compareDataCheckSingleChannelSingleTestPopup.vue @@ -563,7 +563,8 @@ const handleErrorSysChange = async () => { errorSysId: formContent.errorSysId, deviceId: formContent.deviceId, code: checkStore.plan.code + '', - patternId: dictStore.getDictData('Pattern').find(item => item.name === modeStore.currentMode)?.id ?? '' + patternId: dictStore.getDictData('Pattern').find(item => item.name === modeStore.currentMode)?.id ?? '', + chnNum: formContent.chnNum }).then(res => { if (res.code === ResultEnum.SUCCESS) { ElMessage.success('切换误差体系成功') @@ -579,7 +580,8 @@ const handleReCalculate = async () => { errorSysId: formContent.errorSysId, deviceId: formContent.deviceId, code: checkStore.plan.code + '', - patternId: dictStore.getDictData('Pattern').find(item => item.name === modeStore.currentMode)?.id ?? '' + patternId: dictStore.getDictData('Pattern').find(item => item.name === modeStore.currentMode)?.id ?? '', + chnNum: formContent.chnNum }).then(res => { if (res.code === ResultEnum.SUCCESS) { ElMessage.success('重新计算成功!')