From 57c140de40d75af475f5a1accc693172ffaaaf0d Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期二, 24 九月 2024 09:15:06 +0800
Subject: [PATCH] ll
---
h5/pages/driver/taskDetail.vue | 25 +++++++++++--------------
1 files changed, 11 insertions(+), 14 deletions(-)
diff --git a/h5/pages/driver/taskDetail.vue b/h5/pages/driver/taskDetail.vue
index 42af4cd..6f15732 100644
--- a/h5/pages/driver/taskDetail.vue
+++ b/h5/pages/driver/taskDetail.vue
@@ -188,8 +188,10 @@
status: '0'
},
jobId: '',
- lat: '',
- lnt: '',
+ // lat: '',
+ // lnt: '',
+ lat: '31.783205',
+ lnt: '117.262635',
nowTime: '',
signDistance: uni.getStorageSync('driverGuide').signDistance,
showDetail: false,
@@ -197,17 +199,12 @@
},
onLoad(option) {
this.jobId = option.id
- if(option.status && option.status == '1'){
- this.getLocation()
- }else{
- this.getDetail()
- }
-
- // this.getDetail({
- // jobId: option.id,
- // lat: 31.769137,
- // lnt: 117.232241,
- // })
+ // if(option.status && option.status == '1'){
+ // this.getLocation()
+ // }else{
+ // this.getDetail()
+ // }
+ this.getDetail()
setInterval(() => {
this.nowTime = dayjs().format('HH:mm:ss')
})
@@ -243,7 +240,7 @@
this.getDetail()
},
fail:(err) => {
- console.log('err', err);
+ this.showToast('鑾峰彇瀹氫綅澶辫触')
}
})
},
--
Gitblit v1.9.3