|
@@ -323,6 +323,7 @@ export default {
|
|
|
this.progressFlag = false;
|
|
this.progressFlag = false;
|
|
|
this.percentage = 0;
|
|
this.percentage = 0;
|
|
|
},
|
|
},
|
|
|
|
|
+ // 仍要上传
|
|
|
confirmUpload(res) {
|
|
confirmUpload(res) {
|
|
|
if (this.photoIdentifyType) {
|
|
if (this.photoIdentifyType) {
|
|
|
var form = {
|
|
var form = {
|
|
@@ -337,8 +338,9 @@ export default {
|
|
|
secondCollectionId: this.secondCollectionId, // Long 第二级采集项id,取当前采集项的字段就行
|
|
secondCollectionId: this.secondCollectionId, // Long 第二级采集项id,取当前采集项的字段就行
|
|
|
putInCode: this.putInCode, // String 当前任务对应的投放编号
|
|
putInCode: this.putInCode, // String 当前任务对应的投放编号
|
|
|
deviceCode: this.deviceCode, // String 当前任务对应的设备编号
|
|
deviceCode: this.deviceCode, // String 当前任务对应的设备编号
|
|
|
- url: res.data.url, // String 当前拍摄图片的url
|
|
|
|
|
collectionItemId: this.collectionId,
|
|
collectionItemId: this.collectionId,
|
|
|
|
|
+ url: res.data.url, // String 当前拍摄图片的url
|
|
|
|
|
+ businessId: res.data.businessId, // 当前拍摄图片id
|
|
|
};
|
|
};
|
|
|
if (res.isUpdate) form.isUpdate = 'true';
|
|
if (res.isUpdate) form.isUpdate = 'true';
|
|
|
addPhotoToDB(form).then(() => {});
|
|
addPhotoToDB(form).then(() => {});
|