feat: 移除掉一些权限标识

This commit is contained in:
TsMask
2025-09-15 14:23:17 +08:00
parent 510e3e1006
commit 58d0e6e884
6 changed files with 54 additions and 29 deletions

View File

@@ -387,7 +387,7 @@ onMounted(() => {
<a-button
type="link"
@click.prevent="fnSyncFileToFTP(record.fileName)"
v-perms:has="['ne-data:backup-data:cloud']"
v-perms:has="['ne-data:backup-data:ftpSync']"
>
<template #icon><CloudServerOutlined /></template>
</a-button>

View File

@@ -819,7 +819,11 @@ onMounted(() => {
<!-- 插槽-卡片左侧侧 -->
<template #title>
<a-flex wrap="wrap" gap="small">
<a-button type="primary" @click.prevent="fnModalVisibleByEdit()" v-perms:has="['neData:udm-auth:add']">
<a-button
type="primary"
@click.prevent="fnModalVisibleByEdit()"
v-perms:has="['neData:udm-auth:add']"
>
<template #icon>
<PlusOutlined />
</template>
@@ -858,7 +862,11 @@ onMounted(() => {
</a-button>
</a-popconfirm>
<a-button type="dashed" @click.prevent="fnModalUploadImportOpen" v-perms:has="['neData:udm-auth:import']">
<a-button
type="dashed"
@click.prevent="fnModalUploadImportOpen"
v-perms:has="['neData:udm-auth:import']"
>
<template #icon><ImportOutlined /></template>
{{ t('views.neUser.auth.import') }}
</a-button>
@@ -869,7 +877,6 @@ onMounted(() => {
ok-text="TXT"
ok-type="default"
@confirm="fnExportList('txt')"
v-if="false"
>
<a-button type="dashed" v-perms:has="['neData:udm-auth:export']">
<template #icon><ExportOutlined /></template>
@@ -896,7 +903,6 @@ onMounted(() => {
ok-type="default"
@confirm="fnRecordExport('txt')"
:disabled="tableState.selectedRowKeys.length <= 0"
v-if="false"
>
<a-button
type="default"