巡检信息
This commit is contained in:
@@ -38,15 +38,16 @@
|
||||
</view>
|
||||
<view class="inspection_info_upload_box">
|
||||
<view class="header"> <text>巡检结果</text> </view>
|
||||
<view :key="index" v-for="(item, index) in baseFormData">
|
||||
<view class="" style="margin-bottom: 20rpx"> {{ item.name }} </view>
|
||||
<uni-forms :modelValue="item" :rules="rules" label-position="left" label-width="130">
|
||||
<view class="info_body" :key="index" v-for="(item, index) in baseFormData">
|
||||
<view class="info_title" style="margin-bottom: 20rpx"> {{ item.name }} </view>
|
||||
<uni-forms :modelValue="item" :rules="rules" label-position="left" label-width="150rpx">
|
||||
<uni-forms-item label="巡检状态" required>
|
||||
<uni-data-checkbox v-model="item.status" :localdata="statuslist" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="巡检描述">
|
||||
<uni-easyinput
|
||||
:input-border="false"
|
||||
type="textarea"
|
||||
:input-border="true"
|
||||
v-model="item.desition"
|
||||
placeholder="请输入"
|
||||
></uni-easyinput>
|
||||
@@ -173,11 +174,15 @@ const rules = {
|
||||
line-height: 40rpx;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
.info_body {
|
||||
margin-bottom: 40rpx;
|
||||
}
|
||||
.info_title {
|
||||
font-weight: 550;
|
||||
}
|
||||
.line {
|
||||
width: 100%;
|
||||
height: 0;
|
||||
border: 2rpx dashed #ccc;
|
||||
margin-bottom: 20rpx;
|
||||
border: 1rpx dashed #ccc;
|
||||
}
|
||||
.filePicker {
|
||||
width: 160rpx;
|
||||
|
||||
Reference in New Issue
Block a user