From 266056b71442dfb0e9139c8374489e74a736e277 Mon Sep 17 00:00:00 2001 From: wbc <942429426@qq.com> Date: Fri, 8 Aug 2025 16:16:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=83=E9=99=90=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../performanceIndicator/projectAssessment/index.vue | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/views/performanceIndicator/projectAssessment/index.vue b/src/views/performanceIndicator/projectAssessment/index.vue index 6629d2f..cad2581 100644 --- a/src/views/performanceIndicator/projectAssessment/index.vue +++ b/src/views/performanceIndicator/projectAssessment/index.vue @@ -7,7 +7,7 @@ @@ -72,15 +72,12 @@ function getTableAction(record): ActionItem[] { return [ { label: '详情', - ifShow: () => { - return isShowByRoles("projectContact,manageOrg") && (record.children == null || record.projectId != null) - }, onClick: handledetail.bind(null, record), }, { label: '编辑', ifShow: () => { - return isShowByRoles("projectContact,manageOrg") && (record.children == null || record.projectId != null) + return isShowByRoles("中医处,妇幼处,医政处,财审处,体改处,组织人事处,机关党委,规信处") && (record.children == null || record.projectId != null) }, onClick: handleModify.bind(null, record), }, @@ -88,7 +85,7 @@ function getTableAction(record): ActionItem[] { { label: '删除', ifShow: () => { - return isShowByRoles("manageOrg") && (record.children == null || record.projectId != null) + return isShowByRoles("中医处,妇幼处,医政处,财审处,体改处,组织人事处,机关党委,规信处") && (record.children == null || record.projectId != null) }, popConfirm: { title: '确定删除吗?',