|
|
|
@ -114,12 +114,28 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
lookBuild(item) {
|
|
|
|
|
this.open = false;
|
|
|
|
|
if (item.xiaoquId == 267) {
|
|
|
|
|
this.$store.commit("SET_BUILDING_WIDTH", {
|
|
|
|
|
id: item.houseId,
|
|
|
|
|
buildingId: item.buildingId,
|
|
|
|
|
deptId: item.deptId,
|
|
|
|
|
buildingWidth:
|
|
|
|
|
this.houseItem.buildingWidth > 0
|
|
|
|
|
? this.houseItem.buildingWidth
|
|
|
|
|
: window.innerWidth,
|
|
|
|
|
name: item.housename,
|
|
|
|
|
keyId: item.houseId,
|
|
|
|
|
sm: true,
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
this.$store.commit("SET_CLICK_RESULT", {
|
|
|
|
|
id: item.houseId,
|
|
|
|
|
buildingId: item.buildingId,
|
|
|
|
|
name: item.housename,
|
|
|
|
|
keyId: item.houseId,
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
this.$store.commit("CHANGE_QUERY", { buildingId: item.buildingId });
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
@ -137,7 +153,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
computed: {
|
|
|
|
|
...mapGetters(["name", "yjTotal", "dept"]),
|
|
|
|
|
...mapGetters(["name", "yjTotal", "dept", "houseItem"]),
|
|
|
|
|
handlerBtn() {
|
|
|
|
|
return (
|
|
|
|
|
this.$route.name == "xiaoqu" &&
|
|
|
|
|