diff --git a/src/views/dashboard/overview/components/AlarnDayLine/index.vue b/src/views/dashboard/overview/components/AlarnDayLine/index.vue
new file mode 100644
index 00000000..71a75ee5
--- /dev/null
+++ b/src/views/dashboard/overview/components/AlarnDayLine/index.vue
@@ -0,0 +1,242 @@
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/overview/components/AlarnTypeBar/index.vue b/src/views/dashboard/overview/components/AlarnTypeBar/index.vue
new file mode 100644
index 00000000..0b2e1ab7
--- /dev/null
+++ b/src/views/dashboard/overview/components/AlarnTypeBar/index.vue
@@ -0,0 +1,171 @@
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/overview/components/CDR/index.vue b/src/views/dashboard/overview/components/CDR/index.vue
new file mode 100644
index 00000000..3dcde44e
--- /dev/null
+++ b/src/views/dashboard/overview/components/CDR/index.vue
@@ -0,0 +1,143 @@
+
+
+
+
+
+ 号码
+ 行为
+ 描述
+
+
+
+ {{ item.callReference }}
+ {{ item.recordType }}
+ [{{ item.serviceResult }}]
+ {{ item.callerParty }}
+ ->
+ {{ item.calledParty }}
+ # {{ item.callDuration }}
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/overview/components/NeResources/index.vue b/src/views/dashboard/overview/components/NeResources/index.vue
new file mode 100644
index 00000000..9bc341ec
--- /dev/null
+++ b/src/views/dashboard/overview/components/NeResources/index.vue
@@ -0,0 +1,384 @@
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/overview/components/Topology/index.vue b/src/views/dashboard/overview/components/Topology/index.vue
index a74f12bd..d96d142c 100644
--- a/src/views/dashboard/overview/components/Topology/index.vue
+++ b/src/views/dashboard/overview/components/Topology/index.vue
@@ -167,8 +167,9 @@ function handleRanderGraph(
const graph = new Graph({
container: container,
width: clientWidth,
- height: clientHeight,
+ height: clientHeight - 36,
fitCenter: true,
+ fitView: true,
modes: {
default: [
'drag-combo',
diff --git a/src/views/dashboard/overview/components/UPFFlow/index.vue b/src/views/dashboard/overview/components/UPFFlow/index.vue
new file mode 100644
index 00000000..71a75ee5
--- /dev/null
+++ b/src/views/dashboard/overview/components/UPFFlow/index.vue
@@ -0,0 +1,242 @@
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/overview/css/index.css b/src/views/dashboard/overview/css/index.css
index 883d1798..0486138e 100644
--- a/src/views/dashboard/overview/css/index.css
+++ b/src/views/dashboard/overview/css/index.css
@@ -11,6 +11,35 @@
background-color: #101129;
}
+.column {
+ flex: 3;
+ position: relative;
+}
+
+/* 边框 */
+.panel {
+ box-sizing: border-box;
+ border: 2px solid red;
+ border-image: url(../images/border.png) 51 38 21 132;
+ border-width: 2.125rem 1.583rem 0.875rem 5.5rem;
+ position: relative;
+ margin-bottom: 0.833rem;
+}
+.panel .inner {
+ /* 装内容 */
+ /* height: 60px; */
+ position: absolute;
+ top: -2.125rem;
+ right: -1.583rem;
+ bottom: -0.875rem;
+ left: -5.5rem;
+ padding: 1rem 1.5rem;
+}
+.panel h3 {
+ font-size: 0.833rem;
+ color: #fff;
+}
+
/* 总览标题 */
.brand {
background-image: url(../images/brand.png);
@@ -40,53 +69,28 @@
font-size: 0.9rem;
}
-/* 拓扑图 */
-.topology {
- height: 24.1rem;
- margin-bottom: 0.833rem;
+/* 实时流量 */
+.upfFlow {
+ height: 16rem;
display: flex;
- flex-direction: column;
}
-.topology .topology-title {
- line-height: 1;
- padding: 0.667rem 0;
- margin: 0;
- font-size: 0.833rem;
- color: #fff;
-}
-.topology .topology-chart {
- flex: 1;
- background-color: rgba(255, 255, 255, 0.05);
+.upfFlow .inner .chart {
+ width: 100%;
+ height: 100%;
+ margin-top: 1rem;
}
-.column {
- flex: 3;
- position: relative;
+/* 网络拓扑 */
+.topology {
+ height: 25.55rem;
+ display: flex;
+}
+.topology .inner .chart {
+ width: 100%;
+ height: 100%;
+ margin-top: 1rem;
}
-.panel {
- /* 边框 */
- box-sizing: border-box;
- border: 2px solid red;
- border-image: url(../images/border.png) 51 38 21 132;
- border-width: 2.125rem 1.583rem 0.875rem 5.5rem;
- position: relative;
- margin-bottom: 0.833rem;
-}
-.panel .inner {
- /* 装内容 */
- /* height: 60px; */
- position: absolute;
- top: -2.125rem;
- right: -1.583rem;
- bottom: -0.875rem;
- left: -5.5rem;
- padding: 1rem 1.5rem;
-}
-.panel h3 {
- font-size: 0.833rem;
- color: #fff;
-}
/* 概览区域 */
.overview {
height: 4.583rem;
@@ -95,16 +99,128 @@
display: flex;
justify-content: space-between;
}
-.overview h4 {
+.overview .inner h4 {
font-size: 1.167rem;
padding-left: 0.2rem;
color: #fff;
margin-bottom: 0.333rem;
}
-.overview span {
+.overview .inner span {
font-size: 0.667rem;
color: #4c9bfd;
}
+
+/* 本月告警统计 */
+.alarmType {
+ height: 14.167rem;
+}
+.alarmType .chart {
+ display: flex;
+ margin-top: 1rem;
+ justify-content: space-between;
+}
+.alarmType .bar {
+ width: 13rem;
+ height: 10rem;
+ margin-left: -0.4rem;
+}
+.alarmType .data {
+ display: flex;
+ flex-direction: column;
+ justify-content: space-between;
+ width: 7rem;
+ padding: 1.5rem 1.25rem;
+ box-sizing: border-box;
+ background-image: url(../images/rect.png);
+ background-size: cover;
+}
+.alarmType .data h4 {
+ margin-bottom: 0.5rem;
+ font-size: 1.167rem;
+ color: #fff;
+}
+.alarmType .data span {
+ display: block;
+ color: #4c9bfd;
+ font-size: 0.667rem;
+}
+
+/* 告警趋势 */
+.alarmDay {
+ height: 16rem;
+ display: flex;
+}
+.alarmDay .inner .chart {
+ width: 100%;
+ height: 100%;
+ margin-top: 1rem;
+}
+
+/* 总流量 */
+.totalFlow {
+ height: 6.167rem;
+}
+.totalFlow .inner .filter {
+ display: flex;
+}
+.totalFlow .inner .filter span {
+ display: block;
+ height: 0.75rem;
+ line-height: 1;
+ padding: 0 0.75rem;
+ color: #1950c4;
+ font-size: 0.75rem;
+ border-right: 0.083rem solid #00f2f1;
+}
+.totalFlow .inner .filter span:first-child {
+ padding-left: 0;
+}
+.totalFlow .inner .filter span:last-child {
+ border-right: none;
+}
+.totalFlow .inner .filter span.active {
+ color: #fff;
+ font-size: 0.833rem;
+}
+.totalFlow .data {
+ display: flex;
+ margin-top: 0.833rem;
+}
+.totalFlow .item {
+ width: 50%;
+}
+.totalFlow h4 {
+ font-size: 1.167rem;
+ color: #fff;
+ margin-bottom: 0.417rem;
+}
+.totalFlow span {
+ color: #4c9bfd;
+ font-size: 0.667rem;
+}
+
+/* 资源情况 */
+.resources {
+ height: 16rem;
+ display: flex;
+}
+.resources .inner .chart {
+ width: 100%;
+ height: 100%;
+ margin-top: 1rem;
+}
+
+/* 会话监控 */
+.cdr {
+ height: 22rem;
+ display: flex;
+}
+.cdr .inner .chart {
+ width: 100%;
+ height: 100%;
+ margin-top: 1rem;
+}
+
/* 监控 */
.monitor {
height: 20rem;
@@ -328,49 +444,7 @@
color: #4c9bfd;
font-size: 0.667rem;
}
-/* 订单 */
-.order {
- height: 6.167rem;
-}
-.order .filter {
- display: flex;
-}
-.order .filter a {
- display: block;
- height: 0.75rem;
- line-height: 1;
- padding: 0 0.75rem;
- color: #1950c4;
- font-size: 0.75rem;
- border-right: 0.083rem solid #00f2f1;
-}
-.order .filter a:first-child {
- padding-left: 0;
-}
-.order .filter a:last-child {
- border-right: none;
-}
-.order .filter a.active {
- color: #fff;
- font-size: 0.833rem;
-}
-.order .data {
- display: flex;
- margin-top: 0.833rem;
-}
-.order .item {
- width: 50%;
-}
-.order h4 {
- font-size: 1.167rem;
- color: #fff;
- margin-bottom: 0.417rem;
-}
-.order span {
- display: block;
- color: #4c9bfd;
- font-size: 0.667rem;
-}
+
/* 销售区域 */
.sales {
height: 10.333rem;
diff --git a/src/views/dashboard/overview/index.vue b/src/views/dashboard/overview/index.vue
index 20cc1736..3d2c95cf 100644
--- a/src/views/dashboard/overview/index.vue
+++ b/src/views/dashboard/overview/index.vue
@@ -2,6 +2,12 @@
import { onMounted, ref } from 'vue';
import useI18n from '@/hooks/useI18n';
import Topology from './components/Topology/index.vue';
+import NeResources from './components/NeResources/index.vue';
+import CDR from './components/CDR/index.vue';
+import AlarnDayLine from './components/AlarnDayLine/index.vue';
+import AlarnTypeBar from './components/AlarnTypeBar/index.vue';
+import UPFFlow from './components/UPFFlow/index.vue';
+
import { useFullscreen } from '@vueuse/core';
import useAppStore from '@/store/modules/app';
const appStore = useAppStore();
@@ -61,11 +67,13 @@ onMounted(() => {});
-
+
本月告警统计
-
+
320,11
@@ -87,75 +95,46 @@ onMounted(() => {});
-
+
-
-
告警趋势
-
- -
-
- 可爱多
-
- -
-
- 娃哈啥
-
- -
-
- 喜之郎
-
-
+
告警趋势
+
-
+
实时流量
-
-
-
-
120,899
-
-
- 用户总量
-
-
-
-
248
-
-
- 本月新增
-
-
-
+
-
+
-
-
+
+
@@ -177,113 +156,24 @@ onMounted(() => {});
-
+
-
资源情况
+
+ 资源情况
+
-
-
-
-
120,899
-
-
- 磁盘
-
-
-
-
248
-
-
- cpu
-
-
-
-
248
-
-
- 内存
-
-
-
+
-
-
+
+
-
-
-
- 故障时间
- 设备地址
- 异常代码
-
-
-
-
- 20180701
- 11北京市昌平西路金燕龙写字楼
- 1000001
-
-
-
- 20190601
- 北京市昌平区城西路金燕龙写字楼
- 1000002
-
-
-
- 20190704
- 北京市昌平区建材城西路金燕龙写字楼
- 1000003
-
-
-
- 20180701
- 北京市昌平区建路金燕龙写字楼
- 1000004
-
-
-
- 20190701
- 北京市昌平区建材城西路金燕龙写字楼
- 1000005
-
-
-
- 20190701
- 北京市昌平区建材城西路金燕龙写字楼
- 1000006
-
-
-
- 20190701
- 北京市昌平区建西路金燕龙写字楼
- 1000007
-
-
-
- 20190701
- 北京市昌平区建材城西路金燕龙写字楼
- 1000008
-
-
-
- 20190701
- 北京市昌平区建材城西路金燕龙写字楼
- 1000009
-
-
-
- 20190710
- 北京市昌平区建材城西路金燕龙写字楼
- 1000010
-
-
-
-
+
+ 会话监控
+
+
+