From 6a635246bbf674126c5054ed5e8a9375a39ddd3b Mon Sep 17 00:00:00 2001 From: sjl <1716605279@qq.com> Date: Wed, 26 Feb 2025 19:00:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/home/components/factorTest.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/home/components/factorTest.vue b/frontend/src/views/home/components/factorTest.vue index 3989aad..bdc7250 100644 --- a/frontend/src/views/home/components/factorTest.vue +++ b/frontend/src/views/home/components/factorTest.vue @@ -260,6 +260,7 @@ watch(webMsgSend, function (newValue, oldValue) { TableInit(); } else { switch (newValue.requestId) { + case 'yjc_ytxjy': switch (newValue.operateCode) { case'INIT_GATHER': @@ -339,9 +340,10 @@ watch(webMsgSend, function (newValue, oldValue) { } break; case 'Coefficient_Check': - console.log("Coefficient_Checkactive", active.value); + console.log("Coefficient_Checkactive", active.value); switch (newValue.operateCode) { case 'big_end'://大电压,电流下装 + console.log('大电压,电流下装') active.value++; big_V_Download.value = 'Ua=Ub=Uc=' + newValue.data.devVolt + 'V'; big_I_Download.value = 'Ia=Ib=Ic=' + newValue.data.devCurr + 'A'; @@ -351,6 +353,7 @@ watch(webMsgSend, function (newValue, oldValue) { } switch (newValue.operateCode) { case 'small_end'://小电压,电流下装 + console.log('小电压,电流下装') active.value++; small_V_Download.value = 'Ua=Ub=Uc=' + newValue.data.devVolt + 'V'; small_I_Download.value = 'Ia=Ib=Ic=' + newValue.data.devCurr + 'A'; @@ -360,6 +363,7 @@ watch(webMsgSend, function (newValue, oldValue) { } switch (newValue.operateCode) { case 'big_comp_end'://大电压,电流校准 + console.log('大电压,电流校准') active.value++; big_V_Adjust.value = 'Ua=Ub=Uc=' + newValue.data.devVolt + 'V'; big_I_Adjust.value = 'Ia=Ib=Ic=' + newValue.data.devCurr + 'A'; @@ -369,6 +373,7 @@ watch(webMsgSend, function (newValue, oldValue) { } switch (newValue.operateCode) { case 'small_comp_end'://小电压,电流校准 + console.log('小电压,电流校准') active.value++; small_V_Adjust.value = 'Ua=Ub=Uc=' + newValue.data.devVolt + 'V'; small_I_Adjust.value = 'Ia=Ib=Ic=' + newValue.data.devCurr + 'A'; @@ -396,6 +401,7 @@ watch(webMsgSend, function (newValue, oldValue) { switch (newValue.operateCode) { case 'DATA_CHNFACTOR$02'://表格 // 输出 key 为 0 的数组中的第一条 ChannelsTest.CoefficientVO 对象 + console.log('表格',name.value) for (let i = 0; i < name.value.length; i++) { const targetArrayRef = tableDataMap.get(i); if (targetArrayRef) {