From d9001fb73344dc811c9a9f65aad8ae598bc3f7d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AD=8F=E4=BF=9D=E6=9E=97?= Date: Thu, 16 Apr 2026 21:26:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=91=E6=8F=90=E5=87=BA=E7=9A=84=E3=80=81?= =?UTF-8?q?=E6=88=91=E5=88=86=E5=8F=91=E7=9A=84=20=20=E6=92=A4=E5=9B=9E?= =?UTF-8?q?=E5=92=8C=E9=A9=B3=E5=9B=9E=E5=90=8E=E6=B2=A1=E6=9C=89=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/task/simulationTask/mySend/index.vue | 7 +++++++ src/views/task/simulationTask/newDemand/index.vue | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/src/views/task/simulationTask/mySend/index.vue b/src/views/task/simulationTask/mySend/index.vue index eb77bd2c..aaa80ed1 100644 --- a/src/views/task/simulationTask/mySend/index.vue +++ b/src/views/task/simulationTask/mySend/index.vue @@ -173,6 +173,13 @@ const actionList = ref([ planTime: [row.beginTime, row.endTime], }; }, + hide: (row: any) => { + return ( + row.exeStatus === TASK_PROCESS_STATUS.REJECTED || + row.exeStatus === TASK_PROCESS_STATUS.CLOSED_LOOP || + row.exeStatus === TASK_PROCESS_STATUS.CANCELED + ); + }, }, ...props.actionList, { diff --git a/src/views/task/simulationTask/newDemand/index.vue b/src/views/task/simulationTask/newDemand/index.vue index 88b11ed8..03c1fe6f 100644 --- a/src/views/task/simulationTask/newDemand/index.vue +++ b/src/views/task/simulationTask/newDemand/index.vue @@ -109,6 +109,13 @@ const actionList = ref([ formVisible.value = true; // visibleDialog(false, row); }, + hide: (row: any) => { + return ( + row.demandStatus === TASK_PROCESS_STATUS.REJECTED || + row.demandStatus === TASK_PROCESS_STATUS.CLOSED_LOOP || + row.demandStatus === TASK_PROCESS_STATUS.CANCELED + ); + }, }, { title: '删除',