diff --git a/src/views/screen/components/AlarmStatistics.vue b/src/views/screen/components/AlarmStatistics.vue
new file mode 100644
index 0000000..0baddcc
--- /dev/null
+++ b/src/views/screen/components/AlarmStatistics.vue
@@ -0,0 +1,127 @@
+
+
+
+
+
diff --git a/src/views/screen/index.vue b/src/views/screen/index.vue
index 387a89a..5f61d2b 100644
--- a/src/views/screen/index.vue
+++ b/src/views/screen/index.vue
@@ -84,6 +84,7 @@ import AlarmDynamic from './components/AlarmDynamic.vue';
import AccessUsageStatus from './components/AccessUsageStatus.vue';
import ResourceType from './components/ResourceType.vue';
import AlarmTrend from './components/AlarmTrend.vue';
+import AlarmStatistics from './components/AlarmStatistics.vue';
/** 机构切换配置 */
const orgList = ref([
@@ -142,6 +143,9 @@ const getComponent = (componentName) => {
case 'AlarmTrend':
component = shallowRef(AlarmTrend);
break;
+ case 'AlarmStatistics':
+ component = shallowRef(AlarmStatistics);
+ break;
}
return component;
};
@@ -163,6 +167,7 @@ const getComponentClass = computed(() => (componentName) => {
break;
case 'ResourceType':
case 'AlarmTrend':
+ case 'AlarmStatistics':
className = 'content_lr-item';
break;
}
@@ -188,14 +193,16 @@ const getLayout = (id) => {
right: [
{ title: '资源类型', componentName: 'ResourceType' },
{ title: '告警趋势图', componentName: 'AlarmTrend' },
+ { title: '告警级别统计', componentName: 'AlarmStatistics' },
],
};
break;
case 'org1':
layoutDataValue = {
left: [
- { title: '综合看板', componentName: 'AccessStatus' },
- { title: '重要系统健康状态', componentName: 'MajorSystemHealthStatus' },
+ { title: '告警级别统计', componentName: 'AlarmStatistics' },
+ { title: '告警趋势图', componentName: 'AlarmTrend' },
+ { title: '资源类型', componentName: 'ResourceType' },
],
center: [
{ title: '重要告警', componentName: 'MajorAlert' },
@@ -203,8 +210,8 @@ const getLayout = (id) => {
{ title: '各资源接入及使用情况', componentName: 'AccessUsageStatus' },
],
right: [
- { title: '资源类型', componentName: 'ResourceType' },
- { title: '告警趋势图', componentName: 'AlarmTrend' },
+ { title: '重要系统健康状态', componentName: 'MajorSystemHealthStatus' },
+ { title: '综合看板', componentName: 'AccessStatus' },
],
};
break;