feat:BA UE部分按钮权限分配

This commit is contained in:
zhongzm
2025-08-29 16:18:26 +08:00
parent 3aa6822a72
commit 3389fbad53
6 changed files with 59 additions and 29 deletions

View File

@@ -728,7 +728,7 @@ onMounted(() => {
<a-col :lg="6" :md="12" :xs="24">
<a-form-item>
<a-space :size="8">
<a-button type="primary" @click.prevent="fnGetList()">
<a-button type="primary" @click.prevent="fnGetList()" v-perms:has="['nedata:basestation:search']">
<template #icon><SearchOutlined /></template>
{{ t('common.search') }}
</a-button>
@@ -747,7 +747,7 @@ onMounted(() => {
<!-- 插槽-卡片左侧侧 -->
<template #title>
<a-space :size="8" align="center">
<a-button type="primary" @click.prevent="fnModalVisibleByEdit()">
<a-button type="primary" @click.prevent="fnModalVisibleByEdit()" v-perms:has="['nedata:basestation:add']">
<template #icon>
<PlusOutlined />
</template>
@@ -758,6 +758,7 @@ onMounted(() => {
:disabled="tableState.selectedRowKeys.length != 1"
:loading="modalState.confirmLoading"
@click.prevent="fnModalVisibleByEdit('0')"
v-perms:has="['nedata:basestation:edit']"
>
<template #icon><FormOutlined /></template>
{{ t('common.editText') }}
@@ -768,19 +769,20 @@ onMounted(() => {
:disabled="tableState.selectedRowKeys.length <= 0"
:loading="modalState.confirmLoading"
@click.prevent="fnRecordDelete('0')"
v-perms:has="['nedata:basestation:delete']"
>
<template #icon><DeleteOutlined /></template>
{{ t('common.deleteText') }}
</a-button>
<a-button type="dashed" @click.prevent="fnModalImportOpen()">
<a-button type="dashed" @click.prevent="fnModalImportOpen()" v-perms:has="['nedata:basestation:import']">
<template #icon><ImportOutlined /></template>
{{ t('common.import') }}
</a-button>
<a-button type="dashed" @click.prevent="fnExportList()">
<a-button type="dashed" @click.prevent="fnExportList()" v-perms:has="['nedata:basestation:export']">
<template #icon><ExportOutlined /></template>
{{ t('common.export') }}
</a-button>
<a-button type="default" @click.prevent="fnHistoryView()">
<a-button type="default" @click.prevent="fnHistoryView()" v-perms:has="['nedata:basestation:history']">
<template #icon><ContainerOutlined /></template>
{{ t('views.neData.baseStation.history') }}
</a-button>