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
提交
410408ac
提交
410408ac
编写于
2月 15, 2023
作者:
张磊
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'feature/zl2' into 'develop'
auto commit See merge request
!16
上级
de3b4971
79f059f5
变更
4
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
38 行增加
和
56 行删除
+38
-56
insurance-bind-code.vue
src/views/insurance-bind-code/insurance-bind-code.vue
+22
-2
index.scss
src/views/insurance-bindCode-success/index.scss
+1
-0
insurance-bindCode-success.vue
...insurance-bindCode-success/insurance-bindCode-success.vue
+15
-35
insurance-detection-detail.vue
...insurance-detection-detail/insurance-detection-detail.vue
+0
-19
未找到文件。
src/views/insurance-bind-code/insurance-bind-code.vue
浏览文件 @
410408ac
...
...
@@ -141,6 +141,7 @@
show-cancel-button=
"true"
confirm-button-text=
"确认提交"
cancel-button-text=
"返回修改"
@
confirm=
"toBindSuccess"
>
<div
class=
"binding-code-showInfo"
>
<div
class=
"title"
>
...
...
@@ -205,7 +206,7 @@ export default {
showBindingInfo
:
true
,
showEditModal
:
false
,
isCheck
:
false
,
barCode
:
'
123213123123123
'
,
barCode
:
'
020987654321
'
,
protocolName
:
''
,
prototypeId
:
''
,
prototypeLogId
:
''
,
...
...
@@ -268,7 +269,16 @@ export default {
clearCode
()
{
this
.
barCode
=
''
;
},
scanCode
()
{},
scanCode
()
{
window
.
wx
&&
window
.
wx
.
scanQRCode
({
needResult
:
0
,
// 默认为0,扫描结果由微信处理,1则直接返回扫描结果,
scanType
:
[
'qrCode'
,
'barCode'
],
// 可以指定扫二维码还是一维码,默认二者都有
success
:
function
(
res
)
{
console
.
log
(
'---res'
,
res
);
// var result = res.resultStr; // 当needResult 为 1 时,扫码返回的结果
}
});
},
toggleBindingInfo
()
{
if
(
!
this
.
isCheck
&&
this
.
detectionData
.
pprotocolType
)
{
this
.
goProtocol
();
...
...
@@ -378,6 +388,16 @@ export default {
}
});
},
toBindSuccess
()
{
this
.
$router
.
push
(
{
path
:
'/insuranceBindCodeSuccess'
,
query
:
{
id
:
this
.
projectId
,
},
}
);
}
}
};
...
...
src/views/insurance-bindCode-success/index.scss
浏览文件 @
410408ac
...
...
@@ -135,6 +135,7 @@
flex-direction
:
column
;
align-items
:
center
;
justify-content
:
center
;
margin-top
:
60px
;
.sumbit-button
{
width
:
352px
;
height
:
40px
;
...
...
src/views/insurance-bindCode-success/insurance-bindCode-success.vue
浏览文件 @
410408ac
...
...
@@ -79,7 +79,7 @@
</div>
</
template
>
<
script
>
import
{
getDetectionDetail
,
getDetectionDetailProces
}
from
'@/api/detection'
;
import
{
getDetectionDetail
}
from
'@/api/detection'
;
export
default
{
filters
:
{
sexFilter
(
val
)
{
...
...
@@ -112,50 +112,30 @@ export default {
getDetectionDetail
(
this
.
id
).
then
((
res
)
=>
{
if
(
res
.
code
===
'000000'
)
{
this
.
dataDetail
=
res
.
data
;
this
.
getDetailProces
();
console
.
log
(
res
,
'eeeeeeeeeee'
,
this
.
dataDetail
);
}
else
{
this
.
$toast
(
res
.
message
);
}
});
},
sampleDetection
()
{
// 样本送检测sale-mall-crm/sample-inspection?hospitalId=58436
// 检测详情
bottomBtnFun
()
{
this
.
$router
.
push
({
name
:
'SampleInspection
'
,
path
:
'/insuranceDetectionDetail
'
,
query
:
{
hospitalId
:
this
.
dataDetail
.
hospitalId
,
id
:
11073
,
},
});
},
// 检测详情
getDetailProces
()
{
getDetectionDetailProces
(
this
.
id
).
then
((
res
)
=>
{
if
(
res
.
code
===
'000000'
)
{
var
flag
=
false
;
const
data
=
res
.
data
||
[];
console
.
log
(
this
.
dataDetail
);
data
.
forEach
((
item
)
=>
{
if
(
item
.
status
==
this
.
dataDetail
.
status
)
{
item
.
complate
=
false
;
flag
=
true
;
}
else
{
console
.
log
(
flag
,
'flag'
);
if
(
!
flag
)
{
item
.
complate
=
true
;
}
else
{
item
.
complate
=
false
;
}
}
});
this
.
dataList
=
data
;
console
.
log
(
this
.
dataList
,
'res111111'
);
}
else
{
this
.
$toast
(
res
.
message
);
}
});
},
bottomBtnFun
()
{
copyText
(
item
)
{
const
input
=
document
.
createElement
(
'input'
);
input
.
value
=
item
;
document
.
body
.
appendChild
(
input
);
input
.
select
();
input
.
setSelectionRange
(
0
,
input
.
value
.
length
);
document
.
execCommand
(
'Copy'
);
document
.
body
.
removeChild
(
input
);
this
.
$toast
(
'已复制'
);
window
.
scrollTo
(
0
,
1
);
},
},
};
...
...
src/views/insurance-detection-detail/insurance-detection-detail.vue
浏览文件 @
410408ac
...
...
@@ -278,15 +278,6 @@ export default {
console
.
log
(
'已复制的内容:'
,
val
);
window
.
scrollTo
(
0
,
1
);
},
sampleDetection
()
{
// 样本送检测sale-mall-crm/sample-inspection?hospitalId=58436
this
.
$router
.
push
({
name
:
'SampleInspection'
,
query
:
{
hospitalId
:
this
.
dataDetail
.
hospitalId
,
},
});
},
// 检测详情
getDetailProces
()
{
getDetectionDetailProces
(
this
.
id
).
then
((
res
)
=>
{
...
...
@@ -324,16 +315,6 @@ export default {
},
bottomBtnFun
()
{
// 底部按钮点击
const
objFun
=
{
3
:
'seeReport'
,
// 已完成 查看报告
// 1: 'goBindCode', // 待采样 绑定条形码
// 6: 'goPay', // 去支付
2
:
'sampleDetection'
,
// 去送检
};
console
.
log
(
this
.
dataDetail
.
status
);
const
funName
=
objFun
[
this
.
dataDetail
.
status
];
console
.
log
(
funName
);
funName
&&
this
[
funName
]();
},
},
};
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录