From 39b213cde04c280c63f253fa2ef4e84b10ad49c5 Mon Sep 17 00:00:00 2001 From: duanliangtao Date: Fri, 24 Nov 2023 15:09:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E9=AB=9812345=E6=8A=A5=E5=91=8A?= =?UTF-8?q?=E4=B8=AD=E7=BB=84=E7=BB=87=E3=80=81=E9=83=A8=E9=97=A8=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E5=A6=82=E6=9E=9C=E6=B2=A1=E6=9C=89=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=EF=BC=8C=E5=88=99=E4=B8=8D=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/goverhotline/index.vue | 86 ++++++++++++++++++------ 1 file changed, 64 insertions(+), 22 deletions(-) diff --git a/src/views/modules/goverhotline/index.vue b/src/views/modules/goverhotline/index.vue index b7c5154cf..ecaaf93da 100644 --- a/src/views/modules/goverhotline/index.vue +++ b/src/views/modules/goverhotline/index.vue @@ -47,10 +47,9 @@

二、工单情况分析

-

(一)地域统计分析

- - -
+ +
+

➤ 地域统计分析

{{ report.geoStatis }}

@@ -59,13 +58,13 @@
-
+ -
+
+ +

➤ 科室热线分布分析

{{ report.geoStatis }}

@@ -73,15 +72,13 @@
+
-
- 暂无数据 -
- - -

(三)热点诉求及区域分析

+

➤ 热点诉求及区域分析

{{ report.hotDemand }}

@@ -90,16 +87,16 @@
-
+

三、存在主要问题

-

(一)同地点同类型事件重复投诉

+

➤ 同地点同类型事件重复投诉

@@ -113,7 +110,7 @@ 查看更多
-

(二)同一人员重复投诉

+

➤ 同一人员重复投诉

@@ -126,7 +123,7 @@ 查看更多
-

(三)同一区域不同类型投诉

+

➤ 同一区域不同类型投诉

@@ -265,6 +262,13 @@ export default { queryDateEnd: "", }, + agencyLevel:'', + + orgData: { + id: "", + level: "agency", + }, + // 内容字段 report:{ streetName:"", @@ -632,6 +636,8 @@ export default { async mounted() { this.user = this.$store.state.user; this.agencyId = this.user.agencyId; + await this.getOrgData(); + this.agencyLevel = localStorage.getItem("level", this.orgData.level); await this.getTableData(); await this.initEcharts(); }, @@ -653,7 +659,7 @@ export default { }); } - if(this.communityCountShow){ + if(this.communityCountShow && this.agencyLevel!='community'){ this.communityChart= echarts.init(document.getElementById("communityChart")); this.communityChart.setOption(this.communityOption); let than = this; @@ -662,7 +668,7 @@ export default { }); } - if(this.departCountShow){ + if(this.departCountShow && this.agencyLevel!='community'){ this.departChart= echarts.init(document.getElementById("departChart")); this.departChart.setOption(this.departOption); let than = this; @@ -743,6 +749,24 @@ export default { this.getTableData(); }, + + //加载组织数据 + async getOrgData() { + const url = "/gov/org/agency/maporg"; + let params = { + orgId: "", + level: "", + }; + + const { data, code, msg } = await requestPost(url, params); + + if (code === 0) { + this.orgData = data; + } else { + this.$message.error(msg); + } + }, + // 搜索事件 async handleSearch(val) { console.log(this.formData); @@ -1057,6 +1081,24 @@ export default { font-size: 20px; /* 字体大小 */ } + +.arrow-container { + position: relative; + width: 100px; /* 调整箭头容器的宽度 */ + height: 100px; /* 调整箭头容器的高度 */ +} + +.arrow { + width: 0; + height: 0; + border-style: solid; + border-width: 20px 0 20px 34.6px; /* 通过调整这里的数值可以改变箭头的大小 */ + border-color: transparent transparent transparent #007bff; /* 改变箭头颜色 */ + position: absolute; + top: 50%; + transform: translateY(-50%); +} + \ No newline at end of file