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