From da08e2abfca0e32e36b27c17cbd298e9ea71fde5 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: Thu, 10 Nov 2022 14:53:17 +0800
Subject: [PATCH] =?UTF-8?q?=E5=B1=8F=E8=94=BD=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/service/service-property.vue | 10 +++++-----
pages/machine/machine.vue | 7 ++++---
pages/machine/machineInspection.vue | 2 +-
pages/machine/machineMaintainance.vue | 2 +-
4 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/components/service/service-property.vue b/components/service/service-property.vue
index c467ed4..91195ff 100644
--- a/components/service/service-property.vue
+++ b/components/service/service-property.vue
@@ -140,11 +140,11 @@
src: this.imgUrl + '/h5/images/serve/order4.png',
href: '/pages/appointment/appointment'
},
- // {
- // name: '设备',
- // src: this.imgUrl + '/h5/images/serve/order4.png',
- // href: '/pages/machine/machine?machineId=102022110791780032&communityId=2022110264250009'
- // },
+ {
+ name: '设备',
+ src: this.imgUrl + '/h5/images/serve/order4.png',
+ href: '/pages/machine/machine?machineId=102022110791780032&communityId=2022110264250009'
+ },
];
}
}
diff --git a/pages/machine/machine.vue b/pages/machine/machine.vue
index c08153e..480fa87 100644
--- a/pages/machine/machine.vue
+++ b/pages/machine/machine.vue
@@ -92,7 +92,7 @@
{{equipmentAccountDetail.usefulLife}}
-
+
@@ -192,7 +192,8 @@
getMachines({
page:1,
row:1,
- machineId:this.machineId
+ machineId:this.machineId,
+ communityId:this.communityId
}).then(_data=>{
if(_data.data.length < 1){
return ;
diff --git a/pages/machine/machineInspection.vue b/pages/machine/machineInspection.vue
index a80347e..951ec5c 100644
--- a/pages/machine/machineInspection.vue
+++ b/pages/machine/machineInspection.vue
@@ -80,7 +80,7 @@
communityId: this.communityId,
state:'20200407'
}).then(_data=>{
- _that.details = _data.data;
+ _that.details = _data.inspectionTaskDetails;
})
}
}
diff --git a/pages/machine/machineMaintainance.vue b/pages/machine/machineMaintainance.vue
index fda15f5..3cc1134 100644
--- a/pages/machine/machineMaintainance.vue
+++ b/pages/machine/machineMaintainance.vue
@@ -88,7 +88,7 @@
communityId: this.communityId,
state:'20200407'
}).then(_data=>{
- _that.details = _data.inspectionTaskDetails;
+ _that.details = _data.data;
})
}
}