From 53602495698be5ace9360a11aaff2ff3816e8990 Mon Sep 17 00:00:00 2001
From: dhy1725534722 <1725534722@qq.com>
Date: Tue, 22 Aug 2023 14:30:42 +0800
Subject: [PATCH] =?UTF-8?q?=E7=BD=91=E7=BB=9C=E8=B5=B0=E5=8A=BF=E5=9B=BE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/wlSafe/index.js | 23 +
.../security/components/Earth.vue | 84 +-
.../security/components/componentLeft.vue | 720 ++++++++++--------
.../security/components/componentRight.vue | 336 ++++----
.../sentiment/components/WordCloud.vue | 21 +-
.../sentiment/components/componentLeft.vue | 127 +--
6 files changed, 720 insertions(+), 591 deletions(-)
create mode 100644 src/api/wlSafe/index.js
diff --git a/src/api/wlSafe/index.js b/src/api/wlSafe/index.js
new file mode 100644
index 0000000..c28f97c
--- /dev/null
+++ b/src/api/wlSafe/index.js
@@ -0,0 +1,23 @@
+import request from '@/utils/request.js'
+//数据来源
+export function dataLY() {
+ return request({
+ url: '/zongzhi/saftyscreen/source',
+ method: 'get',
+ })
+}
+//地球受攻击
+export function mapAttack(data) {
+ return request({
+ url: '/zongzhi/attack/list',
+ method: 'get',
+ params:data
+ })
+}
+//安全隐患
+export function safeRisks() {
+ return request({
+ url: '/zongzhi/saftyscreen/safetyhazard',
+ method: 'get',
+ })
+}
\ No newline at end of file
diff --git a/src/views/privateOrder/security/components/Earth.vue b/src/views/privateOrder/security/components/Earth.vue
index 84d42f5..60b386f 100644
--- a/src/views/privateOrder/security/components/Earth.vue
+++ b/src/views/privateOrder/security/components/Earth.vue
@@ -91,7 +91,7 @@
gl_PointSize = clamp(fract(percent*number + l - u_time*number*speed)-l ,0.0,1.) * size * (1./length);
opacity = gl_PointSize/size;
gl_Position = projectionMatrix * mvPosition;
- }`
+ }`;