|
|
@ -278,7 +278,7 @@ |
|
|
|
<InitWarn |
|
|
|
v-if="idCardInserted" |
|
|
|
:visible="idCardInserted" |
|
|
|
title="检测到id卡插入" |
|
|
|
title="检测到id卡插入,是否保存?" |
|
|
|
:message="idCardMessage" |
|
|
|
cancelText="返回" |
|
|
|
icon="/src/assets/update-pin-icon.svg" |
|
|
@ -467,6 +467,7 @@ const handleAppEvent = (data: AppEventMessage['data']) => { |
|
|
|
consumableStore.setIdCardInfo(projectInfo) |
|
|
|
//显示部分id卡信息。 项目名称,过期时间,批次号 |
|
|
|
idCardInserted.value = true |
|
|
|
//接收端是用v-html处理 |
|
|
|
idCardMessage.value = ` |
|
|
|
<div style='line-height:0.5;margin-top: -90px;'> |
|
|
|
<div style='margin-left:25%'> |
|
|
@ -474,8 +475,7 @@ const handleAppEvent = (data: AppEventMessage['data']) => { |
|
|
|
<div style='display:flex'><div>批次号:</div><div>${projectInfo.lotId}</div></div> |
|
|
|
<div style='display:flex'><div>过期时间:</div><div>${formatDate(projectInfo.expiryDate)}</div></div> |
|
|
|
</div> |
|
|
|
<div style='font-weight: 700;font-size: 1.75rem'>id卡已插入,是否保存?</div> |
|
|
|
</div><br/>` |
|
|
|
</div>` |
|
|
|
} else if (data.typeName === 'AppIDCardUnmountEvent') { |
|
|
|
consumableStore.setIdCardInserted(false) |
|
|
|
consumableStore.setIdCardInfo(null) |
|
|
@ -1121,7 +1121,7 @@ watch( |
|
|
|
|
|
|
|
.pd-5{ |
|
|
|
padding: 0 5px; |
|
|
|
font-size: 25px; |
|
|
|
font-size: 28px; |
|
|
|
} |
|
|
|
|
|
|
|
.loading-overlay { |
|
|
|