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
提交
f910e5fd
提交
f910e5fd
编写于
2月 17, 2023
作者:
张敬贤
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix
上级
0ee15d9f
变更
5
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
189 行增加
和
95 行删除
+189
-95
index.vue
src/components/selectHospital/index.vue
+25
-8
index.vue
src/views/appoint/index.vue
+35
-4
index.vue
src/views/appointDetails/index.vue
+20
-6
index.vue
src/views/insurance-question-back/index.vue
+39
-25
insuranceQuestionResult.vue
...ews/insurance-question-result/insuranceQuestionResult.vue
+70
-52
未找到文件。
src/components/selectHospital/index.vue
浏览文件 @
f910e5fd
...
...
@@ -92,6 +92,10 @@ export default {
projectEquityNo
:
{
type
:
String
,
default
:()
=>
''
},
externalData
:
{
type
:
Object
,
default
:()
=>
null
}
},
data
()
{
...
...
@@ -105,6 +109,15 @@ export default {
searchValue
:
''
,
};
},
watch
:
{
externalData
:
{
handler
(
nv
)
{
console
.
log
(
'externalData'
,
nv
);
this
.
getHospitalList
(
false
);
},
deep
:
true
}
},
mounted
()
{
this
.
getHospitalList
(
false
);
...
...
@@ -120,9 +133,9 @@ export default {
this
.
pageNum
=
isLoad
?
this
.
pageNum
+
1
:
1
;
const
data
=
{
cityId
:
''
,
countyId
:
''
,
provinceId
:
''
,
cityId
:
this
.
externalData
.
cityId
,
countyId
:
this
.
externalData
.
countyId
,
provinceId
:
this
.
externalData
.
provinceId
,
projectEquityNo
:
this
.
projectEquityNo
,
// pageNum: this.pageNum,
// pageSize: this.pageSize,
...
...
@@ -130,17 +143,21 @@ export default {
};
console
.
log
(
data
);
getHospitalList
(
data
).
then
(
res
=>
{
console
.
log
(
res
.
data
.
list
);
console
.
log
(
'getHospitalList'
,
res
);
if
(
isLoad
)
{
this
.
list
=
[...
this
.
list
,
...
res
.
data
.
list
];
this
.
list
=
[...
this
.
list
,
...
res
.
data
.
data
];
}
else
{
this
.
list
=
res
.
data
.
list
;
this
.
list
=
res
.
data
.
data
;
}
if
(
res
.
data
.
list
.
length
<
this
.
pageSize
)
{
if
(
res
.
data
.
data
.
length
<
this
.
pageSize
)
{
this
.
finished
=
true
;
}
this
.
loading
=
false
;
const
hospitalIdIndex
=
this
.
list
.
findIndex
(
ele
=>
ele
.
hospitalId
===
this
.
hospitalId
);
console
.
log
(
'hospitalIdIndex'
,
hospitalIdIndex
);
if
(
this
.
externalData
.
cityId
&&
this
.
externalData
.
countyId
&&
this
.
externalData
.
provinceId
&&
hospitalIdIndex
==
-
1
)
{
this
.
$emit
(
'clean'
);
}
});
},
selectItem
(
item
)
{
...
...
src/views/appoint/index.vue
浏览文件 @
f910e5fd
<
template
>
<div
class=
"insurance-detection-appoint"
>
<page-model
v-if=
"picaWechat != 'wechat'"
ref=
"PageModel"
:header-info=
"headerInfo"
/>
<div
class=
"wrap"
>
<div
class=
"title-1"
>
检测预约
...
...
@@ -153,11 +158,13 @@
</van-button>
</div>
<SelectHospital
:external-data=
"externalData"
:project-equity-no=
"projectEquityNo"
:show=
"showselectHospital"
:hospital-id=
"hospitalId"
@
change=
"selectHospital"
@
close=
"closePopup"
@
clean=
"cleanHospitalId"
/>
<SelectTime
:hospital-id=
"hospitalId"
...
...
@@ -193,6 +200,14 @@ export default {
},
data
()
{
return
{
picaWechat
:
window
.
_picaWechat
,
headerInfo
:
{
title
:
'检测服务'
,
isBlack
:
true
,
backMethod
:
'web'
,
style
:
'backgroundColor:#ffffff;zIndex:100;'
,
background
:
''
,
},
dectionData
:{},
dectionForm
:
{
detectName
:
''
,
...
...
@@ -235,7 +250,8 @@ export default {
locationAreaCode
:
[],
hospitalId
:
'12746'
,
projectEquityNo
:
''
,
yunOrderNo
:
''
yunOrderNo
:
''
,
externalData
:{}
};
},
computed
:
{
...
...
@@ -328,6 +344,10 @@ export default {
this
.
locationAreaCode
=
[
provinceId
,
cityId
,
countyId
];
this
.
dectionForm
.
hospitalName
=
hospitalName
;
this
.
hospitalId
=
hospitalId
;
this
.
externalData
=
{
...
this
.
position
,
provinceId
,
countyId
,
cityId
};
});
},
// 目前是配置一个检测信息,可能会拓展,所以返回的是一个list
...
...
@@ -407,15 +427,25 @@ export default {
confirm
(
values
)
{
console
.
log
(
'confirm'
,
values
);
this
.
showAreaLabel
=
values
.
map
(
ele
=>
ele
.
name
).
join
(
''
);
this
.
externalData
.
provinceId
=
values
[
0
].
id
;
this
.
externalData
.
countyId
=
values
[
2
].
id
;
this
.
externalData
.
cityId
=
values
[
1
].
id
;
this
.
showArea
=
false
;
},
selectHospital
({
hospitalId
,
hospitalName
})
{
this
.
hospitalId
=
hospitalId
;
this
.
dectionForm
.
hospitalName
=
hospitalName
;
this
.
showselectHospital
=
false
;
},
showAreaFn
()
{
this
.
showArea
=
true
;
},
cleanHospitalId
()
{
console
.
log
(
'cleanHospitalId'
);
this
.
hospitalId
=
''
;
this
.
dectionForm
.
hospitalName
=
''
;
}
},
};
...
...
@@ -428,9 +458,6 @@ export default {
overflow
:
auto
;
box-sizing
:
border-box
;
color
:
#ffffff
;
background
:
url('https://files.yunqueyi.com/image/png/common/20221213160647748.png')
no-repeat
top
left
;
background-size
:
100%
281px
;
.bg-img
{
width
:
100%
;
...
...
@@ -441,6 +468,10 @@ export default {
}
.wrap
{
padding
:
0
12px
;
overflow
:
auto
;
background
:
url('https://files.yunqueyi.com/image/png/common/20221213160647748.png')
no-repeat
top
left
;
background-size
:
100%
281px
;
}
.title-1
{
font-size
:
20px
;
...
...
src/views/appointDetails/index.vue
浏览文件 @
f910e5fd
<
template
>
<div
class=
"insurance-reseach-detail"
>
<page-model
v-if=
"picaWechat != 'wechat'"
ref=
"PageModel"
:header-info=
"headerInfo"
/>
<div
class=
"detail-top"
>
<div
class=
"detail-top-info"
...
...
@@ -74,11 +79,11 @@
class=
"value"
>
{{
detailInfo
.
recordNo
||
"--"
}}
<text
class=
"value-copy"
@
click=
"copyNum()"
>
复制
</text>
class=
"value-copy"
@
click=
"copyNum()"
>
复制
</text>
</div>
</div>
<div
...
...
@@ -126,8 +131,17 @@ import { mapActions, mapGetters } from 'vuex';
export
default
{
data
()
{
return
{
picaWechat
:
window
.
_picaWechat
,
headerInfo
:
{
title
:
'检测服务'
,
isBlack
:
true
,
backMethod
:
'web'
,
style
:
'backgroundColor:#ffffff;zIndex:100;'
,
background
:
''
,
},
detailInfo
:
{},
yunOrderNo
:
''
,
yunOrderNo
:
''
,
query
:{},
// 状态 0=待预约,1=已预约 ,2=已出报告 4=已取消 5=已过期
statusMap
:
{
0
:
'待预约'
,
...
...
src/views/insurance-question-back/index.vue
浏览文件 @
f910e5fd
<
template
>
<div
class=
"insuranceQuestionBack"
>
<div
class=
"icon-item"
>
<img
src=
"https://files.yunqueyi.com/image/png/common/20221213135338128.png"
>
</div>
<div
class=
"font-big"
>
提交成功
</div>
<div
class=
"font-normal"
>
{{
evaluationInfo
.
detectionScoreFlag
==
1
?
'结果计算中...'
:
'您的结果将于次日以短信形式推送,烦请留意!'
}}
</div>
<div
class=
"custom-style"
>
{{
evaluationInfo
.
detectionScoreFlag
==
1
?
'查看结果'
:
'完成'
}}
</div>
<pica-guide-app
:open-web-app=
"true"
:open-web-app-config=
"openWebAppConfig"
:is-need-wx-config=
"false"
<div>
<page-model
v-if=
"picaWechat != 'wechat'"
ref=
"PageModel"
:header-info=
"headerInfo"
/>
<div
class=
"insuranceQuestionBack"
>
<div
class=
"icon-item"
>
<img
src=
"https://files.yunqueyi.com/image/png/common/20221213135338128.png"
>
</div>
<div
class=
"font-big"
>
提交成功
</div>
<div
class=
"font-normal"
>
{{
evaluationInfo
.
detectionScoreFlag
==
1
?
'结果计算中...'
:
'您的结果将于次日以短信形式推送,烦请留意!'
}}
</div>
<div
class=
"custom-style"
>
{{
evaluationInfo
.
detectionScoreFlag
==
1
?
'查看结果'
:
'完成'
}}
</div>
<pica-guide-app
:open-web-app=
"true"
:open-web-app-config=
"openWebAppConfig"
:is-need-wx-config=
"false"
/>
</div>
</div>
</
template
>
...
...
@@ -32,6 +39,14 @@ const { VUE_APP_ENV } = process.env;
export
default
{
data
()
{
return
{
picaWechat
:
window
.
_picaWechat
,
headerInfo
:
{
title
:
'检测服务'
,
isBlack
:
true
,
backMethod
:
'web'
,
style
:
'backgroundColor:#ffffff;zIndex:100;'
,
background
:
''
,
},
openWebAppConfig
:
{
content
:
'<script'
+
...
...
@@ -85,10 +100,9 @@ export default {
<
style
lang=
"scss"
scoped
>
.insuranceQuestionBack
{
width
:
100%
;
height
:
100vh
;
background
:
#ffffff
;
box-sizing
:
border-box
;
padding
:
20px
16px
;
padding
:
0
16px
;
color
:
#676869
;
text-align
:
center
;
.icon-item
{
...
...
src/views/insurance-question-result/insuranceQuestionResult.vue
浏览文件 @
f910e5fd
<
template
>
<div
class=
"insuranceQuestionResult"
>
<div
class=
"icon-item"
>
<img
:src=
"
!needDetect
? 'https://files.yunqueyi.com/image/png/common/20221213144514273.png'
: 'https://files.yunqueyi.com/image/png/common/20221213144810625.png'
"
<div
class=
"insuranceQuestionResult-box"
>
<page-model
v-if=
"picaWechat != 'wechat'"
ref=
"PageModel"
:header-info=
"headerInfo"
/>
<div
class=
"insuranceQuestionResult"
>
<div
class=
"icon-item"
>
<img
:src=
"
!needDetect
? 'https://files.yunqueyi.com/image/png/common/20221213144514273.png'
: 'https://files.yunqueyi.com/image/png/common/20221213144810625.png'
"
>
</div>
<div
class=
"font-big"
:class=
"needDetect && 'green'"
>
</div>
<div
class=
"font-big"
:class=
"needDetect && 'green'"
>
{{
!
needDetect
?
'建议领用'
:
'暂无需领用'
}}
</div>
<div
class=
"font-normal"
>
{{
!
needDetect
?
'参照本次评估结果,建议您接受防癌早筛检测。坚持良好生活方式,定期接受体检,关注个人健康'
:
'参照本次评估结果,建议您可暂不进行防癌早筛检测。坚持良好生活方式,定期接受体检,关注个人健康。'
}}
</div>
<div
v-if=
"!needDetect"
class=
"advise"
>
<div
class=
"fs"
>
建议您进行以下防癌筛查:
{{
!
needDetect
?
'建议领用'
:
'暂无需领用'
}}
</div>
<div
class=
"ad-fs"
>
{{
result
.
detectName
||
''
}}
<div
class=
"font-normal"
>
{{
!
needDetect
?
'参照本次评估结果,建议您接受防癌早筛检测。坚持良好生活方式,定期接受体检,关注个人健康'
:
'参照本次评估结果,建议您可暂不进行防癌早筛检测。坚持良好生活方式,定期接受体检,关注个人健康。'
}}
</div>
</div>
<div
v-if=
"!needDetect"
class=
"progress"
>
<img
src=
"https://files.yunqueyi.com/image/png/common/20221226103307358.png"
<div
v-if=
"!needDetect"
class=
"advise"
>
</div>
<div
v-if=
"!needDetect"
class=
"custom-style"
<div
class=
"fs"
>
建议您进行以下防癌筛查:
</div>
<div
class=
"ad-fs"
>
{{
result
.
detectName
||
''
}}
</div>
</div>
<div
v-if=
"!needDetect"
class=
"progress"
>
<img
src=
"https://files.yunqueyi.com/image/png/common/20221226103307358.png"
>
</div>
<div
v-if=
"!needDetect"
class=
"custom-style"
@
click=
"toAppoint"
>
{{
statusMap
(
detailInfo
.
status
)
||
'免费预约检测'
}}
</div>
<div
class=
"tips"
>
注:该问卷评估结果仅供填写人自行参考。
@
click=
"toAppoint"
>
{{
statusMap
(
detailInfo
.
status
)
||
'免费预约检测'
}}
</div>
<div
class=
"tips"
>
注:该问卷评估结果仅供填写人自行参考。
</div>
</div>
</div>
</
template
>
...
...
@@ -60,6 +67,14 @@ import {getButtonStatus, getJumpPageStatus} from '@/api/question';
export
default
{
data
()
{
return
{
picaWechat
:
window
.
_picaWechat
,
headerInfo
:
{
title
:
'检测服务'
,
isBlack
:
true
,
backMethod
:
'web'
,
style
:
'backgroundColor:#ffffff;zIndex:100;'
,
background
:
''
,
},
needDetect
:
false
,
result
:
{},
detailInfo
:
{},
...
...
@@ -137,18 +152,21 @@ export default {
</
script
>
<
style
lang=
"scss"
scoped
>
.insuranceQuestionResult-box
{
background
:
#fff
;
}
.insuranceQuestionResult
{
width
:
100%
;
height
:
100vh
;
box-sizing
:
border-box
;
padding
:
20px
16px
;
padding
:
0
16px
;
color
:
#676869
;
overflow
:
auto
;
text-align
:
center
;
.icon-item
{
width
:
50px
;
height
:
60px
;
margin
:
0
auto
;
margin-top
:
45
px
;
margin-top
:
30
px
;
img
{
width
:
100%
;
height
:
100%
;
...
...
@@ -176,7 +194,7 @@ export default {
border
:
1px
solid
#fbe0ce
;
padding
:
15px
;
text-align
:
center
;
margin
:
1
0
auto
;
margin
:
1
6px
auto
;
}
.fs
{
font-size
:
12px
;
...
...
@@ -200,7 +218,7 @@ export default {
//position: absolute;
//bottom: 120px;
margin
:
0
auto
;
margin-top
:
15
0px
;
margin-top
:
7
0px
;
}
.tips
{
font-size
:
13px
;
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录