Browse Source

拜访门店任务添加照片从相册选择功能

zhujindu 10 months ago
parent
commit
eedc6f13ce
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/views/deviceWithin/addStoreVisit.vue

+ 4 - 0
src/views/deviceWithin/addStoreVisit.vue

@@ -2592,6 +2592,7 @@
             :putInCode="putInCode"
             @newimgarr="newimgarr1"
             @typeshow="typeshow"
+            :photoIdentifyType="photoIdentifyType"
             updateImgMode="album"></upload-img>
         </template>
       </van-cell>
@@ -2752,6 +2753,7 @@ export default {
       deviceCode: '',
       putInCode: '',
       examplePhotoImg: '', //示例-操作说明图标地址
+      photoIdentifyType: null, //图片识别类型
       pictureSource: '0',
     };
   },
@@ -2772,6 +2774,7 @@ export default {
     this.taskId = this.$route.query.taskId + '';
     this.storeId = this.$route.query.storeId + '';
     this.isMust == this.$route.query.isMust + '';
+    this.photoIdentifyType = this.$route.query.photoIdentifyType;
     this.storeGroupId = this.$route.query.storeGroupId + '';
     if (this.$route.query.photoType != null) {
       this.indexselect = 0;
@@ -2789,6 +2792,7 @@ export default {
     this.taskId = this.$route.query.taskId + '';
     this.storeId = this.$route.query.storeId + '';
     this.isMust == this.$route.query.isMust + '';
+    this.photoIdentifyType = this.$route.query.photoIdentifyType;
     this.storeGroupId = this.$route.query.storeGroupId + '';
     if (this.$route.query.photoType != null) {
       this.indexselect = 0;