From d616512a72a8067e99f01f6f8418c9a4a7087e44 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Wed, 12 Mar 2025 11:22:20 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E6=96=87=E6=A1=A3=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E6=9D=83=E9=99=90=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/trials/trials-list/index.vue | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/views/trials/trials-list/index.vue b/src/views/trials/trials-list/index.vue index 24d79f13..539b91a7 100644 --- a/src/views/trials/trials-list/index.vue +++ b/src/views/trials/trials-list/index.vue @@ -620,7 +620,18 @@ ]" circle icon="el-icon-folder-opened" - :disabled="scope.row.IsDeleted" + :disabled=" + (scope.row.TrialStatusStr === 'Initializing' && + !hasPermi(['role:pm'])) || + scope.row.IsDeleted || + ((scope.row.TrialStatusStr === 'Completed' || + scope.row.TrialStatusStr === 'Stopped') && + !( + hasPermi(['role:qa']) || + hasPermi(['role:ea']) || + hasPermi(['role:pm']) + )) + " :title="$t('trials:trials-list:action:trialDocument')" @click.stop="toTrialDocument(scope.row)" />