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
提交
d01f6cc1
提交
d01f6cc1
编写于
3月 15, 2023
作者:
张磊
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
quick detect
上级
4a69fd1a
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
34 行增加
和
19 行删除
+34
-19
index.vue
src/views/appointDetails/index.vue
+28
-14
index.vue
src/views/home/index.vue
+2
-1
insuranceQuestionResult.vue
...ews/insurance-question-result/insuranceQuestionResult.vue
+3
-3
index.vue
src/views/insurance-quickDetection-detail/index.vue
+1
-1
未找到文件。
src/views/appointDetails/index.vue
浏览文件 @
d01f6cc1
...
...
@@ -18,7 +18,7 @@
alt=
""
>
{{
!
expireFlag
?
statusMap
[
detailInfo
.
status
]
:
'已过期'
}}
{{
!
expireFlag
?
statusMap
(
detailInfo
.
status
)
:
'已过期'
}}
</div>
<div
class=
"detail-top insurance-detection"
>
<div
class=
"detection-title"
>
...
...
@@ -235,18 +235,6 @@ export default {
expireFlag
:
false
,
query
:
{},
isUnderLine
:
false
,
statusMap
:
{
'0101'
:
'未填写问卷'
,
'0102'
:
'已填写问卷'
,
'0201'
:
'待预约'
,
'0202'
:
'预约成功'
,
'0203'
:
'已取消待重新预约'
,
'0301'
:
'待采样'
,
'0302'
:
'已采样'
,
'0303'
:
'待重新采样'
,
'0304'
:
'已出报告'
,
'0401'
:
'已结束'
,
},
};
},
computed
:
{
...
...
@@ -425,7 +413,6 @@ export default {
this
.
$toast
(
'已复制'
);
console
.
log
(
'已复制的内容:'
,
copyText
);
},
getDetectionName
(
yunOrderNo
)
{
getDetectionName
(
yunOrderNo
).
then
(
res
=>
{
if
(
res
.
code
===
'000000'
&&
res
.
data
)
{
...
...
@@ -434,6 +421,33 @@ export default {
}
});
},
statusMap
(
type
)
{
const
obj
=
{
'0101'
:
'未填写问卷'
,
'0102'
:
'已填写问卷'
,
'0201'
:
'待预约'
,
'0202'
:
'预约成功'
,
'0203'
:
'已取消待重新预约'
,
'0301'
:
'待采样'
,
'0302'
:
'已采样'
,
'0303'
:
'待重新采样'
,
'0304'
:
'已出报告'
,
'0401'
:
'已结束'
,
};
const
obj2
=
{
'0101'
:
'未填写问卷'
,
'0102'
:
'已填写问卷'
,
'0201'
:
'待预约'
,
'0202'
:
'预约成功'
,
'0203'
:
'已取消待重新预约'
,
'0301'
:
'待领取'
,
'0302'
:
'已领取'
,
'0303'
:
'待重新领取'
,
'0304'
:
'已出报告'
,
'0401'
:
'已结束'
,
};
return
this
.
insuranceInfo
.
detectionKind
==
1
?
obj2
[
type
]
:
obj
[
type
];
},
},
};
</
script
>
...
...
src/views/home/index.vue
浏览文件 @
d01f6cc1
...
...
@@ -115,7 +115,8 @@ export default {
this
.
status
=
res
.
data
.
statusCode
;
this
.
hasQuestionnaire
=
res
.
data
.
hasQuestionnaire
;
// 快检结果
const
result
=
this
.
status
!=
'0101'
&&
await
this
.
getDetectionName
(
this
.
yunOrderNo
);
const
t
=
[
'0101'
,
'0102'
,
'0902'
];
const
result
=
!
t
.
includes
(
this
.
status
)
&&
await
this
.
getDetectionName
(
this
.
yunOrderNo
);
const
{
detectionKind
}
=
result
;
console
.
log
(
'---result'
,
result
);
switch
(
this
.
status
)
{
...
...
src/views/insurance-question-result/insuranceQuestionResult.vue
浏览文件 @
d01f6cc1
...
...
@@ -10,7 +10,7 @@
<template
v-if=
"!needDetect"
>
<div
class=
"info-top"
>
<div
class=
"info-top-title"
>
防癌专家提醒您尽快
进行
防癌专家提醒您尽快
{{
insuranceInfo
.
detectionKind
==
0
?
'进行'
:
'领取'
}}
</div>
<div
class=
"info-top-name"
>
{{
detectionName
}}
...
...
@@ -41,7 +41,7 @@
</div>
</div>
<img
src=
"https://files.yunqueyi.com/image/gif/common/20230228173135233.gif
"
:src=
" insuranceInfo && insuranceInfo.detectionKind == 0 ? 'https://files.yunqueyi.com/image/gif/common/20230228173135233.gif' : 'https://files.yunqueyi.com/image/gif/common/20230315102649177.gif'
"
class=
"info-btn"
@
click=
"toAppoint"
>
...
...
@@ -76,7 +76,7 @@
<div
class=
"tips-fixed"
>
注:请填写人根据问卷评估结果自主选择后续
注:请填写人根据问卷评估结果自主选择后续
检测
</div>
</div>
</div>
...
...
src/views/insurance-quickDetection-detail/index.vue
浏览文件 @
d01f6cc1
...
...
@@ -163,7 +163,7 @@ export default {
const
obj
=
{
0
:
'待完善信息'
,
1
:
'待采样'
,
2
:
'已
采样
'
,
2
:
'已
领取
'
,
21
:
'已送检'
,
25
:
'已接收'
,
27
:
'已上机'
,
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录