From 0acb4109e531e6f5b0ec397cbe4f3a984147785b Mon Sep 17 00:00:00 2001
From: TsMask <340112800@qq.com>
Date: Thu, 18 Jan 2024 11:20:40 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BB=AA=E8=A1=A8=E7=9B=98=E7=9B=AE?=
=?UTF-8?q?=E5=BD=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/router/index.ts | 4 +-
src/views/dashboard/cdr/index.vue | 500 +++++++++++++++++++++++++
src/views/dashboard/overview/index.vue | 500 +++++++++++++++++++++++++
3 files changed, 1002 insertions(+), 2 deletions(-)
create mode 100644 src/views/dashboard/cdr/index.vue
create mode 100644 src/views/dashboard/overview/index.vue
diff --git a/src/router/index.ts b/src/router/index.ts
index ead8db67..e273ffb7 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -128,7 +128,7 @@ const router = createRouter({
/**全局路由-后置守卫 */
router.afterEach((to, from, failure) => {
NProgress.done();
- const title = to.meta?.title
+ const title = to.meta?.title;
// 设置标题
if (!failure && title) {
useAppStore().setTitle(to.meta.title);
@@ -143,7 +143,7 @@ router.beforeEach((to, from, next) => {
NProgress.start();
const token = getToken();
// 获取系统配置信息
- const appStore =useAppStore()
+ const appStore = useAppStore();
if (!appStore.loginBackground) {
appStore.fnSysConf();
}
diff --git a/src/views/dashboard/cdr/index.vue b/src/views/dashboard/cdr/index.vue
new file mode 100644
index 00000000..710076b4
--- /dev/null
+++ b/src/views/dashboard/cdr/index.vue
@@ -0,0 +1,500 @@
+
+
+
+
+
+
+
+
+
+
+
+ {{ t('common.reloadText') }}
+
+
+
+
+
+
+
+ {{ t('views.monitor.cache.clearCacheSafe') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
setSelectedKeys(e.target.value ? [e.target.value] : [])
+ "
+ @pressEnter="confirm()"
+ />
+
+ {{ t('views.monitor.cache.filter') }}
+
+
+ {{ t('common.reset') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ t('common.reloadText') }}
+
+
+
+
+
+
+
+
+
+
setSelectedKeys(e.target.value ? [e.target.value] : [])
+ "
+ @pressEnter="confirm()"
+ />
+
+ {{ t('views.monitor.cache.filter') }}
+
+
+ {{ t('common.reset') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ cacheKeyInfo.data.cacheName }}
+
+
+ {{ cacheKeyInfo.data.cacheKey }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/overview/index.vue b/src/views/dashboard/overview/index.vue
new file mode 100644
index 00000000..710076b4
--- /dev/null
+++ b/src/views/dashboard/overview/index.vue
@@ -0,0 +1,500 @@
+
+
+
+
+
+
+
+
+
+
+
+ {{ t('common.reloadText') }}
+
+
+
+
+
+
+
+ {{ t('views.monitor.cache.clearCacheSafe') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
setSelectedKeys(e.target.value ? [e.target.value] : [])
+ "
+ @pressEnter="confirm()"
+ />
+
+ {{ t('views.monitor.cache.filter') }}
+
+
+ {{ t('common.reset') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ t('common.reloadText') }}
+
+
+
+
+
+
+
+
+
+
setSelectedKeys(e.target.value ? [e.target.value] : [])
+ "
+ @pressEnter="confirm()"
+ />
+
+ {{ t('views.monitor.cache.filter') }}
+
+
+ {{ t('common.reset') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ cacheKeyInfo.data.cacheName }}
+
+
+ {{ cacheKeyInfo.data.cacheKey }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+