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
提交
0ac2d150
提交
0ac2d150
编写于
2月 21, 2023
作者:
张磊
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add all entrance for insurance
上级
523a7411
变更
6
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
29 行增加
和
6 行删除
+29
-6
index.vue
src/components/selectTime/index.vue
+2
-2
index.vue
src/views/appoint/index.vue
+1
-1
index.vue
src/views/appointDetails/index.vue
+19
-0
index.vue
src/views/home/index.vue
+2
-1
index.vue
src/views/insurance-question-back/index.vue
+1
-0
insuranceQuestionResult.vue
...ews/insurance-question-result/insuranceQuestionResult.vue
+4
-2
未找到文件。
src/components/selectTime/index.vue
浏览文件 @
0ac2d150
...
...
@@ -154,10 +154,10 @@ export default {
},
selectTimeB
(
item
)
{
// 约满禁止预约
if
(
!
this
.
currentItem
[
item
])
{
if
(
this
.
currentItem
[
item
+
'AppointmentFlag'
])
{
return
;
}
this
.
selectTimeBucket
=
item
===
'am
TimeBegin
'
?
this
.
currentItem
[
'amTimeBegin'
]
:
this
.
currentItem
[
'pmTimeBegin'
];
this
.
selectTimeBucket
=
item
===
'am'
?
this
.
currentItem
[
'amTimeBegin'
]
:
this
.
currentItem
[
'pmTimeBegin'
];
this
.
selectItem
();
}
}
...
...
src/views/appoint/index.vue
浏览文件 @
0ac2d150
...
...
@@ -40,7 +40,7 @@
},
{
pattern: /^.{2,20}$/,
message: '
收货
人姓名请填写2-20位',
message: '
受检
人姓名请填写2-20位',
},]"
/>
<van-field
...
...
src/views/appointDetails/index.vue
浏览文件 @
0ac2d150
...
...
@@ -230,6 +230,25 @@ export default {
if
(
geolocation
&&
geolocation
.
lat
&&
geolocation
.
lng
)
{
// https://uri.amap.com/navigation
switch
(
item
.
value
)
{
case
1
:
// https://lbs.amap.com/api/uri-api/guide/mobile-web/point api地址
url
=
'https://uri.amap.com/marker?&name='
+
hospitalName
+
'&position='
+
longitude
+
','
+
latitude
+
'&callnative=1'
;
break
;
case
2
:
// https://lbs.qq.com/webApi/uriV1/uriGuide/uriWebMarker api地址
url
=
'https://apis.map.qq.com/uri/v1/geocoder?coord='
+
latitude
+
','
+
longitude
+
'&referer=PICA'
;
break
;
case
3
:
// http://api.map.baidu.com/direction?origin=latlng:34.264642646862,108.95108518068|name:我家&destination=大雁塔&mode=driving®ion=西安&output=html&src=webapp.baidu.openAPIdemo
// https://lbsyun.baidu.com/index.php?title=uri/api/web api地址
url
=
'http://api.map.baidu.com/direction?origin=latlng:'
+
latitude
+
','
+
longitude
+
'&destination='
+
geolocation
.
lat
+
','
+
geolocation
.
lng
+
+
'&output=html&src=webapp.baidu.openAPIdemo&coord_type=bd09ll'
;
break
;
default
:
url
=
'https://uri.amap.com/marker?&name='
+
hospitalName
+
'&position='
+
longitude
+
','
+
latitude
+
'&callnative=1'
;
break
;
}
}
else
{
console
.
log
(
item
);
switch
(
item
.
value
)
{
...
...
src/views/home/index.vue
浏览文件 @
0ac2d150
...
...
@@ -81,8 +81,9 @@ export default {
this
.
yunOrderNo
=
res
.
data
.
yunOrderNo
;
this
.
query
.
yunOrderNo
=
res
.
data
.
yunOrderNo
;
this
.
status
=
res
.
data
.
status
;
this
.
status
=
'0102'
;
this
.
getDetectionName
(
this
.
yunOrderNo
);
switch
(
res
.
data
.
status
)
{
switch
(
this
.
status
)
{
case
'0101'
:
window
.
location
.
href
=
res
.
data
.
questionnaireUrl
;
break
;
...
...
src/views/insurance-question-back/index.vue
浏览文件 @
0ac2d150
...
...
@@ -105,6 +105,7 @@ export default {
padding
:
0
16px
;
color
:
#676869
;
text-align
:
center
;
overflow
:
auto
;
.icon-item
{
width
:
57px
;
height
:
65px
;
...
...
src/views/insurance-question-result/insuranceQuestionResult.vue
浏览文件 @
0ac2d150
...
...
@@ -53,7 +53,7 @@
@
click=
"toAppoint"
>
{{
statusMap
(
detailInfo
.
status
)
||
'免费预约检测'
}}
{{
buttonText
||
'免费预约检测'
}}
</div>
<div
class=
"tips"
>
注:该问卷评估结果仅供填写人自行参考。
...
...
@@ -84,7 +84,8 @@ export default {
yunOrderNo
:
''
,
status
:
null
,
query
:
{},
buttonStatus
:
false
buttonStatus
:
false
,
buttonText
:
''
};
},
...
...
@@ -123,6 +124,7 @@ export default {
getButtonStatus
(
yunOrderNo
).
then
(
res
=>
{
console
.
log
(
res
);
this
.
buttonStatus
=
res
.
data
.
buttonStatus
;
this
.
buttonText
=
res
.
data
.
statusDesc
;
});
}
},
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录