@@ -7,8 +7,8 @@ | |||||
content="width=device-width,initial-scale=1,user-scalable=0,minimum-scale=1.0,maximum=scale=1.0" /> | content="width=device-width,initial-scale=1,user-scalable=0,minimum-scale=1.0,maximum=scale=1.0" /> | ||||
<link rel="shortcut icon" type="image/x-icon" href="static/favicon.ico"> | <link rel="shortcut icon" type="image/x-icon" href="static/favicon.ico"> | ||||
<script src="/static/js/ol.js"></script> | <script src="/static/js/ol.js"></script> | ||||
<!-- <script type="text/javascript" | |||||
src="http://api.tianditu.gov.cn/api?v=4.0&tk=cc4aba6e967096098249efa069733067"></script>--> | |||||
<!-- <script type="text/javascript" src="http://api.tianditu.gov.cn/api?v=4.0&tk=cc4aba6e967096098249efa069733067"></script>--> | |||||
<script type="text/javascript" src="https://api.map.baidu.com/api?type=webgl&v=1.0&ak=XzwOBaO4CElCsPdl8LIFEvv5rTemG6w1"></script> | |||||
<title>农燊高科</title> | <title>农燊高科</title> | ||||
</head> | </head> | ||||
@@ -880,3 +880,12 @@ export function casePreMonthNum(query) { | |||||
}) | }) | ||||
} | } | ||||
// 各乡镇案件地图坐标点分布 | |||||
export function casePointList(query) { | |||||
return request({ | |||||
url: '/enforce/bigData/casePointList', | |||||
method: 'get', | |||||
params: query | |||||
}) | |||||
} | |||||
@@ -117,15 +117,17 @@ | |||||
}, | }, | ||||
goSearch(){ | goSearch(){ | ||||
if (this.searchInput == ''){ | 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.list = []; | ||||
this.finished = false; | this.finished = false; | ||||
this.loading = false; | |||||
this.loading = true; | |||||
this.queryParams.title = this.searchInput; | this.queryParams.title = this.searchInput; | ||||
this.queryParams.pageNum = 1; | this.queryParams.pageNum = 1; | ||||
// this.getList(); | |||||
this.getList(); | |||||
}, | }, | ||||
onClickLeftIndex(){ | onClickLeftIndex(){ | ||||
this.$router.push('/lawEnforcement/index_new') | this.$router.push('/lawEnforcement/index_new') | ||||
@@ -6,7 +6,7 @@ | |||||
</div> | </div> | ||||
<div class="search"> | <div class="search"> | ||||
<img src="../../../static/images/lawEnforcement/new/index_icon_03.png"> | |||||
<img src="../../../static/images/lawEnforcement/new/index_icon_03.png" @click="$router.push({name:'lawEnforcementScan'})"> | |||||
<input type="text" placeholder="请输入执法依据名称" v-model="searchInput" /> | <input type="text" placeholder="请输入执法依据名称" v-model="searchInput" /> | ||||
<img src="../../../static/images/lawEnforcement/new/index_icon_04.png" @click="goSearch"> | <img src="../../../static/images/lawEnforcement/new/index_icon_04.png" @click="goSearch"> | ||||
</div> | </div> | ||||