Commit a44c4882 authored by Damon's avatar Damon

完工校验

parent e26f4273
...@@ -162,6 +162,7 @@ ...@@ -162,6 +162,7 @@
waitHandlerPanelIndex: 0, waitHandlerPanelIndex: 0,
waitHandlerGroupIndex: 0, waitHandlerGroupIndex: 0,
waitHandlerEleIndex: 0, waitHandlerEleIndex: 0,
pass: false,
} }
}, },
components: { components: {
...@@ -311,8 +312,8 @@ ...@@ -311,8 +312,8 @@
return pass return pass
}, },
confirm(){// 检查结果窗口 确认回调 confirm(){// 检查结果窗口 确认回调
uni.navigateTo({ uni.switchTab({
url: 'pages/index/order' url: '/pages/index/order'
}) })
}, },
closeCheckResult(){// 检查结果窗口取消回调 closeCheckResult(){// 检查结果窗口取消回调
...@@ -338,6 +339,7 @@ ...@@ -338,6 +339,7 @@
self.completeCheckStatus = true self.completeCheckStatus = true
}else{ }else{
console.log("完工"); console.log("完工");
this.pass = pass
if(self.inGuaranteePeriod === 'Y'){ if(self.inGuaranteePeriod === 'Y'){
self.$u.api.inOrderFinish(self.orderId).then((res)=>{ self.$u.api.inOrderFinish(self.orderId).then((res)=>{
console.log(res) console.log(res)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment