|
@@ -21,71 +21,35 @@
|
|
|
class="container"
|
|
class="container"
|
|
|
style="width: 94%; margin: 0 auto; border-radius: 6px; padding: 10px 10px 10px 0">
|
|
style="width: 94%; margin: 0 auto; border-radius: 6px; padding: 10px 10px 10px 0">
|
|
|
<van-form ref="tabstoreVal">
|
|
<van-form ref="tabstoreVal">
|
|
|
- <div class="formLabel z-cell">
|
|
|
|
|
- <van-cell>
|
|
|
|
|
- <template #title>
|
|
|
|
|
- <span v-if="formData.isMust == 0" class="van-f-red">*</span>
|
|
|
|
|
- <span>1.</span>
|
|
|
|
|
- {{ formData.collectionName }}
|
|
|
|
|
- <!-- 操作说明图片和电话 -->
|
|
|
|
|
- <taskTips
|
|
|
|
|
- v-if="formData.contactPhone || formData.examplePhoto"
|
|
|
|
|
- :contactPhone="formData.contactPhone"
|
|
|
|
|
- :examplePhoto="formData.examplePhoto">
|
|
|
|
|
- </taskTips>
|
|
|
|
|
- </template>
|
|
|
|
|
- </van-cell>
|
|
|
|
|
- <delete-upload-img :imgs="formData.fileInfoList"></delete-upload-img>
|
|
|
|
|
|
|
+ <div v-for="(item, index) in formData.collectionItemList" :key="index">
|
|
|
|
|
+ <div v-if="item.answerType == 'zp'" class="formLabel z-cell">
|
|
|
|
|
+ <van-cell>
|
|
|
|
|
+ <template #title>
|
|
|
|
|
+ <span v-if="item.isMust == 0" class="van-f-red">*</span>
|
|
|
|
|
+ <span>1.</span>
|
|
|
|
|
+ {{ item.collectionName }}
|
|
|
|
|
+ <!-- 操作说明图片和电话 -->
|
|
|
|
|
+ <taskTips
|
|
|
|
|
+ v-if="item.contactPhone || item.examplePhoto"
|
|
|
|
|
+ :contactPhone="item.contactPhone"
|
|
|
|
|
+ :examplePhoto="item.examplePhoto">
|
|
|
|
|
+ </taskTips>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </van-cell>
|
|
|
|
|
+ <delete-upload-img
|
|
|
|
|
+ :imgs="item.fileInfoList"
|
|
|
|
|
+ :storeGroupId="formData.storeGroupId"
|
|
|
|
|
+ :taskList="taskIds"
|
|
|
|
|
+ :visitsId="visitsId"
|
|
|
|
|
+ :collectionItemId="collectionId"
|
|
|
|
|
+ :putInCode="formData.putInCode"
|
|
|
|
|
+ :photoIdentifyType="formData.photoIdentifyType"
|
|
|
|
|
+ @upDataDetail="getDetaile"></delete-upload-img>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
</van-form>
|
|
</van-form>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <!-- <van-dialog v-model="show" :show-confirm-button="false" show-cancel-button title="上传图片">
|
|
|
|
|
- <van-field
|
|
|
|
|
- v-if="indexselect == '1'"
|
|
|
|
|
- :value="PhotoTypeText"
|
|
|
|
|
- clickable
|
|
|
|
|
- name="picker"
|
|
|
|
|
- placeholder="选择图片类型"
|
|
|
|
|
- readonly
|
|
|
|
|
- @click="showPicker = true">
|
|
|
|
|
- <template #label> <span class="van-f-red">*</span>图片类型 </template>
|
|
|
|
|
- </van-field>
|
|
|
|
|
- <van-cell>
|
|
|
|
|
- <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"
|
|
|
|
|
- :equipmentCode="equipmentCode"
|
|
|
|
|
- @newimgarr="newimgarr1"
|
|
|
|
|
- @typeshow="typeshow"
|
|
|
|
|
- :photoIdentifyType="photoIdentifyType"
|
|
|
|
|
- :pictureSource="pictureSource"
|
|
|
|
|
- :continuousShoot="continuousShoot"
|
|
|
|
|
- :inStore="machineInTheStore"
|
|
|
|
|
- ref="uploadVNormal"></upload-img>
|
|
|
|
|
- </template>
|
|
|
|
|
- </van-cell>
|
|
|
|
|
- <div v-if="continuousShoot == '1'" class="uploadImgNum" style="color: red; padding: 0px 16px">
|
|
|
|
|
- 注:拍照功能支持每次最多5张连拍,可多次连拍。
|
|
|
|
|
- </div>
|
|
|
|
|
- </van-dialog> -->
|
|
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
<script>
|
|
<script>
|
|
@@ -99,363 +63,14 @@ export default {
|
|
|
return {
|
|
return {
|
|
|
isEdit: true,
|
|
isEdit: true,
|
|
|
formData: null,
|
|
formData: null,
|
|
|
- taskIds: null,
|
|
|
|
|
|
|
+ taskIds: [],
|
|
|
|
|
+ visitsId: null,
|
|
|
|
|
+ collectionId: '',
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
activated() {
|
|
activated() {
|
|
|
- this.taskIds = this.$route.query.taskIds;
|
|
|
|
|
- // this.formData = {
|
|
|
|
|
- // searchValue: null,
|
|
|
|
|
- // createBy: null,
|
|
|
|
|
- // createTime: null,
|
|
|
|
|
- // updateBy: null,
|
|
|
|
|
- // updateTime: null,
|
|
|
|
|
- // remark: null,
|
|
|
|
|
- // params: {},
|
|
|
|
|
- // pageSize: null,
|
|
|
|
|
- // pageNum: null,
|
|
|
|
|
- // parentCollectionId: null,
|
|
|
|
|
- // firstCollectionId: null,
|
|
|
|
|
- // secondCollectionId: null,
|
|
|
|
|
- // thirdCollectionId: null,
|
|
|
|
|
- // fourthCollectionId: null,
|
|
|
|
|
- // collectionId: 252,
|
|
|
|
|
- // collectionCode: 'cj100102',
|
|
|
|
|
- // collectionName: '整体陈列',
|
|
|
|
|
- // collectionType: 'sdhcl',
|
|
|
|
|
- // isMust: '0',
|
|
|
|
|
- // isValid: '0',
|
|
|
|
|
- // isPicture: '0',
|
|
|
|
|
- // pictureSource: '1',
|
|
|
|
|
- // isMustPicture: '0',
|
|
|
|
|
- // answerType: 'zp',
|
|
|
|
|
- // delFlag: '0',
|
|
|
|
|
- // useType: 1,
|
|
|
|
|
- // showHistory: '0',
|
|
|
|
|
- // taskCollectionId: 3310,
|
|
|
|
|
- // taskId: null,
|
|
|
|
|
- // examplePhoto:
|
|
|
|
|
- // 'https://cdn-svs-test.nipponpaint.com.cn/176033302782908c7122f-027d-4dc8-8d73-859625472b5c%281%29.jpg?Expires=2075865827&OSSAccessKeyId=LTAI5tG1DTJFA16BHkzHVxjz&Signature=JnndklXdShGjFaD%2FqrjnMMj2dGQ%3D',
|
|
|
|
|
- // contactPhone: null,
|
|
|
|
|
- // itemList: null,
|
|
|
|
|
- // useFrequency: 19,
|
|
|
|
|
- // collectionRelatedId: null,
|
|
|
|
|
- // collectionOptionId: null,
|
|
|
|
|
- // levelDeep: null,
|
|
|
|
|
- // seqence: null,
|
|
|
|
|
- // inventoryNum: null,
|
|
|
|
|
- // signDictype: null,
|
|
|
|
|
- // relevancyItemId: null,
|
|
|
|
|
- // relevancyItemName: null,
|
|
|
|
|
- // relevancyItem: false,
|
|
|
|
|
- // collectionOptionList: null,
|
|
|
|
|
- // fileInfoList: [
|
|
|
|
|
- // {
|
|
|
|
|
- // searchValue: null,
|
|
|
|
|
- // createBy: 'YueALong',
|
|
|
|
|
- // createTime: '2026-01-12 17:37:20',
|
|
|
|
|
- // updateBy: '',
|
|
|
|
|
- // updateTime: '2026-01-12 17:37:19',
|
|
|
|
|
- // remark: null,
|
|
|
|
|
- // params: {},
|
|
|
|
|
- // pageSize: null,
|
|
|
|
|
- // pageNum: null,
|
|
|
|
|
- // id: 9639242,
|
|
|
|
|
- // userId: null,
|
|
|
|
|
- // objectId: null,
|
|
|
|
|
- // storeId: null,
|
|
|
|
|
- // visitsId: 28326220,
|
|
|
|
|
- // fileSize: 91,
|
|
|
|
|
- // fileName: '岳阿龙-生动化陈列-吴中区郭巷金钥匙五金经营部-202601120537154.jpg',
|
|
|
|
|
- // fileType: 'jpg',
|
|
|
|
|
- // fileUrl:
|
|
|
|
|
- // 'https://cdn-svs-test.nipponpaint.com.cn/%E5%B2%B3%E9%98%BF%E9%BE%99-%E7%94%9F%E5%8A%A8%E5%8C%96%E9%99%88%E5%88%97-%E5%90%B4%E4%B8%AD%E5%8C%BA%E9%83%AD%E5%B7%B7%E9%87%91%E9%92%A5%E5%8C%99%E4%BA%94%E9%87%91%E7%BB%8F%E8%90%A5%E9%83%A8-202601120537154.jpg?Expires=2083743439&OSSAccessKeyId=LTAI5tG1DTJFA16BHkzHVxjz&Signature=27%2FqhgrHZqHspKKTAO7u4j4gdmw%3D',
|
|
|
|
|
- // fileUrlOld:
|
|
|
|
|
- // 'https://qyapi.weixin.qq.com/cgi-bin/media/get?access_token=4Pym0-8rvczkuQCcJtlHZd1RPnZL_mqEDX_8eel1QiFvZ_kIFtyMzuIA6Wz7Jhi39Ok_mekbFv8nPzf6VVhoy5MMBTu94kbaaJnWcH-Ak8-zo2EMDj73xCYBPLFuQqLagiblBAVO7zngWPfE8i9TpLGNslP0emn5ygHEjJFCi_DjCbxtYJk1JAeoEB-OR2Tde8go903t29NetHOcU9nhzg&media_id=3RNbG_xTtOWoJs5P_ec-F6oEynpsGdb4Cg8PMVV77gdQlOJff76DTp8t6lJjY5WLQKeKDV82HlQHwn876hleshA',
|
|
|
|
|
- // frameUrl: null,
|
|
|
|
|
- // objectType: 'rw-sdhcl',
|
|
|
|
|
- // storeGroupId: '1153,1152,1131,1123,1122,1114,1100,1000,862,839,804,795,770',
|
|
|
|
|
- // taskId: 1040,
|
|
|
|
|
- // instanceId: null,
|
|
|
|
|
- // taskName: null,
|
|
|
|
|
- // taskType: null,
|
|
|
|
|
- // inspectionType: null,
|
|
|
|
|
- // unManage: null,
|
|
|
|
|
- // firstCollectionId: null,
|
|
|
|
|
- // secondCollectionId: null,
|
|
|
|
|
- // thirdCollectionId: null,
|
|
|
|
|
- // fourthCollectionId: null,
|
|
|
|
|
- // deviceCode: null,
|
|
|
|
|
- // putInCode: null,
|
|
|
|
|
- // equipmentCode: null,
|
|
|
|
|
- // collectionItemId: 252,
|
|
|
|
|
- // photoIdentifyId: null,
|
|
|
|
|
- // writeAgain: '0',
|
|
|
|
|
- // delFlag: null,
|
|
|
|
|
- // base64Url: null,
|
|
|
|
|
- // frequencyReset: '0',
|
|
|
|
|
- // taskIdList: null,
|
|
|
|
|
- // ids: null,
|
|
|
|
|
- // visitsIds: null,
|
|
|
|
|
- // startTime: null,
|
|
|
|
|
- // stopTime: null,
|
|
|
|
|
- // },
|
|
|
|
|
- // {
|
|
|
|
|
- // searchValue: null,
|
|
|
|
|
- // createBy: 'YueALong',
|
|
|
|
|
- // createTime: '2026-01-12 17:37:20',
|
|
|
|
|
- // updateBy: '',
|
|
|
|
|
- // updateTime: '2026-01-12 17:37:19',
|
|
|
|
|
- // remark: null,
|
|
|
|
|
- // params: {},
|
|
|
|
|
- // pageSize: null,
|
|
|
|
|
- // pageNum: null,
|
|
|
|
|
- // id: 9639241,
|
|
|
|
|
- // userId: null,
|
|
|
|
|
- // objectId: null,
|
|
|
|
|
- // storeId: null,
|
|
|
|
|
- // visitsId: 28326220,
|
|
|
|
|
- // fileSize: 98,
|
|
|
|
|
- // fileName: '岳阿龙-生动化陈列-吴中区郭巷金钥匙五金经营部-202601120537153.jpg',
|
|
|
|
|
- // fileType: 'jpg',
|
|
|
|
|
- // fileUrl:
|
|
|
|
|
- // 'https://cdn-svs-test.nipponpaint.com.cn/%E5%B2%B3%E9%98%BF%E9%BE%99-%E7%94%9F%E5%8A%A8%E5%8C%96%E9%99%88%E5%88%97-%E5%90%B4%E4%B8%AD%E5%8C%BA%E9%83%AD%E5%B7%B7%E9%87%91%E9%92%A5%E5%8C%99%E4%BA%94%E9%87%91%E7%BB%8F%E8%90%A5%E9%83%A8-202601120537153.jpg?Expires=2083743439&OSSAccessKeyId=LTAI5tG1DTJFA16BHkzHVxjz&Signature=KLVDY2ONFVEyUlc06GEWUXUc1YQ%3D',
|
|
|
|
|
- // fileUrlOld:
|
|
|
|
|
- // 'https://qyapi.weixin.qq.com/cgi-bin/media/get?access_token=4Pym0-8rvczkuQCcJtlHZd1RPnZL_mqEDX_8eel1QiFvZ_kIFtyMzuIA6Wz7Jhi39Ok_mekbFv8nPzf6VVhoy5MMBTu94kbaaJnWcH-Ak8-zo2EMDj73xCYBPLFuQqLagiblBAVO7zngWPfE8i9TpLGNslP0emn5ygHEjJFCi_DjCbxtYJk1JAeoEB-OR2Tde8go903t29NetHOcU9nhzg&media_id=3sRGyhLeDlvgqkCKc6JDCzBfna7-46iCQvN8SpHYhsbN7mS-UWq5gPKA92o_jK6TtetkYGWLW-mbUyBBT-k_52g',
|
|
|
|
|
- // frameUrl: null,
|
|
|
|
|
- // objectType: 'rw-sdhcl',
|
|
|
|
|
- // storeGroupId: '1153,1152,1131,1123,1122,1114,1100,1000,862,839,804,795,770',
|
|
|
|
|
- // taskId: 1040,
|
|
|
|
|
- // instanceId: null,
|
|
|
|
|
- // taskName: null,
|
|
|
|
|
- // taskType: null,
|
|
|
|
|
- // inspectionType: null,
|
|
|
|
|
- // unManage: null,
|
|
|
|
|
- // firstCollectionId: null,
|
|
|
|
|
- // secondCollectionId: null,
|
|
|
|
|
- // thirdCollectionId: null,
|
|
|
|
|
- // fourthCollectionId: null,
|
|
|
|
|
- // deviceCode: null,
|
|
|
|
|
- // putInCode: null,
|
|
|
|
|
- // equipmentCode: null,
|
|
|
|
|
- // collectionItemId: 252,
|
|
|
|
|
- // photoIdentifyId: null,
|
|
|
|
|
- // writeAgain: '0',
|
|
|
|
|
- // delFlag: null,
|
|
|
|
|
- // base64Url: null,
|
|
|
|
|
- // frequencyReset: '0',
|
|
|
|
|
- // taskIdList: null,
|
|
|
|
|
- // ids: null,
|
|
|
|
|
- // visitsIds: null,
|
|
|
|
|
- // startTime: null,
|
|
|
|
|
- // stopTime: null,
|
|
|
|
|
- // },
|
|
|
|
|
- // {
|
|
|
|
|
- // searchValue: null,
|
|
|
|
|
- // createBy: 'YueALong',
|
|
|
|
|
- // createTime: '2026-01-12 17:37:20',
|
|
|
|
|
- // updateBy: '',
|
|
|
|
|
- // updateTime: '2026-01-12 17:37:19',
|
|
|
|
|
- // remark: null,
|
|
|
|
|
- // params: {},
|
|
|
|
|
- // pageSize: null,
|
|
|
|
|
- // pageNum: null,
|
|
|
|
|
- // id: 9639240,
|
|
|
|
|
- // userId: null,
|
|
|
|
|
- // objectId: null,
|
|
|
|
|
- // storeId: null,
|
|
|
|
|
- // visitsId: 28326220,
|
|
|
|
|
- // fileSize: 97,
|
|
|
|
|
- // fileName: '岳阿龙-生动化陈列-吴中区郭巷金钥匙五金经营部-202601120537152.jpg',
|
|
|
|
|
- // fileType: 'jpg',
|
|
|
|
|
- // fileUrl:
|
|
|
|
|
- // 'https://cdn-svs-test.nipponpaint.com.cn/%E5%B2%B3%E9%98%BF%E9%BE%99-%E7%94%9F%E5%8A%A8%E5%8C%96%E9%99%88%E5%88%97-%E5%90%B4%E4%B8%AD%E5%8C%BA%E9%83%AD%E5%B7%B7%E9%87%91%E9%92%A5%E5%8C%99%E4%BA%94%E9%87%91%E7%BB%8F%E8%90%A5%E9%83%A8-202601120537152.jpg?Expires=2083743438&OSSAccessKeyId=LTAI5tG1DTJFA16BHkzHVxjz&Signature=RWF40truLsmFRP2eWCC8vLXkhVQ%3D',
|
|
|
|
|
- // fileUrlOld:
|
|
|
|
|
- // 'https://qyapi.weixin.qq.com/cgi-bin/media/get?access_token=4Pym0-8rvczkuQCcJtlHZd1RPnZL_mqEDX_8eel1QiFvZ_kIFtyMzuIA6Wz7Jhi39Ok_mekbFv8nPzf6VVhoy5MMBTu94kbaaJnWcH-Ak8-zo2EMDj73xCYBPLFuQqLagiblBAVO7zngWPfE8i9TpLGNslP0emn5ygHEjJFCi_DjCbxtYJk1JAeoEB-OR2Tde8go903t29NetHOcU9nhzg&media_id=3Syoq301LGwty8v23_TIOveXrBoi8LoUUhM9XeYcGYJbjKQ1QJWhs2DUgerO_35S_ja-lOp-4CkpgXr3_Fsh24A',
|
|
|
|
|
- // frameUrl: null,
|
|
|
|
|
- // objectType: 'rw-sdhcl',
|
|
|
|
|
- // storeGroupId: '1153,1152,1131,1123,1122,1114,1100,1000,862,839,804,795,770',
|
|
|
|
|
- // taskId: 1040,
|
|
|
|
|
- // instanceId: null,
|
|
|
|
|
- // taskName: null,
|
|
|
|
|
- // taskType: null,
|
|
|
|
|
- // inspectionType: null,
|
|
|
|
|
- // unManage: null,
|
|
|
|
|
- // firstCollectionId: null,
|
|
|
|
|
- // secondCollectionId: null,
|
|
|
|
|
- // thirdCollectionId: null,
|
|
|
|
|
- // fourthCollectionId: null,
|
|
|
|
|
- // deviceCode: null,
|
|
|
|
|
- // putInCode: null,
|
|
|
|
|
- // equipmentCode: null,
|
|
|
|
|
- // collectionItemId: 252,
|
|
|
|
|
- // photoIdentifyId: null,
|
|
|
|
|
- // writeAgain: '0',
|
|
|
|
|
- // delFlag: null,
|
|
|
|
|
- // base64Url: null,
|
|
|
|
|
- // frequencyReset: '0',
|
|
|
|
|
- // taskIdList: null,
|
|
|
|
|
- // ids: null,
|
|
|
|
|
- // visitsIds: null,
|
|
|
|
|
- // startTime: null,
|
|
|
|
|
- // stopTime: null,
|
|
|
|
|
- // },
|
|
|
|
|
- // {
|
|
|
|
|
- // searchValue: null,
|
|
|
|
|
- // createBy: 'YueALong',
|
|
|
|
|
- // createTime: '2026-01-12 17:37:20',
|
|
|
|
|
- // updateBy: '',
|
|
|
|
|
- // updateTime: '2026-01-12 17:37:19',
|
|
|
|
|
- // remark: null,
|
|
|
|
|
- // params: {},
|
|
|
|
|
- // pageSize: null,
|
|
|
|
|
- // pageNum: null,
|
|
|
|
|
- // id: 9639239,
|
|
|
|
|
- // userId: null,
|
|
|
|
|
- // objectId: null,
|
|
|
|
|
- // storeId: null,
|
|
|
|
|
- // visitsId: 28326220,
|
|
|
|
|
- // fileSize: 93,
|
|
|
|
|
- // fileName: '岳阿龙-生动化陈列-吴中区郭巷金钥匙五金经营部-202601120537151.jpg',
|
|
|
|
|
- // fileType: 'jpg',
|
|
|
|
|
- // fileUrl:
|
|
|
|
|
- // 'https://cdn-svs-test.nipponpaint.com.cn/%E5%B2%B3%E9%98%BF%E9%BE%99-%E7%94%9F%E5%8A%A8%E5%8C%96%E9%99%88%E5%88%97-%E5%90%B4%E4%B8%AD%E5%8C%BA%E9%83%AD%E5%B7%B7%E9%87%91%E9%92%A5%E5%8C%99%E4%BA%94%E9%87%91%E7%BB%8F%E8%90%A5%E9%83%A8-202601120537151.jpg?Expires=2083743438&OSSAccessKeyId=LTAI5tG1DTJFA16BHkzHVxjz&Signature=bX3y0xc35Uei4sIudxV7dHktTj4%3D',
|
|
|
|
|
- // fileUrlOld:
|
|
|
|
|
- // 'https://qyapi.weixin.qq.com/cgi-bin/media/get?access_token=4Pym0-8rvczkuQCcJtlHZd1RPnZL_mqEDX_8eel1QiFvZ_kIFtyMzuIA6Wz7Jhi39Ok_mekbFv8nPzf6VVhoy5MMBTu94kbaaJnWcH-Ak8-zo2EMDj73xCYBPLFuQqLagiblBAVO7zngWPfE8i9TpLGNslP0emn5ygHEjJFCi_DjCbxtYJk1JAeoEB-OR2Tde8go903t29NetHOcU9nhzg&media_id=3zB7QrnT0_QXdMEJaO17YunX6-NwpKVo4_CPyKBSHngBDN_-Oin7_a1rc8PGplhPhcR13eQYE4d7A_9m6S8hZRQ',
|
|
|
|
|
- // frameUrl: null,
|
|
|
|
|
- // objectType: 'rw-sdhcl',
|
|
|
|
|
- // storeGroupId: '1153,1152,1131,1123,1122,1114,1100,1000,862,839,804,795,770',
|
|
|
|
|
- // taskId: 1040,
|
|
|
|
|
- // instanceId: null,
|
|
|
|
|
- // taskName: null,
|
|
|
|
|
- // taskType: null,
|
|
|
|
|
- // inspectionType: null,
|
|
|
|
|
- // unManage: null,
|
|
|
|
|
- // firstCollectionId: null,
|
|
|
|
|
- // secondCollectionId: null,
|
|
|
|
|
- // thirdCollectionId: null,
|
|
|
|
|
- // fourthCollectionId: null,
|
|
|
|
|
- // deviceCode: null,
|
|
|
|
|
- // putInCode: null,
|
|
|
|
|
- // equipmentCode: null,
|
|
|
|
|
- // collectionItemId: 252,
|
|
|
|
|
- // photoIdentifyId: null,
|
|
|
|
|
- // writeAgain: '0',
|
|
|
|
|
- // delFlag: null,
|
|
|
|
|
- // base64Url: null,
|
|
|
|
|
- // frequencyReset: '0',
|
|
|
|
|
- // taskIdList: null,
|
|
|
|
|
- // ids: null,
|
|
|
|
|
- // visitsIds: null,
|
|
|
|
|
- // startTime: null,
|
|
|
|
|
- // stopTime: null,
|
|
|
|
|
- // },
|
|
|
|
|
- // {
|
|
|
|
|
- // searchValue: null,
|
|
|
|
|
- // createBy: 'YueALong',
|
|
|
|
|
- // createTime: '2026-01-12 17:37:20',
|
|
|
|
|
- // updateBy: '',
|
|
|
|
|
- // updateTime: '2026-01-12 17:37:19',
|
|
|
|
|
- // remark: null,
|
|
|
|
|
- // params: {},
|
|
|
|
|
- // pageSize: null,
|
|
|
|
|
- // pageNum: null,
|
|
|
|
|
- // id: 9639238,
|
|
|
|
|
- // userId: null,
|
|
|
|
|
- // objectId: null,
|
|
|
|
|
- // storeId: null,
|
|
|
|
|
- // visitsId: 28326220,
|
|
|
|
|
- // fileSize: 105,
|
|
|
|
|
- // fileName: '岳阿龙-生动化陈列-吴中区郭巷金钥匙五金经营部-202601120537150.jpg',
|
|
|
|
|
- // fileType: 'jpg',
|
|
|
|
|
- // fileUrl:
|
|
|
|
|
- // 'https://cdn-svs-test.nipponpaint.com.cn/%E5%B2%B3%E9%98%BF%E9%BE%99-%E7%94%9F%E5%8A%A8%E5%8C%96%E9%99%88%E5%88%97-%E5%90%B4%E4%B8%AD%E5%8C%BA%E9%83%AD%E5%B7%B7%E9%87%91%E9%92%A5%E5%8C%99%E4%BA%94%E9%87%91%E7%BB%8F%E8%90%A5%E9%83%A8-202601120537150.jpg?Expires=2083743438&OSSAccessKeyId=LTAI5tG1DTJFA16BHkzHVxjz&Signature=f75hQUp%2FuSHChTdP4c0Ra1IWlVw%3D',
|
|
|
|
|
- // fileUrlOld:
|
|
|
|
|
- // 'https://qyapi.weixin.qq.com/cgi-bin/media/get?access_token=4Pym0-8rvczkuQCcJtlHZd1RPnZL_mqEDX_8eel1QiFvZ_kIFtyMzuIA6Wz7Jhi39Ok_mekbFv8nPzf6VVhoy5MMBTu94kbaaJnWcH-Ak8-zo2EMDj73xCYBPLFuQqLagiblBAVO7zngWPfE8i9TpLGNslP0emn5ygHEjJFCi_DjCbxtYJk1JAeoEB-OR2Tde8go903t29NetHOcU9nhzg&media_id=3NwXHIxwFM69b9O6z7iI1hRvgbtAgYW8e2ZTV14DfOoGwDxvBbOQq6FR1HsaLrFKaQ0XkVpSZK8Mu2OcpDvGYoQ',
|
|
|
|
|
- // frameUrl: null,
|
|
|
|
|
- // objectType: 'rw-sdhcl',
|
|
|
|
|
- // storeGroupId: '1153,1152,1131,1123,1122,1114,1100,1000,862,839,804,795,770',
|
|
|
|
|
- // taskId: 1040,
|
|
|
|
|
- // instanceId: null,
|
|
|
|
|
- // taskName: null,
|
|
|
|
|
- // taskType: null,
|
|
|
|
|
- // inspectionType: null,
|
|
|
|
|
- // unManage: null,
|
|
|
|
|
- // firstCollectionId: null,
|
|
|
|
|
- // secondCollectionId: null,
|
|
|
|
|
- // thirdCollectionId: null,
|
|
|
|
|
- // fourthCollectionId: null,
|
|
|
|
|
- // deviceCode: null,
|
|
|
|
|
- // putInCode: null,
|
|
|
|
|
- // equipmentCode: null,
|
|
|
|
|
- // collectionItemId: 252,
|
|
|
|
|
- // photoIdentifyId: null,
|
|
|
|
|
- // writeAgain: '0',
|
|
|
|
|
- // delFlag: null,
|
|
|
|
|
- // base64Url: null,
|
|
|
|
|
- // frequencyReset: '0',
|
|
|
|
|
- // taskIdList: null,
|
|
|
|
|
- // ids: null,
|
|
|
|
|
- // visitsIds: null,
|
|
|
|
|
- // startTime: null,
|
|
|
|
|
- // stopTime: null,
|
|
|
|
|
- // },
|
|
|
|
|
- // {
|
|
|
|
|
- // searchValue: null,
|
|
|
|
|
- // createBy: 'YueALong',
|
|
|
|
|
- // createTime: '2026-01-12 15:48:37',
|
|
|
|
|
- // updateBy: '',
|
|
|
|
|
- // updateTime: '2026-01-12 15:48:36',
|
|
|
|
|
- // remark: null,
|
|
|
|
|
- // params: {},
|
|
|
|
|
- // pageSize: null,
|
|
|
|
|
- // pageNum: null,
|
|
|
|
|
- // id: 9639237,
|
|
|
|
|
- // userId: null,
|
|
|
|
|
- // objectId: null,
|
|
|
|
|
- // storeId: null,
|
|
|
|
|
- // visitsId: 28326220,
|
|
|
|
|
- // fileSize: 181,
|
|
|
|
|
- // fileName: '岳阿龙-生动化陈列-吴中区郭巷金钥匙五金经营部-202601120348360.jpg',
|
|
|
|
|
- // fileType: 'jpg',
|
|
|
|
|
- // fileUrl:
|
|
|
|
|
- // 'https://cdn-svs-test.nipponpaint.com.cn/%E5%B2%B3%E9%98%BF%E9%BE%99-%E7%94%9F%E5%8A%A8%E5%8C%96%E9%99%88%E5%88%97-%E5%90%B4%E4%B8%AD%E5%8C%BA%E9%83%AD%E5%B7%B7%E9%87%91%E9%92%A5%E5%8C%99%E4%BA%94%E9%87%91%E7%BB%8F%E8%90%A5%E9%83%A8-202601120348360.jpg?Expires=2083736916&OSSAccessKeyId=LTAI5tG1DTJFA16BHkzHVxjz&Signature=LePiUZJjWySpRUE1iCz6RAKjO18%3D',
|
|
|
|
|
- // fileUrlOld:
|
|
|
|
|
- // 'https://qyapi.weixin.qq.com/cgi-bin/media/get?access_token=NoReDRUW-JAALmnKltMD0KYuxAVjwrCNg38BediE4G0v8r_mjOhqemXSUXXtpdOxPqJTTP0TsV04FPQ_UCQlj6aWA1jp0--w7VKp6u5WhZkFaQKxbX0r_32JXLjLNfOxhkezk7RstwdV_nPYQJpuYhk9JjWCc7yewc-Ij4ScLVZv7nn89FB-QV97lG2hOPWv4qouAPuUSqdKltrgXIavKg&media_id=3AntPxvbkldjBn8sffnQJ-FG6xRz0fQPSmCrLYMJLUh6Eb7gwwzPXi_Ew8epoj3acGaelWXuSGPJkCwBMCryoZQ',
|
|
|
|
|
- // frameUrl: null,
|
|
|
|
|
- // objectType: 'rw-sdhcl',
|
|
|
|
|
- // storeGroupId: '1153,1152,1131,1123,1122,1114,1100,1000,862,839,804,795,770',
|
|
|
|
|
- // taskId: 1040,
|
|
|
|
|
- // instanceId: null,
|
|
|
|
|
- // taskName: null,
|
|
|
|
|
- // taskType: null,
|
|
|
|
|
- // inspectionType: null,
|
|
|
|
|
- // unManage: null,
|
|
|
|
|
- // firstCollectionId: null,
|
|
|
|
|
- // secondCollectionId: null,
|
|
|
|
|
- // thirdCollectionId: null,
|
|
|
|
|
- // fourthCollectionId: null,
|
|
|
|
|
- // deviceCode: null,
|
|
|
|
|
- // putInCode: null,
|
|
|
|
|
- // equipmentCode: null,
|
|
|
|
|
- // collectionItemId: 252,
|
|
|
|
|
- // photoIdentifyId: null,
|
|
|
|
|
- // writeAgain: '0',
|
|
|
|
|
- // delFlag: null,
|
|
|
|
|
- // base64Url: null,
|
|
|
|
|
- // frequencyReset: '0',
|
|
|
|
|
- // taskIdList: null,
|
|
|
|
|
- // ids: null,
|
|
|
|
|
- // visitsIds: null,
|
|
|
|
|
- // startTime: null,
|
|
|
|
|
- // stopTime: null,
|
|
|
|
|
- // },
|
|
|
|
|
- // ],
|
|
|
|
|
- // maxValue: null,
|
|
|
|
|
- // materialFrequency: null,
|
|
|
|
|
- // continuousShoot: '1',
|
|
|
|
|
- // status: null,
|
|
|
|
|
- // };
|
|
|
|
|
|
|
+ this.taskIds = this.$route.query.taskIds || [];
|
|
|
|
|
+ this.visitsId = this.$route.query.visitsId || '';
|
|
|
this.getDetaile();
|
|
this.getDetaile();
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
@@ -464,11 +79,12 @@ export default {
|
|
|
getCollectionInfosBatch({
|
|
getCollectionInfosBatch({
|
|
|
storeCode: this.$route.query.storeCode,
|
|
storeCode: this.$route.query.storeCode,
|
|
|
insert: true,
|
|
insert: true,
|
|
|
- id: this.$route.query.storeCode,
|
|
|
|
|
|
|
+ id: this.visitsId,
|
|
|
taskIds: this.taskIds.split(','),
|
|
taskIds: this.taskIds.split(','),
|
|
|
}).then((res) => {
|
|
}).then((res) => {
|
|
|
- if (res.data && res.data.legnth) {
|
|
|
|
|
|
|
+ if (res.data && res.data.length) {
|
|
|
this.formData = res.data[0];
|
|
this.formData = res.data[0];
|
|
|
|
|
+ this.collectionId = this.formData.collectionItemList[0].collectionId;
|
|
|
} else {
|
|
} else {
|
|
|
this.formData = null;
|
|
this.formData = null;
|
|
|
}
|
|
}
|