小程序保安录入增加新字段

This commit is contained in:
wangyilin 2024-12-24 13:40:14 +08:00
parent b498335108
commit 8801a0937a
4 changed files with 12 additions and 7 deletions

View File

@ -15,15 +15,15 @@
</view> </view>
<view class="itemSchool"> <view class="itemSchool">
<text>服务项目</text> <text>服务项目</text>
<text> 13123 </text> <text> 1 </text>
</view> </view>
<view class="itemSchool"> <view class="itemSchool">
<text>有保安证人员</text> <text>有保安证人员</text>
<text> 1000</text> <text> 6</text>
</view> </view>
<view class="itemSchool"> <view class="itemSchool">
<text>无保安证人员</text> <text>无保安证人员</text>
<text> 140</text> <text> 3</text>
</view> </view>
</view> </view>
<view class="swiperDemoItem"> <view class="swiperDemoItem">

View File

@ -28,7 +28,6 @@
.projectDetailsTableDrop { .projectDetailsTableDrop {
height: 80%; height: 80%;
.projectDetailsTable { .projectDetailsTable {
margin: 20px; margin: 20px;
border-radius: 10px; border-radius: 10px;
@ -58,7 +57,13 @@
} }
} }
} }
.placeholder{
height: 180px;
}
} }
//.projectDetailsTable:last-child {
// padding-bottom: 180px;
//}
.projectDetailsButton { .projectDetailsButton {
position: fixed; position: fixed;

View File

@ -77,8 +77,8 @@
</view> </view>
</view> </view>
</view> </view>
</view> </view>
<view class="placeholder"></view>
</scroll-view> </scroll-view>
</view> </view>
<view class="projectDetailsButton"> <view class="projectDetailsButton">

View File

@ -167,12 +167,12 @@ useLoad((options) => {
} }
} else { } else {
const form = JSON.parse(options.securityUser) const form = JSON.parse(options.securityUser)
educationLevelValue.value = form.educationLevel.label educationLevelValue.value = form.educationLevel?.label
formData.value = Object.assign({}, form, { formData.value = Object.assign({}, form, {
idCard: form.idCard.originalValue, idCard: form.idCard.originalValue,
telephone: form.telephone.originalValue, telephone: form.telephone.originalValue,
photo: form.photo, photo: form.photo,
educationLevel: form.educationLevel.value educationLevel: form.educationLevel?.value
}) })
} }
}) })