瀏覽代碼

Merge remote-tracking branch 'origin/master'

wulanhaote
yujk 3 年之前
父節點
當前提交
81013611a7
共有 1 個檔案被更改,包括 2 行新增4 行删除
  1. +2
    -4
      src/views/homesteadSurvey/list.vue

+ 2
- 4
src/views/homesteadSurvey/list.vue 查看文件

@@ -1896,8 +1896,7 @@
// map.addLayer(zhenTc);
//镇边界查询开始 ------------------------------end
//村边界查询开始 ------------------------------start
console.log(that.$cookies.get("item").deptName);
var cql_filter = "ZLDWMC='" + that.$cookies.get("item").deptName + "'";
var cql_filter = "dept_id='" + that.$cookies.get("item").deptId + "'";
var cunTc= new ol.layer.Tile({
source: new ol.source.TileWMS({
url: "http://116.255.223.226:8080/geoserver/zjd_dc/wms",
@@ -1933,7 +1932,6 @@
method: "POST", // *GET, POST, PUT, DELETE, etc.
})
.then((res) => {
console.log(res);
var geojsonmap = res.json();
return geojsonmap;
})
@@ -1955,7 +1953,7 @@
map.addLayer(cunTc);
//村边界查询开始 ------------------------------end
//宅基地图层查询开始 ------------------start
var cql_filter_all = "dept_name='" + that.$cookies.get("item").deptName + "'";
var cql_filter_all = "dept_id='" + that.$cookies.get("item").deptId + "'";
var zjdTc= new ol.layer.Tile({
source: new ol.source.TileWMS({
url: "http://116.255.223.226:8080/geoserver/zjd_dc/wms",


Loading…
取消
儲存