Browse Source

房间设施检查不显示问题

dev
mk 3 weeks ago
parent
commit
7ad2f57cab
  1. 20
      pagesA/checkout/detail/detail.vue

20
pagesA/checkout/detail/detail.vue

@ -29,7 +29,7 @@
</view>
<!-- 设备检查 -->
<view class="section-card">
<view class="section-title">设备检查</view>
<view class="section-title">房间设施检查</view>
<view
v-for="(item, idx) in deviceList"
:key="item.name"
@ -193,15 +193,15 @@ export default {
const detail = uni.getStorageSync("checkoutDetail");
this.info = detail;
loadCheckOutDetail({ idCard: options.idCard }).then((res) => {
this.deviceList = res.data.facilitiesCheckResults.map((v) => ({
name: v.facilityName,
id: v.facilityId,
facilityStatus: v.checkResult,
}));
console.log("dev", this.deviceList);
this.checkStatus = this.deviceList.map((v) =>
v.facilityStatus.toString()
);
// this.deviceList = res.data.facilitiesCheckResults.map((v) => ({
// name: v.facilityName,
// id: v.facilityId,
// facilityStatus: v.checkResult,
// }));
// console.log("dev", this.deviceList);
// this.checkStatus = this.deviceList.map((v) =>
// v.facilityStatus.toString()
// );
this.waterMeterValue = res.data.waterMeterValue;
this.energyMeterValue = res.data.energyMeterValue;
this.facilitiesCheckDesc = res.data.facilitiesCheckDesc;

Loading…
Cancel
Save