OCR查询问题处理

This commit is contained in:
bb_pan 2025-08-13 19:27:07 +08:00
parent 19938ecd15
commit b9cf0abe54
4 changed files with 11 additions and 9 deletions

View File

@ -44,7 +44,7 @@
<div
style="width: 50%; display: flex; justify-content: end; align-items: center"
>
<span style="color: #ef3e3e; margin-right: 20px; font-size: 26px">
<span style="color: #ef3e3e; margin-right: 20px; font-size: 20px">
{{ tagInfo.inspectStatus }}
</span>
</div>
@ -109,8 +109,8 @@
canvas-id="canvas"
style="
position: absolute;
bottom: 15px;
right: 10px;
bottom: 28px;
right: 3px;
width: 200px;
height: 200px;
z-index: 10;
@ -175,7 +175,7 @@
<div style="margin-top: 0px; display: flex; align-items: center">
<span>检验结果</span>
<span style="margin-left: 40px; color: #ef3e3e; font-size: 22px">
<span style="margin-left: 40px; color: #ef3e3e; font-size: 20px">
{{ tagInfo.inspectStatus }}
</span>
</div>
@ -201,8 +201,8 @@
canvas-id="canvasTwo"
style="
position: absolute;
bottom: 15px;
right: 10px;
bottom: 28px;
right: 3px;
width: 200px;
height: 200px;
z-index: 10;

View File

@ -141,7 +141,7 @@
></canvas>
<div style="width: 100%;">
<div v-if="isOverToday && codeData.nextCheckTime">该工器具已临近下次检验时间请及时退还至机具物流分公司</div>
<ElectronicSeal v-else :maCode="codeData?.maCode" :maId="codeData?.maId" :devType="2" />
<ElectronicSeal v-else v-show="codeData.maId" :maCode="codeData?.maCode" :maId="codeData?.maId" :devType="2" />
</div>
</view>
</template>
@ -331,6 +331,7 @@ export default {
// -
async openCamera() {
console.log('尝试打开相机...');
this.codeData = {}
if (!this.cameraReady) {
//
this.checkCameraPlugin();

View File

@ -141,7 +141,7 @@
></canvas>
<div style="width: 100%;">
<div v-if="isOverToday && codeData.nextCheckTime">该工器具已临近下次检验时间请及时退还至机具物流分公司</div>
<ElectronicSeal v-else :maCode="codeData?.maCode" :maId="codeData?.maId" :devType="codeData.devType" />
<ElectronicSeal v-else v-show="codeData.maId" :maCode="codeData?.maCode" :maId="codeData?.maId" :devType="codeData.devType" />
</div>
</view>
</template>
@ -331,6 +331,7 @@ export default {
// -
async openCamera() {
this.codeData = {}
console.log('尝试打开相机...');
if (!this.cameraReady) {
//

View File

@ -76,7 +76,7 @@
</view>
<div v-if="isOverToday && codeData.nextCheckTime">该工器具已临近下次检验时间请及时退还至机具物流分公司</div>
<ElectronicSeal v-else :maCode="codeData?.maCode" :maId="codeData?.maId" :devType="2" />
<ElectronicSeal v-else v-show="codeData.maId" :maCode="codeData?.maCode" :maId="codeData?.maId" :devType="2" />
</scroll-view>
</view>
</template>