Przeglądaj źródła

图像识别页面优化

zhujindu 11 miesięcy temu
rodzic
commit
4e439f3bda
1 zmienionych plików z 6 dodań i 4 usunięć
  1. 6 4
      src/components/imageAIVerifyErr.vue

+ 6 - 4
src/components/imageAIVerifyErr.vue

@@ -177,11 +177,13 @@ export default {
         this.source == 'visit'
           ? this.imageAIVerifyData.npkpiData
           : this.imageAIVerifyData[0].npkpiData;
+      let imageAIVerifyData =
+        this.source == 'visit' ? this.imageAIVerifyData : this.imageAIVerifyData[0];
       this.shopSignMatchList = this.npkpiData.shopSignMatchList;
-      this.url = this.imageAIVerifyData.url || ''; //	图片路径
-      this.createStoreUrl = this.imageAIVerifyData.createStoreUrl || ''; //	建店时店招
-      this.lastVisitUrl = this.imageAIVerifyData.lastVisitUrl || ''; //	上次拜访时店招
-      this.storeIDCardUrl = this.imageAIVerifyData.storeIDCardUrl || ''; //	门店身份证
+      this.url = imageAIVerifyData.url || ''; //	图片路径
+      this.createStoreUrl = imageAIVerifyData.createStoreUrl || ''; //	建店时店招
+      this.lastVisitUrl = imageAIVerifyData.lastVisitUrl || ''; //	上次拜访时店招
+      this.storeIDCardUrl = imageAIVerifyData.storeIDCardUrl || ''; //	门店身份证
       // 先判断照片作弊情况,然后是否合格,然后是否和历史照片一致
       // 作弊和不合格记录识别次数,超过两次弹框提醒
       if (this.npkpiData.checkInfo) {