仪表换新接口添加小区id
This commit is contained in:
@@ -113,7 +113,11 @@ function handleSubmit() {
|
||||
title: '选择房屋'
|
||||
})
|
||||
}
|
||||
AddReplaceMainList(formData.value)
|
||||
const { villageId } = JSON.parse(uni.getStorageSync('currentVillage'))
|
||||
AddReplaceMainList({
|
||||
villageId,
|
||||
...formData.value
|
||||
})
|
||||
.then(() => {
|
||||
uni.showToast({
|
||||
icon: 'success',
|
||||
|
||||
@@ -17,15 +17,18 @@
|
||||
v-for="(item, index) in infolist"
|
||||
:key="index"
|
||||
>
|
||||
<view class="flex items-center">
|
||||
<image lazy-load src="/static/imgs/home.png" class="icon" mode=""></image>
|
||||
<view class="instrument_info">
|
||||
<view class="instrument_title">
|
||||
<text>{{ item.addressCn }}</text>
|
||||
</view>
|
||||
<view class="instrument_time">
|
||||
<text>换新时间时间:{{ item.createTime }}</text>
|
||||
</view>
|
||||
<image lazy-load src="/static/imgs/home.png" class="icon" mode=""></image>
|
||||
<view class="flex-1 instrument_info">
|
||||
<view class="instrument_title">
|
||||
<text>{{ item.addressCn }}</text>
|
||||
<text v-if="item.addressHyphen">({{ item.addressHyphen }})</text>
|
||||
</view>
|
||||
<view class="instrument_time">
|
||||
<text>换新时间时间:{{ item.createTime }}</text>
|
||||
</view>
|
||||
<view class="instrument_time">
|
||||
<text>更换设备为:</text>
|
||||
<text>{{ item.deviceCode }}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="instrument_type">
|
||||
@@ -192,9 +195,12 @@ function handleClick() {
|
||||
.icon {
|
||||
width: 40rpx;
|
||||
height: 32rpx;
|
||||
min-width: 40rpx;
|
||||
}
|
||||
.instrument_info {
|
||||
flex: 1;
|
||||
margin-left: 22rpx;
|
||||
overflow: hidden;
|
||||
.instrument_title {
|
||||
font-weight: 550;
|
||||
font-size: 32rpx;
|
||||
@@ -206,10 +212,12 @@ function handleClick() {
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
color: #666666;
|
||||
text-wrap: wrap;
|
||||
line-height: 30rpx;
|
||||
}
|
||||
}
|
||||
.instrument_type {
|
||||
min-width: 50rpx;
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
color: #4d5dfa;
|
||||
|
||||
Reference in New Issue
Block a user