Jelajahi Sumber

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

zhujindu 10 bulan lalu
induk
melakukan
205401cb55
1 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 3 3
      src/views/deviceWithin/addStoreVisit.vue

+ 3 - 3
src/views/deviceWithin/addStoreVisit.vue

@@ -2569,7 +2569,7 @@
             @typeshow="typeshow"></upload-img>
         </template>
       </van-cell>
-      <van-cell v-if="isAlbumPicture == '1'">
+      <van-cell v-if="pictureSource == '1'">
         <template #title> <span class="van-f-red">*</span>相册选择</template>
         <template #right-icon>
           <upload-img
@@ -2752,7 +2752,7 @@ export default {
       deviceCode: '',
       putInCode: '',
       examplePhotoImg: '', //示例-操作说明图标地址
-      isAlbumPicture: '0',
+      pictureSource: '0',
     };
   },
   beforeRouteLeave(to, from, next) {
@@ -3771,7 +3771,7 @@ export default {
       this.secondCollectionId = val.secondCollectionId;
       this.thirdCollectionId = val.thirdCollectionId;
       this.fourthCollectionId = val.fourthCollectionId;
-      this.isAlbumPicture = val.isAlbumPicture; //是否允许从相册选择图片
+      this.pictureSource = val.pictureSource; //是否允许从相册选择图片
       this.indeximg = index;
       this.childIndex = childIndex;
       this.childIndex1 = childIndex1;