[update] 修改UAT问题:内部工作组一级可以新增领导

This commit is contained in:
lideqin
2024-08-23 16:25:03 +08:00
parent 595fba683f
commit 76a51e4723
@@ -159,8 +159,8 @@
@click="downTemplate($t('system.internalWorkGroup.templateName'), '.xls')">
{{ $t('templateDownload') }}
</a-button>
<!-- 2级节点并且tab是领导时候的操作按钮 -->
<template v-if="currentNodeObj.level + '' === '2' && activeTab === 'leader'">
<!-- 12级节点并且tab是领导时候的操作按钮 -->
<template v-if="['1', '2'].includes(currentNodeObj.level + '') && activeTab === 'leader'">
<a-button v-if="isHasPermission('sys:innerWorkingGroup:operate')" icon="plus" type="primary" @click="handleAdd('leader')">
{{ $t('newlyAdded') }}
</a-button>