|
@@ -495,41 +495,33 @@ export default {
|
|
|
let res = await GetTabsPane(pane_obj);
|
|
|
|
|
|
let filteredData =
|
|
|
- index == 0
|
|
|
+ element.name == "规划地块"
|
|
|
? res.data.data[0].filter((res) => {
|
|
|
return res.filed != "geom";
|
|
|
})
|
|
|
: [];
|
|
|
|
|
|
- if (element.defaultType == "0") {
|
|
|
- // store.state.query_pick_pane.push({
|
|
|
- // name: element.name,
|
|
|
- // value: res,
|
|
|
- // close: 'closable',
|
|
|
- // show: true
|
|
|
- // });
|
|
|
+ if (element.defaultType == "0" || index == 0) {
|
|
|
this.check_list_active.push(element.name);
|
|
|
- } else {
|
|
|
}
|
|
|
-
|
|
|
store.state.query_pick_pane.push({
|
|
|
name: element.name,
|
|
|
value: res,
|
|
|
filteredData,
|
|
|
close: "closable",
|
|
|
- show: element.defaultType == "0" ? true : false,
|
|
|
+ show: element.defaultType == "0" || index == 0,
|
|
|
});
|
|
|
|
|
|
this.check_list.push({
|
|
|
label: element.name,
|
|
|
- ckeck: element.defaultType == "0" ? true : false,
|
|
|
+ ckeck: element.defaultType == "0" || index == 0,
|
|
|
});
|
|
|
}
|
|
|
|
|
|
// this.highlightResults(longitude, latitude);
|
|
|
this.highlightResultsPng(longitude, latitude);
|
|
|
this.activeName = store.state.query_pick_pane[0].name;
|
|
|
- this.handleClick();
|
|
|
+ this.handleClick({});
|
|
|
that.handler_multi_level_query.destroy();
|
|
|
that.handler_multi_level_query = null;
|
|
|
}, Cesium.ScreenSpaceEventType.LEFT_CLICK);
|
|
@@ -571,6 +563,8 @@ export default {
|
|
|
if (this.activeName == "权属") {
|
|
|
this.qwnershipTabsFun();
|
|
|
} else if (tabData) {
|
|
|
+ this.active_tabs_table = tabData.value.data.data;
|
|
|
+ this.rawData = tabData.value.data.data;
|
|
|
tabData.value.data.datalist.forEach((res, ci) => {
|
|
|
loadGeoJSON(
|
|
|
res.geomvalue,
|
|
@@ -582,17 +576,15 @@ export default {
|
|
|
);
|
|
|
});
|
|
|
|
|
|
- if (tab) {
|
|
|
+ if (this.activeName !== "规划地块") {
|
|
|
let data = [];
|
|
|
- this.active_tabs_table = tabData.value.data.data;
|
|
|
- this.rawData = tabData.value.data.data;
|
|
|
tabData.value.data.datalist.forEach((res) => {
|
|
|
data.push({
|
|
|
name: res.groupvalue,
|
|
|
value: res.sumvalue,
|
|
|
});
|
|
|
});
|
|
|
- this.setEchart(data, "vertical", tab.index);
|
|
|
+ this.setEchart(data, "vertical", tab.index || 0);
|
|
|
}
|
|
|
}
|
|
|
},
|