fix(测试跟踪): 没有删除用例全选,不显示模块删除按钮
--bug=1033603 --user=王旭 【测试跟踪】github#27965,【功能用例】当项目成员不勾选删除用例权限时,删除模块时,删除按钮存在但是点不动。希望不显示删除按钮或者能置灰按钮。 https://www.tapd.cn/55049933/s/1444749
This commit is contained in:
parent
53353d3ed7
commit
9e9795a59c
|
@ -63,7 +63,7 @@
|
|||
{{$t('test_track.module.rename')}}
|
||||
</span>
|
||||
</el-dropdown-item>
|
||||
<el-dropdown-item :disabled="!hasPermissions(deletePermission)" :divided="true">
|
||||
<el-dropdown-item v-show="hasPermissions(deletePermission)" :disabled="!hasPermissions(deletePermission)" :divided="true">
|
||||
<span @click.stop="remove(node, data)" class="more-operate-btn" style="color: #F54A45;">
|
||||
<svg-icon icon-class="icon_delete-trash_outlined_red" style="margin-right: 9px; margin-top: 1px; width: 1.1em; height: 1.1em"/>
|
||||
{{$t('commons.delete')}}
|
||||
|
@ -81,7 +81,7 @@
|
|||
{{$t('test_track.module.rename')}}
|
||||
</span>
|
||||
</el-dropdown-item>
|
||||
<el-dropdown-item :disabled="!hasPermissions(deletePermission)" :divided="true">
|
||||
<el-dropdown-item v-show="hasPermissions(deletePermission)" :disabled="!hasPermissions(deletePermission)" :divided="true">
|
||||
<span @click.stop="remove(node, data)" class="more-operate-btn" style="color: #F54A45;">
|
||||
<svg-icon icon-class="icon_delete-trash_outlined_red" style="margin-right: 9px; margin-top: 1px; width: 1.1em; height: 1.1em"/>
|
||||
{{$t('commons.delete')}}
|
||||
|
@ -156,7 +156,7 @@
|
|||
{{$t('test_track.module.rename')}}
|
||||
</span>
|
||||
</el-dropdown-item>
|
||||
<el-dropdown-item :disabled="!hasPermissions(deletePermission)" :divided="true">
|
||||
<el-dropdown-item v-show="hasPermissions(deletePermission)" :disabled="!hasPermissions(deletePermission)" :divided="true">
|
||||
<span @click.stop="remove(node, data)" class="more-operate-btn" style="color: #F54A45;">
|
||||
<svg-icon icon-class="icon_delete-trash_outlined_red" style="margin-right: 9px; margin-top: 1px; width: 1.1em; height: 1.1em"/>
|
||||
{{$t('commons.delete')}}
|
||||
|
@ -174,7 +174,7 @@
|
|||
{{$t('test_track.module.rename')}}
|
||||
</span>
|
||||
</el-dropdown-item>
|
||||
<el-dropdown-item :disabled="!hasPermissions(deletePermission)" :divided="true">
|
||||
<el-dropdown-item v-show="hasPermissions(deletePermission)" :disabled="!hasPermissions(deletePermission)" :divided="true">
|
||||
<span @click.stop="remove(node, data)" class="more-operate-btn" style="color: #F54A45;">
|
||||
<svg-icon icon-class="icon_delete-trash_outlined_red" style="margin-right: 9px; margin-top: 1px; width: 1.1em; height: 1.1em"/>
|
||||
{{$t('commons.delete')}}
|
||||
|
|
Loading…
Reference in New Issue