新增数据,开始安全巡检模块
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -77,6 +77,8 @@ $primary_color: #1978fe;
|
||||
}
|
||||
.UnitBody {
|
||||
flex: 1;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user