tianyi 2 weeks ago
parent
commit
2dd7653506
  1. 6
      pages/index/index.vue

6
pages/index/index.vue

@ -1339,7 +1339,6 @@
this.checkYongjin = false
this.searchForm.order = ''
}
console.log("shuaxin")
this.searchForm.pageNum = 1
this.getDelivery();
},
@ -1350,16 +1349,13 @@
type: 'gcj02', //
isHighAccuracy:true,
success: (res) => {
console.log('位置', res)
that.latitude = res.latitude;
that.longitude = res.longitude;
that.tui.request('/worker/admin/editLocation', "POST", {workerId:id,geolocation:that.latitude + ',' + that.longitude}, false, false,true).then((res) => {
}).catch((res) => {});
},
fail: (err) => {
console.log('获取位置失败', err);
}
fail: (err) => {}
});
},
checkTab1(type) {

Loading…
Cancel
Save