zhujindu hai 1 ano
pai
achega
cf3948406a
Modificáronse 1 ficheiros con 6 adicións e 5 borrados
  1. 6 5
      src/views/deviceWithin/addStoreVisit.vue

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

@@ -3822,6 +3822,7 @@ export default {
     },
     newimgarr1(val) {
       console.log(JSON.stringify(val));
+      console.log('pType=' + this.pType);
       this.show = false;
       //是否开启图匠识别,(1:店招内容识别,2:门店代码识别,3:调色机识别,4:更换店招)
       //  拍摄店招时只允许上传一张
@@ -3837,8 +3838,8 @@ export default {
         }
         if (photoIdentifyType == 1) {
           // fileInfoList = [val];
-
           this.$set(fileInfoList, 0, [val]);
+          console.log('fileInfoList=' + fileInfoList);
         } else {
           fileInfoList.push(val);
         }
@@ -3855,8 +3856,8 @@ export default {
         }
         if (photoIdentifyType == 1) {
           // fileInfoList = [val];
-
           this.$set(fileInfoList, 0, [val]);
+          console.log('fileInfoList=' + fileInfoList);
         } else {
           fileInfoList.push(val);
         }
@@ -3892,8 +3893,8 @@ export default {
             }
             if (photoIdentifyType == 1) {
               // fileInfoList = [val];
-
               this.$set(fileInfoList, 0, [val]);
+              console.log('fileInfoList=' + fileInfoList);
             } else {
               fileInfoList.push(val);
             }
@@ -3905,8 +3906,8 @@ export default {
           }
           if (photoIdentifyType == 1) {
             // fileInfoList = [val];
-
             this.$set(fileInfoList, 0, [val]);
+            console.log('fileInfoList=' + fileInfoList);
           } else {
             fileInfoList.push(val);
           }
@@ -3922,8 +3923,8 @@ export default {
         }
         if (photoIdentifyType == 1) {
           // fileInfoList = [val];
-
           this.$set(fileInfoList, 0, [val]);
+          console.log('fileInfoList=' + fileInfoList);
         } else {
           fileInfoList.push(val);
         }