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; }); }; //获取右侧编排数据