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
提交
f2436d24
提交
f2436d24
编写于
2月 21, 2023
作者:
张磊
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add all entrance for insurance
上级
fcfdfc80
变更
1
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
30 行增加
和
15 行删除
+30
-15
insurance-bind-code.vue
src/views/insurance-bind-code/insurance-bind-code.vue
+30
-15
未找到文件。
src/views/insurance-bind-code/insurance-bind-code.vue
浏览文件 @
f2436d24
...
...
@@ -217,23 +217,29 @@ export default {
name
:
''
,
sex
:
''
,
date
:
''
,
checkName
:
''
checkName
:
''
,
projectId
:
''
,
patientId
:
''
,
hospitalId
:
''
},
insuranceInfo
:
{},
pprotocolType
:
''
pprotocolType
:
''
,
};
},
computed
:
{
...
mapGetters
([
'orderInfo'
]),
},
created
()
{
console
.
log
(
'--window._picaWechat'
,
window
.
_picaWechat
);
const
{
pprotocolType
,
detectionRecordId
,
yunOrderNo
}
=
this
.
$route
.
query
;
this
.
pprotocolType
=
pprotocolType
||
31
;
this
.
detectionRecordId
=
detectionRecordId
;
this
.
getProtocolName
();
this
.
getRecordInfo
(
detectionRecordId
||
11077
);
this
.
getDetectionName
(
yunOrderNo
);
if
(
pprotocolType
&&
detectionRecordId
&&
yunOrderNo
)
{
this
.
pprotocolType
=
pprotocolType
;
this
.
detectionRecordId
=
detectionRecordId
;
this
.
getProtocolName
();
this
.
getRecordInfo
(
detectionRecordId
);
this
.
getDetectionName
(
yunOrderNo
);
}
else
{
this
.
$toast
(
'传递有误:'
,
pprotocolType
,
detectionRecordId
,
yunOrderNo
);
}
},
methods
:
{
clearCode
()
{
...
...
@@ -261,9 +267,9 @@ export default {
}
else
{
if
(
this
.
isCheck
&&
this
.
barCode
)
{
const
o
=
{
projectId
:
this
.
insurance
Info
.
projectId
,
projectId
:
this
.
record
Info
.
projectId
,
sampleCode
:
this
.
barCode
,
hospitalId
:
this
.
insurance
Info
.
hospitalId
hospitalId
:
this
.
record
Info
.
hospitalId
};
this
.
$loading
.
show
();
sampleCodeValidate
(
o
).
then
(
res
=>
{
...
...
@@ -277,6 +283,9 @@ export default {
}).
finally
(()
=>
{
this
.
$loading
.
hide
();
});
}
else
{
this
.
$toast
(
'请输入条形码'
);
return
false
;
}
}
},
...
...
@@ -284,7 +293,7 @@ export default {
// const {beneficiaryPatientId } = this.orderInfo;
const
obj
=
{
protocolType
:
this
.
pprotocolType
,
patientId
:
212773027
patientId
:
this
.
recordInfo
.
patientId
};
signDetection
(
obj
).
then
(
res
=>
{
if
(
res
.
code
!==
'000000'
)
{
...
...
@@ -352,6 +361,11 @@ export default {
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
;
// patientId
}
});
...
...
@@ -360,10 +374,11 @@ export default {
bindingCode
()
{
const
obj
=
{
barCode
:
this
.
barCode
,
id
:
this
.
recordID
,
prototypeId
:
this
.
pprotocolType
?
this
.
pprotocolType
:
0
,
prototypeLogId
:
this
.
prototypeLogId
?
this
.
prototypeLogId
:
0
,
id
:
this
.
detectionRecordId
,
prototypeId
:
this
.
pprotocolType
,
prototypeLogId
:
this
.
prototypeLogId
,
};
console
.
log
(
'--obj--'
,
obj
);
bindingSampleCode
(
obj
).
then
(
res
=>
{
if
(
res
.
code
!==
'000000'
)
{
return
this
.
$toast
(
res
.
message
);
...
...
@@ -377,7 +392,7 @@ export default {
{
path
:
'/insuranceBindCodeSuccess'
,
query
:
{
projectId
:
this
.
projectId
||
9
,
projectId
:
this
.
projectId
,
detectionRecordId
:
this
.
detectionRecordId
},
}
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录