fix: 恢复用例、对比报告权限问题#1006345

--bug=1006345 --user=lyh 【用户组和权限】测试跟踪“恢复用例”和性能测试的 “对比报告”,权限控制有问题
https://www.tapd.cn/55049933/s/1043193
This commit is contained in:
shiziyuan9527 2021-09-02 15:47:15 +08:00 committed by 刘瑞斌
parent 51a52359d1
commit 674f05c911
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@
{{ $t('test_track.plan_view.export_report') }}
</el-button>
<el-button :disabled="report.status !== 'Completed'" type="default" plain
size="mini"
size="mini" v-permission="['PROJECT_PERFORMANCE_REPORT:READ+COMPARE']"
@click="compareReports()">
{{ $t('report.compare') }}
</el-button>

View File

@ -294,7 +294,7 @@ export default {
{
name: this.$t('commons.reduction'),
handleClick: this.batchReduction,
permissions: ['PROJECT_TRACK_CASE:READ+EDIT']
permissions: ['PROJECT_TRACK_CASE:READ+RECOVER']
}, {
name: this.$t('test_track.case.batch_delete_case'),
handleClick: this.handleDeleteBatch,