zhujindu il y a 1 an
Parent
commit
74c6b92a56
2 fichiers modifiés avec 11 ajouts et 6 suppressions
  1. 0 1
      src/components/imageAIVerifyErr.vue
  2. 11 5
      src/views/deviceWithin/addStoreVisit.vue

+ 0 - 1
src/components/imageAIVerifyErr.vue

@@ -111,7 +111,6 @@ export default {
       // cheatType	作弊类型
       // qualifiedState 是否合格(0:不合格,1:合格)
       // unqualifiedReason	不合格原因
-      console.log('imageAIVerifyData=' + JSON.stringify(this.imageAIVerifyData));
       let npkpiData =
         this.source == 'visit'
           ? this.imageAIVerifyData.npkpiData

+ 11 - 5
src/views/deviceWithin/addStoreVisit.vue

@@ -3821,6 +3821,7 @@ export default {
       this.show = true;
     },
     newimgarr1(val) {
+      console.log(JSON.stringify(val));
       this.show = false;
       //是否开启图匠识别,(1:店招内容识别,2:门店代码识别,3:调色机识别,4:更换店招)
       //  拍摄店招时只允许上传一张
@@ -3835,7 +3836,8 @@ export default {
           fileInfoList = [];
         }
         if (photoIdentifyType == 1) {
-          fileInfoList = [val];
+          // fileInfoList = [val];
+          this.$set(fileInfoList, 0, val);
         } else {
           fileInfoList.push(val);
         }
@@ -3851,7 +3853,8 @@ export default {
           fileInfoList = [];
         }
         if (photoIdentifyType == 1) {
-          fileInfoList = [val];
+          // fileInfoList = [val];
+          this.$set(fileInfoList, 0, val);
         } else {
           fileInfoList.push(val);
         }
@@ -3886,7 +3889,8 @@ export default {
               fileInfoList = [];
             }
             if (photoIdentifyType == 1) {
-              fileInfoList = [val];
+              // fileInfoList = [val];
+              this.$set(fileInfoList, 0, val);
             } else {
               fileInfoList.push(val);
             }
@@ -3897,7 +3901,8 @@ export default {
             fileInfoList = [];
           }
           if (photoIdentifyType == 1) {
-            fileInfoList = [val];
+            // fileInfoList = [val];
+            this.$set(fileInfoList, 0, val);
           } else {
             fileInfoList.push(val);
           }
@@ -3912,7 +3917,8 @@ export default {
           fileInfoList = [];
         }
         if (photoIdentifyType == 1) {
-          fileInfoList = [val];
+          // fileInfoList = [val];
+          this.$set(fileInfoList, 0, val);
         } else {
           fileInfoList.push(val);
         }