提交 f8d9c960 编写于 作者: binbin.yu's avatar binbin.yu

feat:绑定采样码按钮展示逻辑修改

上级 76d42ff8
...@@ -192,8 +192,10 @@ ...@@ -192,8 +192,10 @@
重新预约 重新预约
</div> </div>
<div <div
v-if="bindFlag>0"
class="detail-btn" class="detail-btn"
@click="bindingCode" @click="bindingCode"
> >
绑定{{ 绑定{{
insuranceInfo && insuranceInfo.detectionKind == 0 insuranceInfo && insuranceInfo.detectionKind == 0
...@@ -262,6 +264,7 @@ export default { ...@@ -262,6 +264,7 @@ export default {
verificationCode: '', verificationCode: '',
intervalId: null, intervalId: null,
status: '', status: '',
bindFlag:1, // 是否显示绑定条形码的按钮
}; };
}, },
computed: { computed: {
...@@ -334,12 +337,14 @@ export default { ...@@ -334,12 +337,14 @@ export default {
sampleCode, sampleCode,
externalOrderNo, externalOrderNo,
projectEquityNo, projectEquityNo,
bindFlag,
} = res.data; } = res.data;
this.detailInfo = res.data; this.detailInfo = res.data;
this.expireFlag = expireFlag || ''; this.expireFlag = expireFlag || '';
this.isUnderLine = res.data.detectionCategory == 2; this.isUnderLine = res.data.detectionCategory == 2;
this.qrcodeUrl = qrCodeUrl; this.qrcodeUrl = qrCodeUrl;
this.verificationCode = verificationCode; this.verificationCode = verificationCode;
this.bindFlag = bindFlag; // 是否展示绑定条形码功能
if (window._miniprogram) { if (window._miniprogram) {
if (status != '0202') { if (status != '0202') {
let url; let url;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册