소스 검색

优化搜索

wulanhaote
hbao 3 년 전
부모
커밋
7bcab94690
1개의 변경된 파일6개의 추가작업 그리고 8개의 파일을 삭제
  1. +6
    -8
      src/views/homesteadSurvey/list.vue

+ 6
- 8
src/views/homesteadSurvey/list.vue 파일 보기

@@ -447,7 +447,7 @@
</template>
</van-search>
<div class="searchBox" style="display: none;">
<van-cell center v-for="(item,index) in mapDataAll[0]">
<van-cell center v-for="(item,index) in mapDataAll">
<template #title>
<p><van-icon name="manager" /><span>{{item.syqr}}</span><span style="background: rgba(122, 201, 67, 0.4);color:#7ac943">{{item.paceType}}</span>
<span style="background: rgba(122, 201, 67, 0.4);color:#7ac943">{{item.typeTc}}</span></p>
@@ -2763,20 +2763,18 @@
console.log(params);
listZjdzd(params).then((response) => {
if(response.rows.length>=0){
var mapNum = that.mapDataAll[hg].houseDataConfirmStatus;
that.mapDataAll = response.rows;
that.mapDataAll = response.rows;
console.log(that.mapDataAll);
for(var hg=0; hg < that.mapDataAll.length; hg++){
console.log(that.mapDataAll[hg].houseDataConfirmStatus)
var mapNum = that.mapDataAll[hg].houseDataConfirmStatus;
if(mapNum == "UNCONFIRMED"){
that.mapDataAll[0][hg].paceType = "未核查";
that.mapDataAll[hg].paceType = "未核查";
} else if (mapNum == "CONFIRMED"){
that.mapDataAll[0][hg].paceType = "已核查";
that.mapDataAll[hg].paceType = "已核查";
}else{

}
that.mapDataAll[0][hg].typeTc="宅基地";
that.mapDataAll[hg].typeTc="宅基地";
if (that.mapDataAll[hg] !=null && that.mapDataAll[hg].theGeom != null && that.mapDataAll[hg].theGeom != "") {
//that.mapDataAll[hg].createBy = 'mapTheGeomZjdId';
var hc_land = new ol.layer.Vector({
@@ -2804,7 +2802,7 @@
duration: 1000, // 缩放持续时间,默认不需要设置
});
}
console.log(that.mapDataAll[0][hg].zjddm);
console.log(that.mapDataAll[hg].zjddm);
// listFsss(paramsZrz).then((response) => {
// console.log(response);
// that.mapDataAll.push(response.rows);


불러오는 중...
취소
저장