Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-insurance
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.frontend
pica-insurance
提交
b155d4ca
提交
b155d4ca
编写于
2月 22, 2023
作者:
张敬贤
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'feature/zjx' into 'develop'
Feature/zjx See merge request
!62
上级
c90c5adf
9aac7998
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
15 行增加
和
11 行删除
+15
-11
index.vue
src/views/appoint/index.vue
+13
-9
index.vue
src/views/appointDetails/index.vue
+2
-2
未找到文件。
src/views/appoint/index.vue
浏览文件 @
b155d4ca
...
@@ -314,15 +314,19 @@ export default {
...
@@ -314,15 +314,19 @@ export default {
// 高德地图导航只有在线上环境才能使用
// 高德地图导航只有在线上环境才能使用
initMap
()
{
initMap
()
{
const
result
=
store
.
get
(
'geolocation'
);
const
result
=
store
.
get
(
'geolocation'
);
console
.
log
(
'geolocation'
,
result
);
if
(
!
result
)
{
this
.
position
.
latitude
=
result
.
lat
||
''
;
console
.
log
(
'geolocation'
,
result
);
this
.
position
.
longitude
=
result
.
lng
||
''
;
this
.
position
.
latitude
=
result
.
lat
||
''
;
const
data
=
{
this
.
position
.
longitude
=
result
.
lng
||
''
;
projectEquityNo
:
'CX202302091000154321'
,
const
data
=
{
latitude
:
31.294106
,
projectEquityNo
:
this
.
projectEquityNo
,
longitude
:
121.294106
,
latitude
:
this
.
position
.
latitude
,
};
longitude
:
this
.
position
.
longitude
,
this
.
getHospitalList
(
data
);
};
this
.
getHospitalList
(
data
);
}
},
},
// 根据坐标获取最近的机构id
// 根据坐标获取最近的机构id
getHospitalList
(
data
)
{
getHospitalList
(
data
)
{
...
...
src/views/appointDetails/index.vue
浏览文件 @
b155d4ca
...
@@ -229,7 +229,7 @@ export default {
...
@@ -229,7 +229,7 @@ export default {
case
2
:
case
2
:
// https://lbs.qq.com/webApi/uriV1/uriGuide/uriWebMarker api地址
// https://lbs.qq.com/webApi/uriV1/uriGuide/uriWebMarker api地址
// https://apis.map.qq.com/uri/v1/routeplan?type=bus&from=我的家&fromcoord=39.980683,116.302&to=中关村&tocoord=39.9836,116.3164&policy=1&referer=OB4BZ-D4W3U-B7VVO-4PJWW-6TKDJ-WPB77
// https://apis.map.qq.com/uri/v1/routeplan?type=bus&from=我的家&fromcoord=39.980683,116.302&to=中关村&tocoord=39.9836,116.3164&policy=1&referer=OB4BZ-D4W3U-B7VVO-4PJWW-6TKDJ-WPB77
url
=
`https://apis.map.qq.com/uri/v1/routeplan?type=drive&from=
${
geolocation
.
addr
}
&fromcoord=
${
geolocation
.
lat
}
,
${
geolocation
.
lng
}
&to=
${
hospitalName
}
&tocoord=
${
latitude
}
,
${
longitude
}
&policy=0&referer=
GCUBZ-6O6K3-VVB3E-3PNKF-HY77K-G6BTN
`
;
url
=
`https://apis.map.qq.com/uri/v1/routeplan?type=drive&from=
${
geolocation
.
addr
}
&fromcoord=
${
geolocation
.
lat
}
,
${
geolocation
.
lng
}
&to=
${
hospitalName
}
&tocoord=
${
latitude
}
,
${
longitude
}
&policy=0&referer=
DJ6BZ-AU6E2-XMJUH-CZVD6-T2WQV-27F3S
`
;
break
;
break
;
case
3
:
case
3
:
// https://lbsyun.baidu.com/index.php?title=uri/api/web
// https://lbsyun.baidu.com/index.php?title=uri/api/web
...
@@ -248,7 +248,7 @@ export default {
...
@@ -248,7 +248,7 @@ export default {
break
;
break
;
case
2
:
case
2
:
// https://lbs.qq.com/webApi/uriV1/uriGuide/uriWebMarker api地址
// https://lbs.qq.com/webApi/uriV1/uriGuide/uriWebMarker api地址
url
=
'https://apis.map.qq.com/uri/v1/geocoder?coord='
+
latitude
+
','
+
longitude
+
'&referer=
GCUBZ-6O6K3-VVB3E-3PNKF-HY77K-G6BTN
'
;
url
=
'https://apis.map.qq.com/uri/v1/geocoder?coord='
+
latitude
+
','
+
longitude
+
'&referer=
DJ6BZ-AU6E2-XMJUH-CZVD6-T2WQV-27F3S
'
;
break
;
break
;
case
3
:
case
3
:
// https://lbsyun.baidu.com/index.php?title=uri/api/web api地址
// https://lbsyun.baidu.com/index.php?title=uri/api/web api地址
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录