新增数据,开始安全巡检模块

This commit is contained in:
Zy
2026-04-17 19:39:21 +08:00
parent 4184f1c55d
commit 9a95e2b7e3
74 changed files with 1942 additions and 403 deletions

View File

@@ -2,14 +2,13 @@
<div class="TableBox p-5 h-full" v-if="houseStore.currentHouseInfoList !== null">
<el-checkbox-group @change="handleChangeCheckhouses" v-model="houseStore.checkoutHouses">
<el-table border :data="houseStore.currentFloorInfoList">
<el-table-column align="center" fixed label="楼层\单元" min-width="85">
<el-table-column align="center" fixed label="楼层\单元" max-width="100">
<template #default="{ row }">
<span>{{ row }}</span>
</template>
</el-table-column>
<el-table-column
min-width="160"
class="column"
align="center"
:label="`${unit.unitNo}单元`"
v-for="(unit, index) in houseStore.currentHouseInfoList?.units ?? []"
@@ -74,11 +73,8 @@ function contextMenuFun(val: { type: string; value: string }) {
<style scoped lang="scss">
.TableBox {
overflow: hidden;
flex: 1;
.column {
width: 200px;
background-color: red;
.el-table {
height: calc(100% - 500px);
}
}
</style>

View File

@@ -77,6 +77,8 @@ $primary_color: #1978fe;
}
.UnitBody {
flex: 1;
overflow-x: hidden;
overflow-y: auto;
}
}
</style>