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: '确定删除吗?',