diff --git a/frontend/src/business/components/layout/AsideMenus.vue b/frontend/src/business/components/layout/AsideMenus.vue index 6e8e612ce4..ff7afc0037 100644 --- a/frontend/src/business/components/layout/AsideMenus.vue +++ b/frontend/src/business/components/layout/AsideMenus.vue @@ -61,8 +61,13 @@ + v-permission="['PROJECT_USER:READ', 'PROJECT_MANAGER:READ', + 'PROJECT_GROUP:READ', 'PROJECT_FILE:READ', 'PROJECT_VERSION:READ', + 'PROJECT_APP_MANAGER:READ+EDIT', + 'PROJECT_ENVIRONMENT:READ', 'PROJECT_OPERATING_LOG:READ', + 'PROJECT_FILE:READ+JAR', 'PROJECT_FILE:READ+FILE', + 'PROJECT_CUSTOM_CODE:READ','PROJECT_ERROR_REPORT_LIBRARY:READ', + 'PROJECT_TEMPLATE:READ', 'PROJECT_MESSAGE:READ']">
{{ $t('commons.project_setting') }} diff --git a/frontend/src/business/components/track/plan/components/TestPlanList.vue b/frontend/src/business/components/track/plan/components/TestPlanList.vue index aff30b8aea..2f98334bd0 100644 --- a/frontend/src/business/components/track/plan/components/TestPlanList.vue +++ b/frontend/src/business/components/track/plan/components/TestPlanList.vue @@ -463,13 +463,13 @@ export default { tip: this.$t('commons.copy'), icon: "el-icon-copy-document", exec: this.handleCopy, - permission: ['PROJECT_TRACK_PLAN:READ+COPY'] + permissions: ['PROJECT_TRACK_PLAN:READ+COPY'] }, { tip: this.$t('test_track.plan_view.view_report'), icon: "el-icon-s-data", exec: this.openReport, - permission: ['PROJECT_TRACK_PLAN:READ+EDIT'] + permissions: ['PROJECT_TRACK_PLAN:READ+EDIT'] }, ], batchExecuteType: "serial", diff --git a/frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanReportButtons.vue b/frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanReportButtons.vue index a6ccca9149..498627261d 100644 --- a/frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanReportButtons.vue +++ b/frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanReportButtons.vue @@ -22,7 +22,8 @@ - + {{ $t('commons.export')}} diff --git a/frontend/src/business/components/track/report/components/TestPlanReportList.vue b/frontend/src/business/components/track/report/components/TestPlanReportList.vue index f4dee76cf6..2b5e9cf138 100644 --- a/frontend/src/business/components/track/report/components/TestPlanReportList.vue +++ b/frontend/src/business/components/track/report/components/TestPlanReportList.vue @@ -196,7 +196,7 @@ export default { { name: this.$t('api_test.definition.request.batch_delete'), handleClick: this.handleDeleteBatch, - permission: ['PROJECT_TRACK_REPORT:READ+DELETE'] + permissions: ['PROJECT_TRACK_REPORT:READ+DELETE'] }, ], selectDataCounts: 0, @@ -209,7 +209,7 @@ export default { { name: this.$t('api_test.definition.request.batch_delete'), handleClick: this.handleDeleteBatch, - permission: ['PROJECT_TRACK_REPORT:READ+DELETE'], + permissions: ['PROJECT_TRACK_REPORT:READ+DELETE'], }, ], simpleOperators: [