From 560b623b701f06d7ecd73c17f824ff3e63470296 Mon Sep 17 00:00:00 2001 From: zhanghao <774378400@qq.com> Date: Wed, 12 Aug 2026 15:29:12 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=8E=92=E9=99=A4=E8=BF=87=E6=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inspection/task/index.vue | 7 ++++--- .../intelligenceTest/taskManage/index.vue | 7 ++++--- src/views/test/configs/index.vue | 19 ++++++++++--------- 3 files changed, 18 insertions(+), 15 deletions(-) diff --git a/src/views/inspection/task/index.vue b/src/views/inspection/task/index.vue index 2184fc4..0c68288 100644 --- a/src/views/inspection/task/index.vue +++ b/src/views/inspection/task/index.vue @@ -346,9 +346,10 @@ const getPointListData = async () => { if (taskRightList.value) { ids = taskRightList.value.map(item => item.id) } - taskLeftList.value = res.rows.filter(item => { - return !ids.includes(item.id) - }) + // taskLeftList.value = res.rows.filter(item => { + // return !ids.includes(item.id) + // }) + taskLeftList.value = res.rows; } } diff --git a/src/views/intelligenceTest/taskManage/index.vue b/src/views/intelligenceTest/taskManage/index.vue index 818d62f..48950b8 100644 --- a/src/views/intelligenceTest/taskManage/index.vue +++ b/src/views/intelligenceTest/taskManage/index.vue @@ -319,9 +319,10 @@ const getTestCaseListData = async () => { if (taskRightList.value) { ids = taskRightList.value.map(item => item.id) } - taskLeftList.value = res.rows.filter(item => { - return !ids.includes(item.id) - }) + // taskLeftList.value = res.rows.filter(item => { + // return !ids.includes(item.id) + // }) + taskLeftList.value = res.rows } } diff --git a/src/views/test/configs/index.vue b/src/views/test/configs/index.vue index f4d4aa8..69d6d3f 100644 --- a/src/views/test/configs/index.vue +++ b/src/views/test/configs/index.vue @@ -539,15 +539,16 @@ const getLiftTaskList = () => { id: item.id, }; }) || []; - if (taskRightList.value.length === 0) { - taskLeftList.value = tempLeftData; - return; - } - taskLeftList.value = tempLeftData.filter((item) => { - return !taskRightList.value.some((item2) => { - return item.id === item2.id; - }); - }); + // if (taskRightList.value.length === 0) { + // taskLeftList.value = tempLeftData; + // return; + // } + // taskLeftList.value = tempLeftData.filter((item) => { + // return !taskRightList.value.some((item2) => { + // return item.id === item2.id; + // }); + // }); + taskLeftList.value = tempLeftData; }); }; //获取右侧编排数据