From e0fd42199f223ad0eccbe017cf7eb5dadf4d35a0 Mon Sep 17 00:00:00 2001 From: caozehui <2427765068@qq.com> Date: Thu, 27 Feb 2025 14:34:47 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../home/components/dataCheckSingleChannelSingleTestPopup.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/home/components/dataCheckSingleChannelSingleTestPopup.vue b/frontend/src/views/home/components/dataCheckSingleChannelSingleTestPopup.vue index c6414c8..0b2a06d 100644 --- a/frontend/src/views/home/components/dataCheckSingleChannelSingleTestPopup.vue +++ b/frontend/src/views/home/components/dataCheckSingleChannelSingleTestPopup.vue @@ -244,7 +244,7 @@ watch(() => formContent.chnNum, async (newVal, oldVal) => { watch(currentCheckItem, (newVal, oldVal) => { console.log("当前检测项", newVal); - if (newVal) { + if (newVal!== '') { doCurrentCheckItemUpdate(newVal) } else { activeTab.value = 'resultTab' @@ -273,7 +273,7 @@ const defaultOperate = () => { const updateTableData = async () => { // console.log("左侧树被选中的叶子节点checkIndex", checkIndex.value); - if (checkIndex.value) { + if (checkIndex.value!== '') { // console.log("更新表格数据"); // 发起请求,查询该测试项的检测结果 const {data} = await getTableData({ From c7e5ee08620a83698f2387b61d6200be8e95d1c4 Mon Sep 17 00:00:00 2001 From: GGJ <357021191@qq.com> Date: Thu, 27 Feb 2025 15:09:09 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=A3=80=E6=B5=8B?= =?UTF-8?q?=E8=84=9A=E6=9C=AC=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../testScript/components/communication.vue | 8 +- .../testScript/components/scriptForm.ts | 60 +-- .../testScript/components/setValueTable.vue | 2 +- .../components/testProjectPopup.vue | 2 +- .../components/testScriptDetail.vue | 42 +- .../components/testScriptHarmTab.vue | 82 +--- .../components/testScriptInHarmTab.vue | 441 ++++++++++++------ .../testScript/components/testScriptPopup.vue | 1 - .../machine/testScript/components/tree.vue | 59 ++- 9 files changed, 417 insertions(+), 280 deletions(-) diff --git a/frontend/src/views/machine/testScript/components/communication.vue b/frontend/src/views/machine/testScript/components/communication.vue index 2c5914f..81de5ec 100644 --- a/frontend/src/views/machine/testScript/components/communication.vue +++ b/frontend/src/views/machine/testScript/components/communication.vue @@ -8,13 +8,13 @@ color: '#fff' }" stripe - height="calc(100vh - 515px)" + height="calc(100vh - 480px)" :style="{ overflow: 'hidden' }" row-key="id" default-expand-all > - - + + - +