楼顶出来后依然可以筛选人员列表

master
许宏杰 8 months ago
parent 1e95c45ad6
commit c7c0516f64

@ -26,23 +26,21 @@ const xiaoqu = {
for (let key in query) { for (let key in query) {
state.queryParmas[key] = query[key]; state.queryParmas[key] = query[key];
} }
if (query.buildingId) {
if (state.queryParmas.buildingId) {
state.panel.rightPanel = true; state.panel.rightPanel = true;
state.panel.bottomPanel = true; state.panel.bottomPanel = true;
return; } else {
}
{
state.panel.rightPanel = false; state.panel.rightPanel = false;
} }
if ( if (
query.color || state.queryParmas.color ||
query.type || state.queryParmas.type ||
query.isd || state.queryParmas.isd ||
query.isk || state.queryParmas.isk ||
query.isx || state.queryParmas.isx ||
query.isj || state.queryParmas.isj ||
query.parentid state.queryParmas.parentid
) { ) {
state.panel.bottomPanel = false; state.panel.bottomPanel = false;
} }

@ -123,14 +123,14 @@ export default {
? this.houseItem.buildingWidth ? this.houseItem.buildingWidth
: window.innerWidth - this.$refs.houseItem.offsetWidth, : window.innerWidth - this.$refs.houseItem.offsetWidth,
name: item.name, name: item.name,
color: item.color, // color: item.color,
isD: item.is_d, // isD: item.is_d,
isJ: item.is_j, // isJ: item.is_j,
isK: item.is_k, // isK: item.is_k,
isx: item.is_x, // isx: item.is_x,
typename: item.typename, // typename: item.typename,
leftColor: item.leftColor, // leftColor: item.leftColor,
rightTopColor: item.rightTopColor, // rightTopColor: item.rightTopColor,
}); });
this.currentIndex = keyId; this.currentIndex = keyId;
}, },

@ -112,7 +112,7 @@ export default {
isk: undefined, isk: undefined,
isx: undefined, isx: undefined,
isj: undefined, isj: undefined,
buildingId: undefined, // buildingId: undefined,
}); });
this.$store.commit("CHANGE_QUERY_MAP", { networkName: networkName }); this.$store.commit("CHANGE_QUERY_MAP", { networkName: networkName });
}, },

Loading…
Cancel
Save