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
提交
db5f726a
提交
db5f726a
编写于
3月 09, 2023
作者:
张磊
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
quick detect
上级
728a8d23
变更
3
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
8 行增加
和
57 行删除
+8
-57
detection.js
src/api/detection.js
+1
-1
insurance-bind-code.vue
src/views/insurance-bind-code/insurance-bind-code.vue
+5
-5
index.vue
src/views/insurance-quickDetection-detail/index.vue
+2
-51
未找到文件。
src/api/detection.js
浏览文件 @
db5f726a
...
@@ -118,7 +118,7 @@ export const detectionRecordInfo = (id) => {
...
@@ -118,7 +118,7 @@ export const detectionRecordInfo = (id) => {
export
const
detectionQuickRecordInfo
=
(
id
)
=>
{
export
const
detectionQuickRecordInfo
=
(
id
)
=>
{
return
request
({
return
request
({
method
:
'get'
,
method
:
'get'
,
url
:
`/trade/detection/record/qu
eryFastDetectRecord/
${
id
}
`
,
url
:
`/trade/detection/record/qu
ick/info?detectionRecordId=
${
id
}
`
,
withCredentials
:
true
,
withCredentials
:
true
,
});
});
};
};
...
...
src/views/insurance-bind-code/insurance-bind-code.vue
浏览文件 @
db5f726a
...
@@ -380,7 +380,7 @@ export default {
...
@@ -380,7 +380,7 @@ export default {
});
});
},
},
getRecordInfo
()
{
getRecordInfo
()
{
if
(
this
.
insuranceInfo
.
detectionKind
==
1
)
{
if
(
this
.
insuranceInfo
.
detectionKind
==
0
)
{
detectionRecordInfo
(
this
.
detectionRecordId
).
then
(
res
=>
{
detectionRecordInfo
(
this
.
detectionRecordId
).
then
(
res
=>
{
if
(
res
.
code
===
'000000'
)
{
if
(
res
.
code
===
'000000'
)
{
this
.
recordInfo
.
name
=
res
.
data
.
patientName
;
this
.
recordInfo
.
name
=
res
.
data
.
patientName
;
...
@@ -393,13 +393,13 @@ export default {
...
@@ -393,13 +393,13 @@ export default {
}
}
});
});
}
}
if
(
this
.
insuranceInfo
.
detectionKind
==
0
)
{
if
(
this
.
insuranceInfo
.
detectionKind
==
1
)
{
detectionQuickRecordInfo
(
this
.
detectionRecordId
).
then
(
res
=>
{
detectionQuickRecordInfo
(
this
.
detectionRecordId
).
then
(
res
=>
{
if
(
res
.
code
===
'000000'
)
{
if
(
res
.
code
===
'000000'
)
{
this
.
recordInfo
.
name
=
res
.
data
.
patientName
;
this
.
recordInfo
.
name
=
res
.
data
.
patientName
;
this
.
recordInfo
.
sex
=
res
.
data
.
patientGender
===
1
?
'男'
:
'女'
;
this
.
recordInfo
.
sex
=
res
.
data
.
sex
===
1
?
'男'
:
'女'
;
this
.
recordInfo
.
date
=
res
.
data
.
birth
Time
;
this
.
recordInfo
.
date
=
res
.
data
.
birth
day
;
this
.
recordInfo
.
checkName
=
res
.
data
.
detect
Name
;
this
.
recordInfo
.
checkName
=
res
.
data
.
check
Name
;
this
.
recordInfo
.
projectId
=
res
.
data
.
projectId
;
this
.
recordInfo
.
projectId
=
res
.
data
.
projectId
;
this
.
recordInfo
.
patientId
=
res
.
data
.
patientId
;
this
.
recordInfo
.
patientId
=
res
.
data
.
patientId
;
this
.
recordInfo
.
hospitalId
=
res
.
data
.
hospitalId
;
this
.
recordInfo
.
hospitalId
=
res
.
data
.
hospitalId
;
...
...
src/views/insurance-quickDetection-detail/index.vue
浏览文件 @
db5f726a
...
@@ -155,12 +155,6 @@
...
@@ -155,12 +155,6 @@
v-if=
"[3].includes(dataDetail.status)"
v-if=
"[3].includes(dataDetail.status)"
class=
"submit-container multi-sub-wrap"
class=
"submit-container multi-sub-wrap"
>
>
<div
class=
"submit-button submit-button-empty"
@
click=
"bottomBtnFun(dataDetail.reportUrl)"
>
查看报告
</div>
<div
<div
v-if=
"picaWechat == 'wechat' && [3].includes(dataDetail.status)"
v-if=
"picaWechat == 'wechat' && [3].includes(dataDetail.status)"
class=
"submit-button"
class=
"submit-button"
...
@@ -208,17 +202,9 @@ export default {
...
@@ -208,17 +202,9 @@ export default {
3
:
'已完成'
,
3
:
'已完成'
,
5
:
'样本异常'
,
5
:
'样本异常'
,
6
:
'待支付'
,
6
:
'待支付'
,
};
};
return
obj
[
type
];
return
obj
[
type
];
},
},
showBtnTextFilter
(
status
)
{
const
obj
=
{
1
:
'绑定条形码'
,
3
:
'查看报告'
,
};
return
obj
[
status
]
||
''
;
},
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -239,7 +225,7 @@ export default {
...
@@ -239,7 +225,7 @@ export default {
path
:
'pagesInsurance/all-entrance/index'
,
// 打开页面
path
:
'pagesInsurance/all-entrance/index'
,
// 打开页面
extraData
:
JSON
.
stringify
({})
extraData
:
JSON
.
stringify
({})
},
},
openWebAppBtnName
:
'
报告解读
'
,
openWebAppBtnName
:
'
绑定条形码
'
,
yunOrderNo
:
''
,
yunOrderNo
:
''
,
action_code
:
''
action_code
:
''
};
};
...
@@ -260,32 +246,12 @@ export default {
...
@@ -260,32 +246,12 @@ export default {
targetPath
:
'pagesInsurance/all-entrance/index'
,
targetPath
:
'pagesInsurance/all-entrance/index'
,
query
:
{
yunOrderNo
:
this
.
yunOrderNo
},
query
:
{
yunOrderNo
:
this
.
yunOrderNo
},
};
};
let
jump_path
=
`pagesInsurance/all-entrance/index?yunOrderNo=
${
this
.
yunOrderNo
}
&channelSource=channelSource`
;
getQuickDetectionDetail
(
this
.
detectionRecordId
).
then
((
res
)
=>
{
getQuickDetectionDetail
(
this
.
detectionRecordId
).
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';
this
.
action_code
=
'bottomBtnFun2'
;
jump_path
=
jump_path
+
'&action_code=bottomBtnFun2'
;
n
=
'报告解读'
;
}
else
if
([
4
,
6
].
includes
(
inquiryStatus
))
{
n
=
'查看专家建议'
;
this
.
action_code
=
'getAdvice'
;
jump_path
=
jump_path
+
'&action_code=getAdvice'
;
// ed.targetPath = '/pages/health/detection-detail/index';
}
else
{
n
=
'已预约待咨询'
;
this
.
action_code
=
'goIm'
;
jump_path
=
jump_path
+
'&action_code=goIm'
;
// ed.targetPath = '/pages/consultation-im/index?initTRTC=false';
}
that
.
openWebAppConfig
.
extraData
=
JSON
.
stringify
(
ed
);
that
.
openWebAppConfig
.
extraData
=
JSON
.
stringify
(
ed
);
that
.
openWebAppBtnName
=
n
;
that
.
openWebAppConfig
.
path
=
`pagesInsurance/all-entrance/index?yunOrderNo=
${
this
.
yunOrderNo
}
&channelSource=channelSource`
;
that
.
openWebAppConfig
.
path
=
jump_path
;
}
else
{
}
else
{
that
.
$toast
(
res
.
message
);
that
.
$toast
(
res
.
message
);
}
}
...
@@ -312,21 +278,6 @@ export default {
...
@@ -312,21 +278,6 @@ export default {
}
}
});
});
},
},
bottomBtnFun
(
u
)
{
if
(
!
u
)
{
this
.
$toast
(
'reportUrl--为空'
,
u
);
return
false
;
}
const
p
=
'/pdf-preview'
;
this
.
$router
.
push
(
{
path
:
p
,
query
:
{
url
:
u
,
},
}
);
},
getJumpToWebapp
()
{
getJumpToWebapp
()
{
if
(
this
.
picaWechat
==
'wechat'
)
{
if
(
this
.
picaWechat
==
'wechat'
)
{
return
false
;
return
false
;
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录