diff --git a/src/pages/RecruitmentDataCollection/JobMonitor/index.tsx b/src/pages/RecruitmentDataCollection/JobMonitor/index.tsx
index 5f50bd0..3ae680f 100644
--- a/src/pages/RecruitmentDataCollection/JobMonitor/index.tsx
+++ b/src/pages/RecruitmentDataCollection/JobMonitor/index.tsx
@@ -109,7 +109,7 @@ function StorageDetectionList() {
key="view"
icon={}
loading={loading}
- hidden={!access.hasPerms('storage:detection:view')}
+ hidden={!access.hasPerms('recruitmentDataCollection:jobMonitor:view')}
onClick={() => handleViewDetail(detectionId)}
>
查看详情
@@ -120,7 +120,7 @@ function StorageDetectionList() {
key="edit"
icon={}
loading={loading}
- hidden={!access.hasPerms('storage:detection:update')}
+ hidden={!access.hasPerms('recruitmentDataCollection:jobMonitor:edit')}
onClick={() => handleEdit(detectionId)}
>
编辑
diff --git a/src/pages/RecruitmentDataCollection/MetricAdmin/index.tsx b/src/pages/RecruitmentDataCollection/MetricAdmin/index.tsx
index da38636..d7a8ce3 100644
--- a/src/pages/RecruitmentDataCollection/MetricAdmin/index.tsx
+++ b/src/pages/RecruitmentDataCollection/MetricAdmin/index.tsx
@@ -137,7 +137,7 @@ function JobIndexList() {
key="view"
icon={}
loading={loading}
- hidden={!access.hasPerms('jobIndex:view')}
+ hidden={!access.hasPerms('recruitmentDataCollection:metricAdmin:view')}
onClick={() => handleViewDetail(indexId)}
>
查看详情
@@ -148,7 +148,7 @@ function JobIndexList() {
key="edit"
icon={}
loading={loading}
- hidden={!access.hasPerms('jobIndex:update')}
+ hidden={!access.hasPerms('recruitmentDataCollection:metricAdmin:edit')}
onClick={() => handleEdit(indexId)}
>
编辑
@@ -159,7 +159,7 @@ function JobIndexList() {
danger
key="delete"
icon={}
- hidden={!access.hasPerms('jobIndex:delete')}
+ hidden={!access.hasPerms('recruitmentDataCollection:metricAdmin:delete')}
onClick={async () => {
Modal.confirm({
title: '删除',
@@ -217,7 +217,7 @@ function JobIndexList() {