Commit 1cc9e009c659a7e0942e3d878486396e11a21255

Authored by 张红振
1 parent 4c1944e6

fix bug

src/views/community/housekeeper/index.vue
... ... @@ -267,7 +267,7 @@ onMounted(() => {
267 267 <router-link
268 268 :to="{
269 269 name: 'houses',
270   - query: { buildingId: scope.row.id },
  270 + query: { buildingId: scope.row.id,neighborhoodId: scope.row.neighborhoodId},
271 271 }"
272 272 >
273 273 <el-button type="text" size="mini" class="btn">房屋管理</el-button>
... ...
src/views/community/houses/index.vue
... ... @@ -154,6 +154,8 @@ const down = () =&gt; {
154 154 watchEffect(() => {
155 155 if (route.path == "/houses") {
156 156 searchData.buildingId = route.query.buildingId ?? null;
  157 + searchData.neighborhoodId = Number(route.query.neighborhoodId) ?? null;
  158 + getHousekeeper(Number(route.query.neighborhoodId));
157 159 search();
158 160 }
159 161 });
... ...