refactor(UI测试): 报告权限设置
--bug=1012337 --user=刘瑞斌 【UI测试】权限控制问题汇总 https://www.tapd.cn/55049933/s/1137659
This commit is contained in:
parent
baff5b55dd
commit
4add00720e
|
@ -124,7 +124,10 @@
|
|||
<div>
|
||||
<ms-table-operator-button :tip="$t('api_report.detail')" icon="el-icon-s-data"
|
||||
@exec="handleView(scope.row)" type="primary"/>
|
||||
<ms-table-operator-button :tip="$t('api_report.delete')"
|
||||
<ms-table-operator-button v-if="isUI" :tip="$t('api_report.delete')"
|
||||
v-permission="['PROJECT_UI_REPORT:READ+DELETE']"
|
||||
icon="el-icon-delete" @exec="handleDelete(scope.row)" type="danger"/>
|
||||
<ms-table-operator-button v-else :tip="$t('api_report.delete')"
|
||||
v-permission="['PROJECT_API_REPORT:READ+DELETE']"
|
||||
icon="el-icon-delete" @exec="handleDelete(scope.row)" type="danger"/>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue