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
提交
728a8d23
提交
728a8d23
编写于
3月 09, 2023
作者:
张磊
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
quick detect
上级
196faf72
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
48 行增加
和
18 行删除
+48
-18
detection.js
src/api/detection.js
+9
-0
index.vue
src/views/home/index.vue
+0
-2
insurance-bind-code.vue
src/views/insurance-bind-code/insurance-bind-code.vue
+39
-16
未找到文件。
src/api/detection.js
浏览文件 @
728a8d23
...
...
@@ -114,6 +114,15 @@ export const detectionRecordInfo = (id) => {
});
};
// 获取检测人信息
export
const
detectionQuickRecordInfo
=
(
id
)
=>
{
return
request
({
method
:
'get'
,
url
:
`/trade/detection/record/queryFastDetectRecord/
${
id
}
`
,
withCredentials
:
true
,
});
};
// 绑定条码
export
const
bindingSampleCode
=
(
data
)
=>
{
return
request
({
...
...
src/views/home/index.vue
浏览文件 @
728a8d23
...
...
@@ -93,11 +93,9 @@ export default {
getJumpPageStatus
(
data
).
then
(
res
=>
{
console
.
log
(
'getJumpPageStatus'
,
res
);
if
(
res
.
code
==
'000000'
)
{
if
(
res
.
data
.
yunOrderNo
&&
res
.
data
.
yunOrderNo
!=
''
)
{
this
.
checkStatus
(
res
);
}
else
{
// https://dev-sc.yunqueyi.com/tis/insurance/create/order
this
.
createOrder
(
data
);
}
this
.
$loading
.
hide
();
...
...
src/views/insurance-bind-code/insurance-bind-code.vue
浏览文件 @
728a8d23
...
...
@@ -78,7 +78,10 @@
</div>
</div>
<div
v-if=
"insuranceInfo.detectionKind == 0"
class=
"notification"
>
<div
v-if=
"insuranceInfo.detectionKind == 0"
class=
"notification"
>
<div
class=
"sign-detection"
>
<img
v-if=
"isCheck"
...
...
@@ -204,7 +207,7 @@
<
script
>
import
{
mapGetters
}
from
'vuex'
;
import
{
signDetection
,
getProtocolContent
,
getProtocolName
,
sampleCodeValidate
,
detectionRecordInfo
,
bindingSampleCode
,
bindingQuickSampleCode
}
from
'@/api/detection.js'
;
import
{
signDetection
,
getProtocolContent
,
getProtocolName
,
sampleCodeValidate
,
detectionRecordInfo
,
bindingSampleCode
,
bindingQuickSampleCode
,
detectionQuickRecordInfo
}
from
'@/api/detection.js'
;
import
{
getDetectionName
}
from
'@/api/appoint'
;
export
default
{
data
()
{
...
...
@@ -252,12 +255,16 @@ export default {
this
.
pprotocolType
=
pprotocolType
||
''
;
this
.
detectionRecordId
=
detectionRecordId
;
this
.
yunOrderNo
=
yunOrderNo
;
this
.
getProtocolName
();
this
.
getRecordInfo
(
detectionRecordId
);
this
.
getDetectionName
(
yunOrderNo
);
}
else
{
this
.
$toast
(
'传递有误:'
,
pprotocolType
,
detectionRecordId
,
yunOrderNo
);
}
if
(
pprotocolType
)
{
this
.
getProtocolName
();
}
else
{
this
.
isCheck
=
true
;
}
},
methods
:
{
clearCode
()
{
...
...
@@ -326,6 +333,7 @@ export default {
console
.
log
(
'res'
,
res
);
if
(
res
.
code
===
'000000'
&&
res
.
data
)
{
this
.
insuranceInfo
=
res
.
data
[
0
];
this
.
getRecordInfo
();
console
.
log
(
'----'
,
this
.
insuranceInfo
);
}
...
...
@@ -371,18 +379,33 @@ export default {
this
.
toggleBindingInfo
();
});
},
getRecordInfo
(
id
)
{
detectionRecordInfo
(
id
).
then
(
res
=>
{
if
(
res
.
code
===
'000000'
)
{
this
.
recordInfo
.
name
=
res
.
data
.
patientName
;
this
.
recordInfo
.
sex
=
res
.
data
.
sex
===
1
?
'男'
:
'女'
;
this
.
recordInfo
.
date
=
res
.
data
.
birthday
;
this
.
recordInfo
.
checkName
=
res
.
data
.
checkName
;
this
.
recordInfo
.
projectId
=
res
.
data
.
projectId
;
this
.
recordInfo
.
patientId
=
res
.
data
.
patientId
;
this
.
recordInfo
.
hospitalId
=
res
.
data
.
hospitalId
;
}
});
getRecordInfo
()
{
if
(
this
.
insuranceInfo
.
detectionKind
==
1
)
{
detectionRecordInfo
(
this
.
detectionRecordId
).
then
(
res
=>
{
if
(
res
.
code
===
'000000'
)
{
this
.
recordInfo
.
name
=
res
.
data
.
patientName
;
this
.
recordInfo
.
sex
=
res
.
data
.
sex
===
1
?
'男'
:
'女'
;
this
.
recordInfo
.
date
=
res
.
data
.
birthday
;
this
.
recordInfo
.
checkName
=
res
.
data
.
checkName
;
this
.
recordInfo
.
projectId
=
res
.
data
.
projectId
;
this
.
recordInfo
.
patientId
=
res
.
data
.
patientId
;
this
.
recordInfo
.
hospitalId
=
res
.
data
.
hospitalId
;
}
});
}
if
(
this
.
insuranceInfo
.
detectionKind
==
0
)
{
detectionQuickRecordInfo
(
this
.
detectionRecordId
).
then
(
res
=>
{
if
(
res
.
code
===
'000000'
)
{
this
.
recordInfo
.
name
=
res
.
data
.
patientName
;
this
.
recordInfo
.
sex
=
res
.
data
.
patientGender
===
1
?
'男'
:
'女'
;
this
.
recordInfo
.
date
=
res
.
data
.
birthTime
;
this
.
recordInfo
.
checkName
=
res
.
data
.
detectName
;
this
.
recordInfo
.
projectId
=
res
.
data
.
projectId
;
this
.
recordInfo
.
patientId
=
res
.
data
.
patientId
;
this
.
recordInfo
.
hospitalId
=
res
.
data
.
hospitalId
;
}
});
}
},
// 绑定条形码
bindingCode
()
{
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录