|
@@ -68,7 +68,7 @@
|
|
</u-cell-group>
|
|
</u-cell-group>
|
|
<!-- 按钮 -->
|
|
<!-- 按钮 -->
|
|
<view class="button">
|
|
<view class="button">
|
|
- <button class="edit">编辑订单</button>
|
|
|
|
|
|
+ <button class="edit" @click="editOrder(id)">编辑订单</button>
|
|
<button class="goRoom">办理入住</button>
|
|
<button class="goRoom">办理入住</button>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -96,7 +96,7 @@
|
|
// console.log(res)
|
|
// console.log(res)
|
|
if(res.data.code==0){
|
|
if(res.data.code==0){
|
|
this.orderInfo = res.data.data
|
|
this.orderInfo = res.data.data
|
|
- console.log(this.orderInfo)
|
|
|
|
|
|
+ // console.log(this.orderInfo)
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|
|
@@ -116,11 +116,16 @@
|
|
return '状态异常'
|
|
return '状态异常'
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- goStayCheck(){
|
|
|
|
|
|
+ goStayCheck(id){
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
url: '/pages/house/stayCheck'
|
|
url: '/pages/house/stayCheck'
|
|
})
|
|
})
|
|
// console.log(1111)
|
|
// console.log(1111)
|
|
|
|
+ },
|
|
|
|
+ editOrder(id){
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url:`/pages/house/stayCheck?id=${this.orderId}`
|
|
|
|
+ })
|
|
}
|
|
}
|
|
},
|
|
},
|
|
computed:{
|
|
computed:{
|