|
|
@ -139,15 +139,22 @@ |
|
|
|
<a-empty style="margin-top: 120px" v-else /> |
|
|
|
</a-tab-pane> |
|
|
|
</a-tabs> |
|
|
|
<a-space v-if="activeKey === 1 || rolePermissionTreeData?.length"> |
|
|
|
<a-space> |
|
|
|
<ns-button type="primary" @click="CancelUser">取消</ns-button> |
|
|
|
<ns-button |
|
|
|
v-show="roleDisabled" |
|
|
|
:disabled="!roleTreeData?.length" |
|
|
|
type="primary" |
|
|
|
@click="rolePipe(roleEdit, false, false)"> |
|
|
|
编辑 |
|
|
|
</ns-button> |
|
|
|
<ns-button v-show="!roleDisabled" type="primary" @click="roleSure"> 确定 </ns-button> |
|
|
|
<ns-button |
|
|
|
v-show="!roleDisabled" |
|
|
|
:disabled="!roleTreeData?.length" |
|
|
|
type="primary" |
|
|
|
@click="roleSure"> |
|
|
|
确定 |
|
|
|
</ns-button> |
|
|
|
</a-space> |
|
|
|
</div> |
|
|
|
</a-col> |
|
|
|