@@ -28,7 +28,7 @@
>
跳过
</van-button>
- <van-button v-if="i === 0" type="info" size="small" @click="nextItem">
+ <van-button type="info" size="small" @click="() => nextItem(item.id)">
完成
<van-button
@@ -337,12 +337,14 @@ export default {
});
},
- nextItem() {
+ nextItem(id) {
Dialog.confirm({
message: "该服务是否已完成?",
confirmButtonColor: "#2a7ef4",
}).then(() => {
- nextone().then(() => {
+ nextone({
+ id
+ }).then(() => {
this.reloadOrder();