From 852d952d77a36558834ede626aefceb6bf7f9067 Mon Sep 17 00:00:00 2001 From: Wangxin Date: Wed, 10 Sep 2025 11:15:46 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90web=E3=80=91=20=E9=97=AE=E7=AD=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../alops-ui/src/components/Qa/index.vue | 261 +++++++ .../src/views/QandA/Aiassistant/index.vue | 728 ++++++------------ .../src/views/QandA/Aiassistant/index2.vue | 272 +++++++ ALOps_sys_fe/alops-ui/src/views/index.vue | 264 ++++--- 4 files changed, 940 insertions(+), 585 deletions(-) create mode 100644 ALOps_sys_fe/alops-ui/src/components/Qa/index.vue create mode 100644 ALOps_sys_fe/alops-ui/src/views/QandA/Aiassistant/index2.vue 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