fix(项目管理): 修复误报页面权限错误的缺陷
This commit is contained in:
parent
6a3bbffd4f
commit
b06d5d135e
|
@ -6,7 +6,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-4 flex items-center justify-between">
|
<div class="mb-4 flex items-center justify-between">
|
||||||
<a-button v-permission="['PROJECT_APPLICATION_API:READ+ADD']" type="primary" @click="showAddRule(undefined)">{{
|
<a-button v-permission="['PROJECT_APPLICATION_API:UPDATE']" type="primary" @click="showAddRule(undefined)">{{
|
||||||
t('project.menu.addFalseAlertRules')
|
t('project.menu.addFalseAlertRules')
|
||||||
}}</a-button>
|
}}</a-button>
|
||||||
<a-input-search
|
<a-input-search
|
||||||
|
@ -35,7 +35,7 @@
|
||||||
</span>
|
</span>
|
||||||
<span>
|
<span>
|
||||||
<MsButton
|
<MsButton
|
||||||
v-permission="['PROJECT_APPLICATION_API:READ+DELETE']"
|
v-permission="['PROJECT_APPLICATION_API:DELETE']"
|
||||||
class="!mr-0"
|
class="!mr-0"
|
||||||
@click="handleDelete(record.id)"
|
@click="handleDelete(record.id)"
|
||||||
>{{ t('common.delete') }}</MsButton
|
>{{ t('common.delete') }}</MsButton
|
||||||
|
@ -55,7 +55,7 @@
|
||||||
<a-divider direction="vertical" />
|
<a-divider direction="vertical" />
|
||||||
</span>
|
</span>
|
||||||
<MsTableMoreAction
|
<MsTableMoreAction
|
||||||
v-permission="['PROJECT_APPLICATION_API:READ+DELETE']"
|
v-permission="['PROJECT_APPLICATION_API:UPDATE']"
|
||||||
class="!mr-0"
|
class="!mr-0"
|
||||||
:list="tableActions"
|
:list="tableActions"
|
||||||
@select="handleMoreAction($event, record)"
|
@select="handleMoreAction($event, record)"
|
||||||
|
|
Loading…
Reference in New Issue