feat:ue和ne模块权限按钮

This commit is contained in:
zhongzm
2025-09-12 18:52:50 +08:00
parent 02b12d76a7
commit 510e3e1006
10 changed files with 104 additions and 42 deletions

View File

@@ -462,7 +462,7 @@ function fnSyncFileToFTP(row: Record<string, any>) {
<template #title>
{{ t('views.ne.neConfigBackup.backupModal.title') }}
</template>
<a-button type="text" @click.prevent="fnFTPModalOpen()">
<a-button type="text" @click.prevent="fnFTPModalOpen()" v-perms:has="['ne:neConfigBackup:ftp']">
<template #icon><DeliveredProcedureOutlined /></template>
</a-button>
</a-tooltip>
@@ -524,13 +524,13 @@ function fnSyncFileToFTP(row: Record<string, any>) {
<template #title>
{{ t('views.ne.neConfigBackup.backupModal.pushFileOper') }}
</template>
<a-button type="link" @click.prevent="fnSyncFileToFTP(record)">
<a-button type="link" @click.prevent="fnSyncFileToFTP(record)" v-perms:has="['ne:neConfigBackup:cloud']">
<template #icon><CloudServerOutlined /></template>
</a-button>
</a-tooltip>
<a-tooltip>
<template #title>{{ t('common.downloadText') }}</template>
<a-button type="link" @click.prevent="fnDownloadFile(record)">
<a-button type="link" @click.prevent="fnDownloadFile(record)" v-perms:has="['ne:neConfigBackup:download']">
<template #icon><DownloadOutlined /></template>
</a-button>
</a-tooltip>