From 5b34bd8a52ef187651b8b9846cfe9b4c97c473b2 Mon Sep 17 00:00:00 2001 From: dongzhihuan Date: Wed, 4 Mar 2026 09:40:55 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BB=BB=E5=8A=A1=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=9D=83=E9=99=90=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/taskDetailPage/index.vue | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/views/task/execution/components/taskDetailPage/index.vue b/src/views/task/execution/components/taskDetailPage/index.vue index 4d6be463..f66bac65 100644 --- a/src/views/task/execution/components/taskDetailPage/index.vue +++ b/src/views/task/execution/components/taskDetailPage/index.vue @@ -16,7 +16,7 @@ -
+
发起评审
@@ -29,18 +29,21 @@ :task-info="currentTaskInfo" :full-height="true" :show-left-options="showLeftOptions" + :canUpdate="isPMemberOrEMember" >
@@ -53,6 +56,7 @@
@@ -60,24 +64,28 @@ :task-id="currentTaskInfo?.uuid" :show-left-options="showLeftOptions" :disabled="!showLeftOptions" + :canUpdate="isPMemberOrEMember" >
@@ -93,6 +101,7 @@
@@ -156,6 +165,7 @@ import taskInfoPage from '@/components/taskDetail/taskInfo.vue'; import { getSimulationTaskFilesApi } from '@/api/data/dataAnalysis'; import videoFile from '@/components/taskDetail/videoFile.vue'; import reviewData from '@/components/taskDetail/reviewData.vue'; +import { isSimManagerOrExecutor } from '@/utils/task'; const props = defineProps({ taskInfo: { @@ -181,6 +191,10 @@ const formAttrs = ref({ max: 100, }, }); +const isPMemberOrEMember = isSimManagerOrExecutor( + props.taskInfo?.pMemberList || [], + props.taskInfo?.eMemberList || [] +); const activeName = ref('report'); const approvaVisable = ref(false);