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
提交
a4a7375d
提交
a4a7375d
编写于
2月 20, 2023
作者:
张磊
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'feature/zl2' into 'develop'
update guide app See merge request
!26
上级
946e8d83
e288700c
变更
1
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
31 行增加
和
40 行删除
+31
-40
insurance-detection-detail.vue
...insurance-detection-detail/insurance-detection-detail.vue
+31
-40
未找到文件。
src/views/insurance-detection-detail/insurance-detection-detail.vue
浏览文件 @
a4a7375d
...
@@ -9,12 +9,7 @@
...
@@ -9,12 +9,7 @@
<div
class=
"detail-box"
>
<div
class=
"detail-box"
>
<div
class=
"status"
>
<div
class=
"status"
>
<img
<img
v-if=
"waitIcon.indexOf(dataDetail.status) != -1"
v-if=
"dataDetail.status == 5"
src=
"https://files.yunqueyi.com/image/png/common/20220816135321860.png"
alt=
"wait"
>
<img
v-else-if=
"dataDetail.status == 5"
src=
"https://files.yunqueyi.com/image/png/common/20220817141150961.png"
src=
"https://files.yunqueyi.com/image/png/common/20220817141150961.png"
alt=
"success"
alt=
"success"
>
>
...
@@ -29,7 +24,10 @@
...
@@ -29,7 +24,10 @@
v-if=
"dataDetail.status != 0 && dataDetail.status != 1"
v-if=
"dataDetail.status != 0 && dataDetail.status != 1"
class=
"content"
class=
"content"
>
>
<div
class=
"p30"
>
<div
v-if=
"![1,3,5].includes(dataDetail.status)"
class=
"p30"
>
<div
<div
v-if=
"[2, 21, 22, 25].includes(Number(dataDetail.status|| 0))"
v-if=
"[2, 21, 22, 25].includes(Number(dataDetail.status|| 0))"
class=
"flex-wrap"
class=
"flex-wrap"
...
@@ -154,21 +152,19 @@
...
@@ -154,21 +152,19 @@
</div>
</div>
</div>
</div>
</div>
</div>
<!-- howBtn == 0 针对诺辉的走单独送检流程 不显示去送检按钮 -->
<!-- v-if="[1, 3].includes(dataDetail.status)"-->
<!-- v-if="[1, 3].includes(dataDetail.status)"-->
<div
<div
class=
"submit-container multi-sub-wrap"
class=
"submit-container multi-sub-wrap"
>
>
<!-- :class="[3].includes(dataDetail.status) && 'multi-sub-wrap'"-->
<div
<div
class=
"submit-button"
class=
"submit-button"
:class=
"[3].includes(dataDetail.status) && 'multi-sub-wrap'"
@
click=
"bottomBtnFun(dataDetail.status)"
@
click=
"bottomBtnFun(dataDetail.status)"
>
>
{{
dataDetail
.
status
|
showBtnTextFilter
}}
{{
dataDetail
.
status
|
showBtnTextFilter
}}
</div>
</div>
<!-- v-if="[3].includes(dataDetail.status)"-->
<!-- v-if="[3].includes(dataDetail.status)"-->
<div
<div
v-if=
"dataDetail.checkName"
class=
"submit-button"
class=
"submit-button"
>
>
<wx-open-launch-weapp
<wx-open-launch-weapp
...
@@ -179,7 +175,7 @@
...
@@ -179,7 +175,7 @@
:extra-data=
"openWebAppConfig.extraData"
:extra-data=
"openWebAppConfig.extraData"
>
>
<script
type=
"text/wxtag-template"
>
<script
type=
"text/wxtag-template"
>
<style>
.btn
{position:absolute; top: 0; color: #ffffff;text-align: center;line-height: 40px; left: 0; width:100%; height: 100%;}
</style>
<div
class=
"btn"
>
{{
dataDetail
.
checkName
}}
</div>
<style>
.btn
{position:absolute; top: 0; color: #ffffff;text-align: center;line-height: 40px; left: 0; width:100%; height: 100%;}
</style>
<div
class=
"btn"
>
{{
}}
</div>
</script>
</script>
</wx-open-launch-weapp>
</wx-open-launch-weapp>
</div>
</div>
...
@@ -187,20 +183,8 @@
...
@@ -187,20 +183,8 @@
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
// const { VUE_APP_ENV } = process.env;
import
{
getDetectionDetail
,
getDetectionDetailProces
,
getJumpToWebapp
}
from
'@/api/detection'
;
import
{
getDetectionDetail
,
getDetectionDetailProces
,
getJumpToWebapp
}
from
'@/api/detection'
;
// UNCOMMITTED(0,"待完善信息"),
// 0待完善信息、1待采样、2已采样、21已送检、22快递已签收、 25实验室已收样、 27已上机、 3已完成、5样本失效、 6待支付
// UNDER_DETECTION(1,"待采样"),
// UNPAID(6, "待支付"),
// DETECTING(2,"已采样"),
// COMPLETED(3,"已完成"),
// ARRIVED(21,"已送检"),
// ACCEPT(22,"已签收"),
// CHECK_ACCEPT(25,"已接收"),
// TESTING(27, "已上机"),
// CANCEL(4, "取消"),
// INVALID(5, "样本失效")
export
default
{
export
default
{
filters
:
{
filters
:
{
sexFilter
(
val
)
{
sexFilter
(
val
)
{
...
@@ -244,42 +228,50 @@ export default {
...
@@ -244,42 +228,50 @@ export default {
},
},
id
:
''
,
id
:
''
,
dataDetail
:
{},
dataDetail
:
{},
canClick
:
true
,
needPaybackOrderid
:
''
,
needPaybackGoodId
:
''
,
payAmountData
:
[],
payLogId
:
''
,
// 预支付记录ID
dataList
:
[],
dataList
:
[],
waitIcon
:
[
0
,
1
,
6
],
// icon 显示等待状态
noShowBottomBtn
:
[
0
,
21
,
22
,
5
,
1
,
6
,
2
,
25
,
27
],
// 这几种状态不显示底部操作按钮
openWebAppConfig
:{
openWebAppConfig
:{
content
:
''
,
// 标签内容
username
:
'gh_e92f58174364'
,
// 小程序唯一username 1.gh_80d54796f2d5 云鹊助手 2. gh_e92f58174364 云鹊健康
username
:
'gh_e92f58174364'
,
// 小程序唯一username 1.gh_80d54796f2d5 云鹊助手 2. gh_e92f58174364 云鹊健康
path
:
'pagesInsurance/all-entrance/index'
,
// 打开页面
path
:
'pagesInsurance/all-entrance/index'
,
// 打开页面
extraData
:
JSON
.
stringify
({})
extraData
:
JSON
.
stringify
({})
},
},
openWebAppBtnName
:
'报告解读'
};
};
},
},
created
()
{
created
()
{
this
.
id
=
this
.
$route
.
query
.
id
||
11073
;
this
.
id
=
this
.
$route
.
query
.
id
||
11073
;
this
.
openWebAppConfig
.
extraData
=
JSON
.
stringify
({
channelSource
:
'insurance_channel'
,
path
:
'pagesInsurance/all-entrance/index'
,
query
:
{
id
:
this
.
id
}
});
this
.
init
();
this
.
init
();
},
},
mounted
()
{
mounted
()
{
},
},
methods
:
{
methods
:
{
init
()
{
init
()
{
const
that
=
this
;
const
ed
=
{
channelSource
:
'insurance_channel'
,
targetPath
:
'pagesInsurance/all-entrance/index'
,
query
:
{
id
:
this
.
id
},
fromOriginPage
:
'insuranceDetectionDetail'
,
};
getDetectionDetail
(
this
.
id
).
then
((
res
)
=>
{
getDetectionDetail
(
this
.
id
).
then
((
res
)
=>
{
if
(
res
.
code
===
'000000'
)
{
if
(
res
.
code
===
'000000'
)
{
this
.
dataDetail
=
res
.
data
;
this
.
dataDetail
=
res
.
data
;
this
.
getDetailProces
();
this
.
getDetailProces
();
const
{
inquiryStatus
}
=
res
.
data
;
let
n
=
''
;
if
(
inquiryStatus
==
0
)
{
ed
.
targetPath
=
'/pages/consultation-info/consultation/index'
;
n
=
'报告解读'
;
}
else
if
([
4
,
6
].
includes
(
inquiryStatus
))
{
n
=
'查看专家建议'
;
ed
.
targetPath
=
'/pages/health/detection-detail/index'
;
}
else
{
n
=
'已预约待咨询'
;
ed
.
targetPath
=
'/pages/consultation-im/index?initTRTC=false'
;
}
that
.
openWebAppBtnName
=
n
;
console
.
log
(
res
,
'eeeeeeeeeee'
,
this
.
dataDetail
);
console
.
log
(
res
,
'eeeeeeeeeee'
,
this
.
dataDetail
);
}
else
{
}
else
{
th
is
.
$toast
(
res
.
message
);
th
at
.
$toast
(
res
.
message
);
}
}
});
});
},
},
...
@@ -320,7 +312,6 @@ export default {
...
@@ -320,7 +312,6 @@ export default {
this
.
$toast
(
res
.
message
);
this
.
$toast
(
res
.
message
);
}
}
});
});
console
.
log
(
'999000999'
);
},
},
// 查看报告
// 查看报告
seeReport
()
{
seeReport
()
{
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录