diff --git a/ALOps_sys_fe/alops-ui/src/components/Qa/index.vue b/ALOps_sys_fe/alops-ui/src/components/Qa/index.vue new file mode 100644 index 00000000..b9c9a318 --- /dev/null +++ b/ALOps_sys_fe/alops-ui/src/components/Qa/index.vue @@ -0,0 +1,261 @@ + + + + \ No newline at end of file diff --git a/ALOps_sys_fe/alops-ui/src/views/QandA/Aiassistant/index.vue b/ALOps_sys_fe/alops-ui/src/views/QandA/Aiassistant/index.vue index 6582b28d..12316a09 100644 --- a/ALOps_sys_fe/alops-ui/src/views/QandA/Aiassistant/index.vue +++ b/ALOps_sys_fe/alops-ui/src/views/QandA/Aiassistant/index.vue @@ -1,174 +1,62 @@ \ No newline at end of file + + \ No newline at end of file diff --git a/ALOps_sys_fe/alops-ui/src/views/QandA/Aiassistant/index2.vue b/ALOps_sys_fe/alops-ui/src/views/QandA/Aiassistant/index2.vue new file mode 100644 index 00000000..a3e70965 --- /dev/null +++ b/ALOps_sys_fe/alops-ui/src/views/QandA/Aiassistant/index2.vue @@ -0,0 +1,272 @@ + + + + + \ No newline at end of file diff --git a/ALOps_sys_fe/alops-ui/src/views/index.vue b/ALOps_sys_fe/alops-ui/src/views/index.vue index fddf5a8d..88f6122d 100644 --- a/ALOps_sys_fe/alops-ui/src/views/index.vue +++ b/ALOps_sys_fe/alops-ui/src/views/index.vue @@ -1,105 +1,187 @@ + // 初始化预警信息统计图表 + const alertStatsChart = echarts.init(document.getElementById('alertStatsChart')); + alertStatsChart.setOption({ + title: { text: '预警信息统计', left: 'center' }, + tooltip: {}, + radar: { + indicator: [ + { name: '火警类', max: 500 }, + { name: '冲禁类', max: 500 }, + { name: '灾害', max: 500 }, + { name: '群体性', max: 500 }, + { name: '行政类', max: 500 }, + { name: '交通类', max: 500 }, + { name: '重大', max: 500 }, + ], + }, + series: [{ + name: '预警统计', + type: 'radar', + data: [ + { + value: [75, 452, 64, 94, 44, 0, 29], + name: '预警次数', + }, + ], + }], + }); + }, + }, +}; + - - - - \ No newline at end of file + \ No newline at end of file