From 41e37766b7c1a97d76eed17e579b0454e602dcbc Mon Sep 17 00:00:00 2001
From: TsMask <340112800@qq.com>
Date: Mon, 23 Dec 2024 19:39:06 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20SMSC=E7=9F=AD=E4=BF=A1=E5=86=85?=
=?UTF-8?q?=E5=AE=B9=E6=98=BE=E7=A4=BA=EF=BC=8C=E6=9D=83=E9=99=90=E6=8E=A7?=
=?UTF-8?q?=E5=88=B6=E6=98=BE=E7=A4=BA=E6=93=8D=E4=BD=9C=E5=88=A0=E9=99=A4?=
=?UTF-8?q?cdr:ne:remove?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/dashboard/amfUE/index.vue | 2 ++
src/views/dashboard/imsCDR/index.vue | 2 ++
src/views/dashboard/mmeUE/index.vue | 2 ++
src/views/dashboard/sgwcCDR/index.vue | 2 ++
src/views/dashboard/smfCDR/index.vue | 2 ++
src/views/dashboard/smscCDR/index.vue | 22 +++++++++++++++++++++-
6 files changed, 31 insertions(+), 1 deletion(-)
diff --git a/src/views/dashboard/amfUE/index.vue b/src/views/dashboard/amfUE/index.vue
index 979a1d6c..83e061e6 100644
--- a/src/views/dashboard/amfUE/index.vue
+++ b/src/views/dashboard/amfUE/index.vue
@@ -522,6 +522,7 @@ onBeforeUnmount(() => {
:disabled="tableState.selectedRowKeys.length <= 0"
:loading="modalState.confirmLoading"
@click.prevent="fnRecordDelete('0')"
+ v-perms:has="['cdr:ne:remove']"
>
{{ t('common.deleteText') }}
@@ -644,6 +645,7 @@ onBeforeUnmount(() => {
diff --git a/src/views/dashboard/imsCDR/index.vue b/src/views/dashboard/imsCDR/index.vue
index 75be11c8..1dd05528 100644
--- a/src/views/dashboard/imsCDR/index.vue
+++ b/src/views/dashboard/imsCDR/index.vue
@@ -639,6 +639,7 @@ onBeforeUnmount(() => {
:disabled="tableState.selectedRowKeys.length <= 0"
:loading="modalState.confirmLoading"
@click.prevent="fnRecordDelete('0')"
+ v-perms:has="['cdr:ne:remove']"
>
{{ t('common.deleteText') }}
@@ -751,6 +752,7 @@ onBeforeUnmount(() => {
diff --git a/src/views/dashboard/mmeUE/index.vue b/src/views/dashboard/mmeUE/index.vue
index 80ace9f4..bf822d45 100644
--- a/src/views/dashboard/mmeUE/index.vue
+++ b/src/views/dashboard/mmeUE/index.vue
@@ -572,6 +572,7 @@ onBeforeUnmount(() => {
:disabled="tableState.selectedRowKeys.length <= 0"
:loading="modalState.confirmLoading"
@click.prevent="fnRecordDelete('0')"
+ v-perms:has="['cdr:ne:remove']"
>
{{ t('common.deleteText') }}
@@ -675,6 +676,7 @@ onBeforeUnmount(() => {
diff --git a/src/views/dashboard/sgwcCDR/index.vue b/src/views/dashboard/sgwcCDR/index.vue
index a57d62e0..b54704fd 100644
--- a/src/views/dashboard/sgwcCDR/index.vue
+++ b/src/views/dashboard/sgwcCDR/index.vue
@@ -598,6 +598,7 @@ onBeforeUnmount(() => {
:disabled="tableState.selectedRowKeys.length <= 0"
:loading="modalState.confirmLoading"
@click.prevent="fnRecordDelete('0')"
+ v-perms:has="['cdr:ne:remove']"
>
{{ t('common.deleteText') }}
@@ -692,6 +693,7 @@ onBeforeUnmount(() => {
diff --git a/src/views/dashboard/smfCDR/index.vue b/src/views/dashboard/smfCDR/index.vue
index f4951320..727f262f 100644
--- a/src/views/dashboard/smfCDR/index.vue
+++ b/src/views/dashboard/smfCDR/index.vue
@@ -614,6 +614,7 @@ onBeforeUnmount(() => {
:disabled="tableState.selectedRowKeys.length <= 0"
:loading="modalState.confirmLoading"
@click.prevent="fnRecordDelete('0')"
+ v-perms:has="['cdr:ne:remove']"
>
{{ t('common.deleteText') }}
@@ -708,6 +709,7 @@ onBeforeUnmount(() => {
diff --git a/src/views/dashboard/smscCDR/index.vue b/src/views/dashboard/smscCDR/index.vue
index de9068f3..da009f54 100644
--- a/src/views/dashboard/smscCDR/index.vue
+++ b/src/views/dashboard/smscCDR/index.vue
@@ -22,6 +22,7 @@ import { OptionsType, WS } from '@/plugins/ws-websocket';
import saveAs from 'file-saver';
import PQueue from 'p-queue';
import { useClipboard } from '@vueuse/core';
+import { hasPermissions } from '@/plugins/auth-user';
const { copy } = useClipboard({ legacy: true });
const { getDict } = useDictStore();
const { t } = useI18n();
@@ -609,6 +610,7 @@ onBeforeUnmount(() => {
:disabled="tableState.selectedRowKeys.length <= 0"
:loading="modalState.confirmLoading"
@click.prevent="fnRecordDelete('0')"
+ v-perms:has="['cdr:ne:remove']"
>
{{ t('common.deleteText') }}
@@ -716,6 +718,7 @@ onBeforeUnmount(() => {
@@ -727,7 +730,7 @@ onBeforeUnmount(() => {
-
+
{{ t('views.dashboard.cdr.cdrInfo') }}
@@ -781,6 +784,23 @@ onBeforeUnmount(() => {
+
+ Content
+
+
+