From a847dac0e2faebcce4abba4b949472ec231865fd Mon Sep 17 00:00:00 2001 From: "xinxin.wu" Date: Tue, 20 Aug 2024 18:16:23 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E5=BD=92?= =?UTF-8?q?=E6=A1=A3=E5=88=87=E6=8D=A2=E4=BD=8D=E6=9B=B4=E6=96=B0=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=E6=A0=91count?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/test-plan/testPlan/components/planTable.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/test-plan/testPlan/components/planTable.vue b/frontend/src/views/test-plan/testPlan/components/planTable.vue index d54736ea52..dbc7c90434 100644 --- a/frontend/src/views/test-plan/testPlan/components/planTable.vue +++ b/frontend/src/views/test-plan/testPlan/components/planTable.vue @@ -915,11 +915,17 @@ // 获取父组件模块数量 async function emitTableParams(isInit = false) { const tableParams = await initTableParams(isInit); + const filterParams = { + ...propsRes.value.filter, + }; + if (isArchived.value) { + filterParams.status = ['ARCHIVED']; + } emit('init', { ...tableParams, current: propsRes.value.msPagination?.current, pageSize: propsRes.value.msPagination?.pageSize, - filter: propsRes.value.filter, + filter: filterParams, }); }