From 152210594ff809059354331c7527fc67e25bc3b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com> Date: Tue, 29 Nov 2022 13:49:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=A7=E6=B3=95=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 4 +- src/api/lawEnforcement/index.js | 9 + src/views/lawEnforcement/basis/basis.vue | 10 +- .../caseDistribution/caseDistribution.vue | 1397 ++--------------- src/views/lawEnforcement/index_new.vue | 2 +- 5 files changed, 113 insertions(+), 1309 deletions(-) diff --git a/index.html b/index.html index 57a611c9..d5ea3bb7 100644 --- a/index.html +++ b/index.html @@ -7,8 +7,8 @@ content="width=device-width,initial-scale=1,user-scalable=0,minimum-scale=1.0,maximum=scale=1.0" /> - + + 农燊高科 diff --git a/src/api/lawEnforcement/index.js b/src/api/lawEnforcement/index.js index 9e74e150..e6d30b31 100644 --- a/src/api/lawEnforcement/index.js +++ b/src/api/lawEnforcement/index.js @@ -880,3 +880,12 @@ export function casePreMonthNum(query) { }) } +// 各乡镇案件地图坐标点分布 +export function casePointList(query) { + return request({ + url: '/enforce/bigData/casePointList', + method: 'get', + params: query + }) +} + diff --git a/src/views/lawEnforcement/basis/basis.vue b/src/views/lawEnforcement/basis/basis.vue index 9d9a82ee..1e726032 100644 --- a/src/views/lawEnforcement/basis/basis.vue +++ b/src/views/lawEnforcement/basis/basis.vue @@ -117,15 +117,17 @@ }, goSearch(){ if (this.searchInput == ''){ - let path = this.$route.path; //先获取路由路径 - this.$router.push(path); //再跳转路由路径,query参数没带过去,所以被清除了 + location.reload() + } + if (this.searchInput == this.queryParams.title){ + return; } this.list = []; this.finished = false; - this.loading = false; + this.loading = true; this.queryParams.title = this.searchInput; this.queryParams.pageNum = 1; - // this.getList(); + this.getList(); }, onClickLeftIndex(){ this.$router.push('/lawEnforcement/index_new') diff --git a/src/views/lawEnforcement/caseDistribution/caseDistribution.vue b/src/views/lawEnforcement/caseDistribution/caseDistribution.vue index c814901e..69bf34e8 100644 --- a/src/views/lawEnforcement/caseDistribution/caseDistribution.vue +++ b/src/views/lawEnforcement/caseDistribution/caseDistribution.vue @@ -4,1343 +4,136 @@ 案件分布
-
-
- - + +
-
+