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
提交
b70387a8
提交
b70387a8
编写于
5月 09, 2023
作者:
张磊
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
init
上级
c0307a9f
变更
4
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
61 行增加
和
7 行删除
+61
-7
index.scss
src/views/insurance-detection-detail/index.scss
+14
-0
insurance-detection-detail.vue
...insurance-detection-detail/insurance-detection-detail.vue
+38
-0
insuranceQuestionResult.vue
...ews/insurance-question-result/insuranceQuestionResult.vue
+8
-6
vue.config.js
vue.config.js
+1
-1
未找到文件。
src/views/insurance-detection-detail/index.scss
浏览文件 @
b70387a8
...
@@ -296,6 +296,20 @@
...
@@ -296,6 +296,20 @@
padding
:
0px
20px
;
padding
:
0px
20px
;
min-width
:
60px
;
min-width
:
60px
;
}
}
.submit-button2
{
position
:
relative
;
height
:
40px
;
border-radius
:
20px
;
font-weight
:
700
;
color
:
#ffffff
;
font-size
:
16px
;
display
:
flex
;
align-items
:
center
;
background
:
#00bda5
;
justify-content
:
center
;
padding
:
0px
20px
;
min-width
:
80%
;
}
.btn-label
{
.btn-label
{
width
:
62px
;
width
:
62px
;
height
:
14px
;
height
:
14px
;
...
...
src/views/insurance-detection-detail/insurance-detection-detail.vue
浏览文件 @
b70387a8
...
@@ -220,11 +220,21 @@
...
@@ -220,11 +220,21 @@
阳性报销
阳性报销
</div>
</div>
</div>
</div>
<div
v-else
class=
"submit-container multi-sub-wrap"
>
<div
class=
"submit-button2"
@
click=
"getReport()"
>
获取报告
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
getDetectionDetailProces
,
getJumpToWebapp
,
detectionRecordInfo
}
from
'@/api/detection'
;
import
{
getDetectionDetailProces
,
getJumpToWebapp
,
detectionRecordInfo
}
from
'@/api/detection'
;
const
{
VUE_APP_ENV
}
=
process
.
env
;
const
{
VUE_APP_ENV
}
=
process
.
env
;
import
axios
from
'axios'
;
import
{
getDetailByYunOrderNo
}
from
'@/api/appoint'
;
// 0待完善信息、1待采样、2已采样、21已送检、22快递已签收、 25实验室已收样、 27已上机、 3已完成、5样本失效、 6待支付
// 0待完善信息、1待采样、2已采样、21已送检、22快递已签收、 25实验室已收样、 27已上机、 3已完成、5样本失效、 6待支付
export
default
{
export
default
{
filters
:
{
filters
:
{
...
@@ -291,6 +301,7 @@ export default {
...
@@ -291,6 +301,7 @@ export default {
this
.
detectionRecordId
=
detectionRecordId
;
this
.
detectionRecordId
=
detectionRecordId
;
this
.
yunOrderNo
=
yunOrderNo
;
this
.
yunOrderNo
=
yunOrderNo
;
this
.
init
();
this
.
init
();
},
},
mounted
()
{
mounted
()
{
console
.
log
(
'--VUE_APP_ENV'
,
VUE_APP_ENV
);
console
.
log
(
'--VUE_APP_ENV'
,
VUE_APP_ENV
);
...
@@ -451,6 +462,33 @@ export default {
...
@@ -451,6 +462,33 @@ export default {
}
}
return
t
;
return
t
;
},
},
getReport
()
{
getDetailByYunOrderNo
(
this
.
yunOrderNo
).
then
(
res
=>
{
console
.
log
(
res
);
const
{
showFlagForReport
}
=
res
.
data
;
if
(
showFlagForReport
==
1
)
{
const
p
=
{
env
:
VUE_APP_ENV
==
'production'
?
'prod'
:
'test1'
,
sample_code
:
this
.
dataDetail
.
sampleCode
,
res_type
:
1
};
//
axios
.
post
(
'https://project.picahealth.com/auto_set_detection_report'
,
p
)
.
then
(
res
=>
{
console
.
error
(
'请求menu接口失败error'
,
res
);
const
{
errorMessage
}
=
res
.
data
.
data
;
this
.
$toast
(
errorMessage
);
this
.
init
();
}).
catch
(
error
=>
{
console
.
error
(
'请求menu接口失败error'
,
error
);
const
{
errorMessage
}
=
error
.
data
.
data
;
this
.
$toast
(
errorMessage
);
this
.
init
();
});
}
console
.
log
(
'--showFlagForReport'
,
showFlagForReport
);
});
},
},
},
};
};
</
script
>
</
script
>
...
...
src/views/insurance-question-result/insuranceQuestionResult.vue
浏览文件 @
b70387a8
...
@@ -27,9 +27,9 @@
...
@@ -27,9 +27,9 @@
<div
class=
"tips-item-dot"
/>
<div
class=
"tips-item-dot"
/>
早期检出、早期干预、实现可逆
早期检出、早期干预、实现可逆
</div>
</div>
<div
class=
"tips-item"
>
<div
v-if=
"detectionDetail.positiveReimburse == 0 && detectionDetail.reimburseMax > 0"
class=
"tips-item"
>
<div
class=
"tips-item-dot"
/>
<div
class=
"tips-item-dot"
/>
检测报告阳性,最高可报销
300
元复查费用
检测报告阳性,最高可报销
{{
(
detectionDetail
.
reimburseMax
/
100
).
toFixed
(
0
)
}}
元复查费用
</div>
</div>
</div>
</div>
<div
<div
...
@@ -115,6 +115,7 @@ export default {
...
@@ -115,6 +115,7 @@ export default {
query
:
{},
query
:
{},
buttonStatus
:
false
,
buttonStatus
:
false
,
buttonText
:
''
,
buttonText
:
''
,
detectionDetail
:{}
};
};
},
},
computed
:
{
computed
:
{
...
@@ -152,10 +153,11 @@ export default {
...
@@ -152,10 +153,11 @@ export default {
getDetectionName
(
yunOrderNo
)
{
getDetectionName
(
yunOrderNo
)
{
getDetectionName
(
yunOrderNo
).
then
(
res
=>
{
getDetectionName
(
yunOrderNo
).
then
(
res
=>
{
if
(
res
.
code
===
'000000'
&&
res
.
data
)
{
if
(
res
.
code
===
'000000'
&&
res
.
data
)
{
const
dectionData
=
res
.
data
[
0
]
||
{};
const
d
=
res
.
data
[
0
]
||
{};
console
.
log
(
'dectionData.detectionName'
,
this
.
insuranceInfo
,
dectionData
);
this
.
detectionDetail
=
d
||
{};
this
.
detectionName
=
dectionData
.
detectionName
;
console
.
log
(
'dectionData.detectionName'
,
this
.
insuranceInfo
,
d
);
this
.
$store
.
dispatch
(
'home/setInsuranceInfo'
,
dectionData
);
this
.
detectionName
=
d
.
detectionName
;
this
.
$store
.
dispatch
(
'home/setInsuranceInfo'
,
d
);
this
.
$loading
.
hide
();
this
.
$loading
.
hide
();
}
}
});
});
...
...
vue.config.js
浏览文件 @
b70387a8
...
@@ -35,7 +35,7 @@ module.exports = {
...
@@ -35,7 +35,7 @@ module.exports = {
port
:
8083
,
port
:
8083
,
proxy
:
{
proxy
:
{
'/proxy'
:
{
'/proxy'
:
{
target
:
'https://
test1
-sc.yunqueyi.com/'
,
target
:
'https://
dev
-sc.yunqueyi.com/'
,
// target: 'https://test1-sc.yunqueyi.com/',
// target: 'https://test1-sc.yunqueyi.com/',
// target: 'https://uat-sc.yunqueyi.com/',
// target: 'https://uat-sc.yunqueyi.com/',
// http://10.241.65.90:3000/mock/1071/cs/route/removeUser
// http://10.241.65.90:3000/mock/1071/cs/route/removeUser
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录