From fb723b3a7e3f7e0d9dbbb70955db6dd9d4e058c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=AE=8F=E6=9D=B0?= <1943105267@qq.com> Date: Wed, 23 Aug 2023 09:30:52 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=AF=8D=E4=BA=91=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sentiment/components/WordCloud.vue | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/src/views/privateOrder/sentiment/components/WordCloud.vue b/src/views/privateOrder/sentiment/components/WordCloud.vue index 938dd70..5dd50e9 100644 --- a/src/views/privateOrder/sentiment/components/WordCloud.vue +++ b/src/views/privateOrder/sentiment/components/WordCloud.vue @@ -70,18 +70,16 @@ export default { }, methods: { getDataList() { - wordCloud().then((res) => { - res.data.forEach((value) => { - this.data.push({ - name: this.$filterDict("tc_cy_type", value.type), - count: 888, - }); - }); - this.$nextTick(() => { - this.init(); - this.animate(); + this.$store.getters.dictObject["tc_cy_type"].forEach((value) => { + this.data.push({ + name: value.dictLabel, + count: 888, }); }); + this.$nextTick(() => { + this.init(); + this.animate(); + }); }, init() { const tags = document.querySelectorAll(".tag"); From 9d306708496fa421667c192f6d1c5f3f27ecd9f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=AE=8F=E6=9D=B0?= <1943105267@qq.com> Date: Wed, 23 Aug 2023 17:13:45 +0800 Subject: [PATCH 2/2] 1 --- .../security/components/componentRight.vue | 141 ++++++++++-------- 1 file changed, 77 insertions(+), 64 deletions(-) diff --git a/src/views/privateOrder/security/components/componentRight.vue b/src/views/privateOrder/security/components/componentRight.vue index 43b32b4..52e581f 100644 --- a/src/views/privateOrder/security/components/componentRight.vue +++ b/src/views/privateOrder/security/components/componentRight.vue @@ -107,24 +107,27 @@ 等级 隐患来源 -
- -
+ - {{ item.unitName }} - {{ item.riskName }} - {{ $filterDict("tc_yh_level", item.level) }} - {{ $filterDict("tc_yh_source", item.riskSource) }} -
-
+
+ {{ item.unitName }} + {{ item.riskName }} + {{ + $filterDict("tc_yh_level", item.level) + }} + + {{ $filterDict("tc_yh_source", item.riskSource) }} +
+
@@ -136,28 +139,27 @@ 处置情况
- -
-
- {{ item.depName }} -
-
- {{ item.ip }} +
+
+ {{ item.depName }} +
+
+ {{ item.ip }} +
+ {{ + $filterDict("tc_steam_state", item.state) + }}
- {{ - $filterDict("tc_steam_state", item.state) - }} -
- +
@@ -230,7 +232,7 @@