OCR查询问题处理
This commit is contained in:
parent
19938ecd15
commit
b9cf0abe54
|
|
@ -44,7 +44,7 @@
|
||||||
<div
|
<div
|
||||||
style="width: 50%; display: flex; justify-content: end; align-items: center"
|
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 }}
|
{{ tagInfo.inspectStatus }}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -109,8 +109,8 @@
|
||||||
canvas-id="canvas"
|
canvas-id="canvas"
|
||||||
style="
|
style="
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 15px;
|
bottom: 28px;
|
||||||
right: 10px;
|
right: 3px;
|
||||||
width: 200px;
|
width: 200px;
|
||||||
height: 200px;
|
height: 200px;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
|
|
@ -175,7 +175,7 @@
|
||||||
|
|
||||||
<div style="margin-top: 0px; display: flex; align-items: center">
|
<div style="margin-top: 0px; display: flex; align-items: center">
|
||||||
<span>检验结果:</span>
|
<span>检验结果:</span>
|
||||||
<span style="margin-left: 40px; color: #ef3e3e; font-size: 22px">
|
<span style="margin-left: 40px; color: #ef3e3e; font-size: 20px">
|
||||||
{{ tagInfo.inspectStatus }}
|
{{ tagInfo.inspectStatus }}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -201,8 +201,8 @@
|
||||||
canvas-id="canvasTwo"
|
canvas-id="canvasTwo"
|
||||||
style="
|
style="
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 15px;
|
bottom: 28px;
|
||||||
right: 10px;
|
right: 3px;
|
||||||
width: 200px;
|
width: 200px;
|
||||||
height: 200px;
|
height: 200px;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
|
|
|
||||||
|
|
@ -141,7 +141,7 @@
|
||||||
></canvas>
|
></canvas>
|
||||||
<div style="width: 100%;">
|
<div style="width: 100%;">
|
||||||
<div v-if="isOverToday && codeData.nextCheckTime">该工器具已临近下次检验时间,请及时退还至机具(物流)分公司!</div>
|
<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>
|
</div>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -331,6 +331,7 @@ export default {
|
||||||
// 打开相机 - 改进版本
|
// 打开相机 - 改进版本
|
||||||
async openCamera() {
|
async openCamera() {
|
||||||
console.log('尝试打开相机...');
|
console.log('尝试打开相机...');
|
||||||
|
this.codeData = {}
|
||||||
if (!this.cameraReady) {
|
if (!this.cameraReady) {
|
||||||
// 再次尝试检查插件
|
// 再次尝试检查插件
|
||||||
this.checkCameraPlugin();
|
this.checkCameraPlugin();
|
||||||
|
|
|
||||||
|
|
@ -141,7 +141,7 @@
|
||||||
></canvas>
|
></canvas>
|
||||||
<div style="width: 100%;">
|
<div style="width: 100%;">
|
||||||
<div v-if="isOverToday && codeData.nextCheckTime">该工器具已临近下次检验时间,请及时退还至机具(物流)分公司!</div>
|
<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>
|
</div>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -331,6 +331,7 @@ export default {
|
||||||
|
|
||||||
// 打开相机 - 改进版本
|
// 打开相机 - 改进版本
|
||||||
async openCamera() {
|
async openCamera() {
|
||||||
|
this.codeData = {}
|
||||||
console.log('尝试打开相机...');
|
console.log('尝试打开相机...');
|
||||||
if (!this.cameraReady) {
|
if (!this.cameraReady) {
|
||||||
// 再次尝试检查插件
|
// 再次尝试检查插件
|
||||||
|
|
|
||||||
|
|
@ -76,7 +76,7 @@
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<div v-if="isOverToday && codeData.nextCheckTime">该工器具已临近下次检验时间,请及时退还至机具(物流)分公司!</div>
|
<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>
|
</scroll-view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue