OCR查询问题处理
This commit is contained in:
parent
19938ecd15
commit
b9cf0abe54
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
// 再次尝试检查插件
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue