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
提交
bdc8a9fd
提交
bdc8a9fd
编写于
4月 03, 2023
作者:
张磊
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
cas fix
上级
bff00ce3
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
67 行增加
和
5 行删除
+67
-5
index.scss
src/views/insurance-detection-detail/index.scss
+17
-2
insurance-detection-detail.vue
...insurance-detection-detail/insurance-detection-detail.vue
+50
-3
未找到文件。
src/views/insurance-detection-detail/index.scss
浏览文件 @
bdc8a9fd
...
@@ -272,7 +272,6 @@
...
@@ -272,7 +272,6 @@
justify-content
:
center
;
justify-content
:
center
;
.submit-button
{
.submit-button
{
position
:
relative
;
position
:
relative
;
width
:
350px
;
height
:
40px
;
height
:
40px
;
border-radius
:
20px
;
border-radius
:
20px
;
font-weight
:
700
;
font-weight
:
700
;
...
@@ -287,12 +286,28 @@
...
@@ -287,12 +286,28 @@
background
:
#ffffff
;
background
:
#ffffff
;
border
:
1px
solid
#00bda5
;
border
:
1px
solid
#00bda5
;
color
:
#00bda5
;
color
:
#00bda5
;
position
:
relative
;
}
}
}
}
.multi-sub-wrap
{
.multi-sub-wrap
{
flex-direction
:
row
;
flex-direction
:
row
;
justify-content
:
space-evenly
;
justify-content
:
space-evenly
;
.submit-button
{
.submit-button
{
width
:
45%
;
padding
:
0px
20px
;
}
.btn-label
{
width
:
42px
;
height
:
14px
;
line-height
:
14px
;
font-size
:
10px
;
text-align
:
center
;
color
:
#ffffff
;
background-color
:
#00BDA5
;
border-top-left-radius
:
14px
;
border-bottom-right-radius
:
14px
;
position
:
absolute
;
top
:
-7px
;
right
:
0px
;
}
}
}
}
src/views/insurance-detection-detail/insurance-detection-detail.vue
浏览文件 @
bdc8a9fd
...
@@ -163,7 +163,7 @@
...
@@ -163,7 +163,7 @@
</div>
</div>
<div
<div
v-if=
"picaWechat == 'wechat' && [3].includes(dataDetail.status) && (Number(dataDetail.reportExplain) == 0)"
v-if=
"picaWechat == 'wechat' && [3].includes(dataDetail.status) && (Number(dataDetail.reportExplain) == 0)"
class=
"submit-button"
class=
"submit-button
submit-button-empty
"
>
>
<wx-open-launch-weapp
<wx-open-launch-weapp
style=
"position: absolute; top: 0; left: 0; width: 100%; height: 100%"
style=
"position: absolute; top: 0; left: 0; width: 100%; height: 100%"
...
@@ -179,11 +179,36 @@
...
@@ -179,11 +179,36 @@
</div>
</div>
<div
<div
v-else
v-else
class=
"submit-button"
class=
"submit-button
submit-button-empty
"
@
click=
"getJumpToWebapp"
@
click=
"getJumpToWebapp"
>
>
{{
openWebAppBtnName
}}
{{
openWebAppBtnName
}}
</div>
</div>
<div
v-if=
"picaWechat == 'wechat' && [3].includes(dataDetail.status) && (Number(dataDetail.reportExplain) == 0)"
class=
"submit-button submit-button-empty"
>
<div
class=
"btn-label"
>
{{
dataDetail
.
reimburseStatusStr
}}
</div>
<wx-open-launch-weapp
style=
"position: absolute; top: 0; left: 0; width: 100%; height: 100%"
:username=
"openWebAppConfigPositive.username"
:path=
"openWebAppConfigPositive.path"
env-version=
"trial"
>
<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"
>
{{
openWebAppBtnName
}}
</div>
</script>
</wx-open-launch-weapp>
</div>
<div
v-else
class=
"submit-button submit-button-empty"
@
click=
"getJumpToWebapp2"
>
<div
class=
"btn-label"
>
{{
dataDetail
.
reimburseStatusStr
}}
</div>
阳性报销
</div>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -239,6 +264,11 @@ export default {
...
@@ -239,6 +264,11 @@ export default {
path
:
'pagesInsurance/all-entrance/index'
,
// 打开页面
path
:
'pagesInsurance/all-entrance/index'
,
// 打开页面
extraData
:
JSON
.
stringify
({})
extraData
:
JSON
.
stringify
({})
},
},
openWebAppConfigPositive
:{
username
:
'gh_e92f58174364'
,
// 小程序唯一username 1.gh_80d54796f2d5 云鹊助手 2. gh_e92f58174364 云鹊健康
path
:
'pagesInsurance/all-entrance/index'
,
// 打开页面
extraData
:
JSON
.
stringify
({})
},
openWebAppBtnName
:
'报告解读'
,
openWebAppBtnName
:
'报告解读'
,
yunOrderNo
:
''
,
yunOrderNo
:
''
,
action_code
:
''
action_code
:
''
...
@@ -296,6 +326,7 @@ export default {
...
@@ -296,6 +326,7 @@ export default {
that
.
openWebAppConfig
.
extraData
=
JSON
.
stringify
(
ed
);
that
.
openWebAppConfig
.
extraData
=
JSON
.
stringify
(
ed
);
that
.
openWebAppBtnName
=
n
;
that
.
openWebAppBtnName
=
n
;
that
.
openWebAppConfig
.
path
=
jump_path
;
that
.
openWebAppConfig
.
path
=
jump_path
;
this
.
openWebAppConfigPositive
=
`/pagesInsurance/positive-expense/index?detectionKind=
${
this
.
dataDetail
.
id
}
&tradeDetectionServiceRecordId=
${
this
.
dataDetail
.
detectType
}
`
;
}
else
{
}
else
{
that
.
$toast
(
res
.
message
);
that
.
$toast
(
res
.
message
);
}
}
...
@@ -366,7 +397,23 @@ export default {
...
@@ -366,7 +397,23 @@ export default {
}
}
console
.
log
(
'--mapStatus'
,
m
);
console
.
log
(
'--mapStatus'
,
m
);
return
m
;
return
m
;
}
},
getJumpToWebapp2
()
{
if
(
this
.
picaWechat
==
'wechat'
)
{
return
false
;
}
const
query
=
`detectionKind=
${
this
.
dataDetail
.
id
}
&tradeDetectionServiceRecordId=
${
this
.
dataDetail
.
detectType
}
`
;
const
p
=
{
params
:{
path
:
'/pagesInsurance/positive-expense/index'
,
query
:
query
},
type
:
2
};
getJumpToWebapp
(
p
).
then
(
res
=>
{
console
.
log
(
'--res'
,
res
);
if
(
res
.
data
)
{
window
.
location
.
href
=
res
.
data
;
}
else
{
this
.
$toast
(
res
.
message
);
}
});
},
},
},
};
};
</
script
>
</
script
>
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录