更新
This commit is contained in:
parent
903cdffb4f
commit
12071366b6
@ -47,7 +47,8 @@
|
|||||||
|
|
||||||
</view>
|
</view>
|
||||||
<mybtn v-if="status==1" @click="getFn" text="抵达地点(中转站) 1/2"></mybtn>
|
<mybtn v-if="status==1" @click="getFn" text="抵达地点(中转站) 1/2"></mybtn>
|
||||||
<mybtn v-else @click="getFn" text="抵达地点(终点) 2/2"></mybtn>
|
<mybtn v-else-if="status==2" @click="getFn" text="抵达地点(终点) 2/2"></mybtn>
|
||||||
|
<mybtn v-else-if="status==3" text="任务已完成" my_btn_disabled></mybtn>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
@ -122,6 +123,7 @@ import { Toast } from "../../libs/uniApi";
|
|||||||
}
|
}
|
||||||
if(res.data.extend?.update?.transfer?.lnglat[0]){
|
if(res.data.extend?.update?.transfer?.lnglat[0]){
|
||||||
this.address.transfer['status'] = 2;
|
this.address.transfer['status'] = 2;
|
||||||
|
this.status = 3;
|
||||||
}else this.address.transfer['status'] = 1;
|
}else this.address.transfer['status'] = 1;
|
||||||
},
|
},
|
||||||
// 位置
|
// 位置
|
||||||
|
Loading…
x
Reference in New Issue
Block a user