提交 3d339b3f 编写于 作者: 张敬贤's avatar 张敬贤

add

上级 f910e5fd
...@@ -322,8 +322,8 @@ export default { ...@@ -322,8 +322,8 @@ export default {
}); });
geolocation.getCurrentPosition((status, result) => { geolocation.getCurrentPosition((status, result) => {
console.log('geolocation,', status, result); console.log('geolocation,', status, result);
that.position.latitude = result.position.lat; that.position.latitude = result.position.lat || '';
that.position.longitude = result.position.lng; that.position.longitude = result.position.lng || '';
const data = { const data = {
projectEquityNo: that.projectEquityNo, projectEquityNo: that.projectEquityNo,
latitude: that.position.latitude, latitude: that.position.latitude,
......
...@@ -122,6 +122,14 @@ ...@@ -122,6 +122,14 @@
> >
重新预约 重新预约
</div> </div>
<van-action-sheet
v-model="showSsheet"
:actions="actions"
cancel-text="取消"
close-on-click-action
@cancel="onCancel"
@select="selectItem"
/>
</div> </div>
</template> </template>
...@@ -133,13 +141,15 @@ export default { ...@@ -133,13 +141,15 @@ export default {
return { return {
picaWechat:window._picaWechat, picaWechat:window._picaWechat,
headerInfo: { headerInfo: {
title: '检测服务', title: '预约详情',
isBlack: true, isBlack: true,
backMethod: 'web', backMethod: 'web',
style: 'backgroundColor:#ffffff;zIndex:100;', style: 'backgroundColor:#ffffff;zIndex:100;',
background: '', background: '',
}, },
actions: [{ name: '高德地图' }, { name: '腾讯地图' }, { name: '百度地图' }],
detailInfo: {}, detailInfo: {},
showSsheet:false,
yunOrderNo: '', yunOrderNo: '',
query:{}, query:{},
// 状态 0=待预约,1=已预约 ,2=已出报告 4=已取消 5=已过期 // 状态 0=待预约,1=已预约 ,2=已出报告 4=已取消 5=已过期
...@@ -179,8 +189,19 @@ export default { ...@@ -179,8 +189,19 @@ export default {
}, },
reAppoint() { reAppoint() {
},
selectItem() {
const address = '上海市浦东新区兰花路333';
const url = 'https://uri.amap.com/marker?&name=' + address + '&callnative=1';
window.open(url);
}, },
bindingCode() { bindingCode() {
this.$router.push({
path:'/insuranceBindCode'
});
},
navigation() {
this.showSsheet = true;
}, },
// 复制快递单号 // 复制快递单号
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册