|
@@ -88,6 +88,7 @@ const filters = ref({
|
|
|
district: '',
|
|
district: '',
|
|
|
building: undefined as number | undefined,
|
|
building: undefined as number | undefined,
|
|
|
floor: undefined as number | undefined,
|
|
floor: undefined as number | undefined,
|
|
|
|
|
+ houseName: undefined as number | undefined,
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
// 房屋列表数据
|
|
// 房屋列表数据
|
|
@@ -144,6 +145,7 @@ const getList = async () => {
|
|
|
...(areaRange.max && { areaMax: areaRange.max }),
|
|
...(areaRange.max && { areaMax: areaRange.max }),
|
|
|
...(filters.value.building && { building: filters.value.building?.toString() }),
|
|
...(filters.value.building && { building: filters.value.building?.toString() }),
|
|
|
...(filters.value.floor && { floor: filters.value.floor?.toString() }),
|
|
...(filters.value.floor && { floor: filters.value.floor?.toString() }),
|
|
|
|
|
+ ...(filters.value.houseName && { houseName: filters.value.houseName?.toString() }),
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
const response = await clientGet<typeof params, ASimplifiedHouseInfoVoListResponse>(
|
|
const response = await clientGet<typeof params, ASimplifiedHouseInfoVoListResponse>(
|
|
@@ -222,6 +224,7 @@ const resetFilters = () => {
|
|
|
district: '',
|
|
district: '',
|
|
|
building: undefined,
|
|
building: undefined,
|
|
|
floor: undefined,
|
|
floor: undefined,
|
|
|
|
|
+ houseName: undefined,
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -363,7 +366,7 @@ onMounted(() => {
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
- <el-col :xs="24" :sm="12" :md="3">
|
|
|
|
|
|
|
+ <el-col :xs="24" :sm="12" :md="2">
|
|
|
<div class="mb-4">
|
|
<div class="mb-4">
|
|
|
<label class="block text-sm font-medium text-gray-700 mb-2">楼栋</label>
|
|
<label class="block text-sm font-medium text-gray-700 mb-2">楼栋</label>
|
|
|
<el-input-number
|
|
<el-input-number
|
|
@@ -377,7 +380,7 @@ onMounted(() => {
|
|
|
/>
|
|
/>
|
|
|
</div>
|
|
</div>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
- <el-col :xs="24" :sm="12" :md="3">
|
|
|
|
|
|
|
+ <el-col :xs="24" :sm="12" :md="2">
|
|
|
<div class="mb-4">
|
|
<div class="mb-4">
|
|
|
<label class="block text-sm font-medium text-gray-700 mb-2">楼层</label>
|
|
<label class="block text-sm font-medium text-gray-700 mb-2">楼层</label>
|
|
|
<el-input-number
|
|
<el-input-number
|
|
@@ -391,6 +394,22 @@ onMounted(() => {
|
|
|
/>
|
|
/>
|
|
|
</div>
|
|
</div>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
+
|
|
|
|
|
+ <el-col :xs="24" :sm="12" :md="2">
|
|
|
|
|
+ <div class="mb-4">
|
|
|
|
|
+ <label class="block text-sm font-medium text-gray-700 mb-2">房号</label>
|
|
|
|
|
+ <el-input-number
|
|
|
|
|
+ v-model="filters.houseName"
|
|
|
|
|
+ placeholder="房号"
|
|
|
|
|
+ :min="1"
|
|
|
|
|
+ :max="9999"
|
|
|
|
|
+ class="w-full"
|
|
|
|
|
+ controls-position="right"
|
|
|
|
|
+ size="default"
|
|
|
|
|
+ />
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+
|
|
|
<el-col :xs="24" :sm="12" :md="6" style="display: flex">
|
|
<el-col :xs="24" :sm="12" :md="6" style="display: flex">
|
|
|
<div class="mb-4 flex items-end">
|
|
<div class="mb-4 flex items-end">
|
|
|
<el-button
|
|
<el-button
|