|
|
@@ -2545,7 +2545,7 @@
|
|
|
<template #label> <span class="van-f-red">*</span>图片类型 </template>
|
|
|
</van-field>
|
|
|
<van-cell>
|
|
|
- <template #title> <span class="van-f-red">*</span>拍照上传 </template>
|
|
|
+ <template #title> <span class="van-f-red">*</span>图片上传 </template>
|
|
|
<template #right-icon>
|
|
|
<upload-img
|
|
|
:collectionId="collectionId"
|
|
|
@@ -2566,9 +2566,37 @@
|
|
|
:deviceCode="deviceCode"
|
|
|
:putInCode="putInCode"
|
|
|
@newimgarr="newimgarr1"
|
|
|
- @typeshow="typeshow"></upload-img>
|
|
|
+ @typeshow="typeshow"
|
|
|
+ :pictureSource="pictureSource"></upload-img>
|
|
|
</template>
|
|
|
</van-cell>
|
|
|
+ <!-- <van-cell v-if="pictureSource == '1'">
|
|
|
+ <template #title> <span class="van-f-red">*</span>相册选择</template>
|
|
|
+ <template #right-icon>
|
|
|
+ <upload-img
|
|
|
+ :collectionId="collectionId"
|
|
|
+ :parentCollectionId="parentCollectionId"
|
|
|
+ :secondCollectionId="secondCollectionId"
|
|
|
+ :firstCollectionId="firstCollectionId"
|
|
|
+ :fourthCollectionId="fourthCollectionId"
|
|
|
+ :thirdCollectionId="thirdCollectionId"
|
|
|
+ :imgArr="imgs"
|
|
|
+ :objectType="PhotoType"
|
|
|
+ :shouws="true"
|
|
|
+ :storeGroupId="storeGroupId"
|
|
|
+ :taskId="taskId"
|
|
|
+ :uploadid="uploadid2"
|
|
|
+ :visitModel="1 + ''"
|
|
|
+ :visitsId="visitId"
|
|
|
+ :childIndex="childIndex"
|
|
|
+ :deviceCode="deviceCode"
|
|
|
+ :putInCode="putInCode"
|
|
|
+ @newimgarr="newimgarr1"
|
|
|
+ @typeshow="typeshow"
|
|
|
+ :photoIdentifyType="photoIdentifyType"
|
|
|
+ updateImgMode="album"></upload-img>
|
|
|
+ </template>
|
|
|
+ </van-cell> -->
|
|
|
</van-dialog>
|
|
|
<!-- list-->
|
|
|
<van-dialog v-model="listShow" title="历史回显" show-cancel-button :showConfirmButton="false">
|
|
|
@@ -2726,6 +2754,8 @@ export default {
|
|
|
deviceCode: '',
|
|
|
putInCode: '',
|
|
|
examplePhotoImg: '', //示例-操作说明图标地址
|
|
|
+ photoIdentifyType: null, //图片识别类型
|
|
|
+ pictureSource: '0',
|
|
|
};
|
|
|
},
|
|
|
beforeRouteLeave(to, from, next) {
|
|
|
@@ -2745,6 +2775,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;
|
|
|
@@ -2762,6 +2793,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;
|
|
|
@@ -3744,6 +3776,7 @@ export default {
|
|
|
this.secondCollectionId = val.secondCollectionId;
|
|
|
this.thirdCollectionId = val.thirdCollectionId;
|
|
|
this.fourthCollectionId = val.fourthCollectionId;
|
|
|
+ this.pictureSource = val.pictureSource; //是否允许从相册选择图片
|
|
|
this.indeximg = index;
|
|
|
this.childIndex = childIndex;
|
|
|
this.childIndex1 = childIndex1;
|