This commit is contained in:
liuye
2021-12-30 19:18:10 +08:00
2 changed files with 13 additions and 7 deletions

View File

@@ -182,10 +182,15 @@ export default {
params: {communityId, size: 999}
}).then(res => {
if (res?.data) {
this.selectList = res.data.records.map(e => ({
this.selectList = []
res.data.records.forEach(e => {
for (let i = 0; i < e.unitNumber; i++) {
this.selectList.push({
...e,
cellName: `${e.communityName + e.buildingNumber}${e.unitNumber}单元`
}))
cellName: `${e.communityName + e.buildingNumber}${i+1}单元`
})
}
})
}
})
},
@@ -531,6 +536,7 @@ export default {
bottom: 0;
left: 0;
}
.pad-b112 {
padding-bottom: 112px;
}

View File

@@ -298,7 +298,7 @@ export default {
width: 100vw;
display: flex;
text-align: center;
height: 88px;
height: 112px;
font-size: 34px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
@@ -307,7 +307,7 @@ export default {
& > div {
padding: 0 92px;
line-height: 88px;
line-height: 112px;
border-top: 1px solid #A0C0FF;
&.primary {