|
@@ -498,6 +498,8 @@ export default {
|
|
|
this.$message.info("暂无数据!");
|
|
|
}
|
|
|
if (res.code === 200 && res.content.data.length > 0) {
|
|
|
+ this.paginationData.currentPage = 1
|
|
|
+ this.paginationData.total = res.content.count
|
|
|
let uniqueId = id;
|
|
|
map2DViewer.analysisGroups[uniqueId] = L.featureGroup();
|
|
|
map2DViewer.analysisGroups[uniqueId].addTo(map2DViewer.map);
|
|
@@ -562,13 +564,13 @@ export default {
|
|
|
};
|
|
|
this.$Post(this.urlsCollection.selectContentList, layerParams).then(
|
|
|
(res) => {
|
|
|
- console.log(res, "changeSingeLayer");
|
|
|
+ // console.log(res, "changeSingeLayer");
|
|
|
if (res.code === 200 && res.content.data.length > 0) {
|
|
|
this.paginationData.currentPage = val;
|
|
|
this.paginationData.total = res.content.count;
|
|
|
let uniqueId = id;
|
|
|
if (map2DViewer.analysisGroups[uniqueId]) {
|
|
|
- console.log("当前的analysisGroups有数据");
|
|
|
+ // console.log("当前的analysisGroups有数据");
|
|
|
// map2DViewer.analysisGroups[uniqueId].remove()
|
|
|
map2DViewer.analysisGroups[uniqueId].clearLayers();
|
|
|
this.originalData[uniqueId] = res.content.data.map((ele) => {
|
|
@@ -1012,7 +1014,6 @@ export default {
|
|
|
};
|
|
|
this.$Post(this.urlsCollection.selectContentList, params).then(
|
|
|
(res) => {
|
|
|
- console.log(res, "res");
|
|
|
if (res.code === 202 && res.content === "数据不存在") {
|
|
|
this.$message.info("当前用户无权限!");
|
|
|
layerAuthorityMap.set(data.id, "无权限");
|
|
@@ -1022,8 +1023,6 @@ export default {
|
|
|
layerAuthorityMap.set(data.id, "有权限");
|
|
|
this.$store.state.treeDataCollection.set(data.id, {
|
|
|
mainType: data.mainType,
|
|
|
- // town: data.town,
|
|
|
- // type: data.type,
|
|
|
});
|
|
|
this.displaySingleLayer(data.columnId, data.id);
|
|
|
}
|