|
|
@@ -151,7 +151,7 @@ export default {
|
|
|
taskId: that.taskId,
|
|
|
visitsId: localStorage.getItem('visitId'),
|
|
|
visitModel: that.visitModel,
|
|
|
- visitSource: '2',
|
|
|
+ visitSource: '1',
|
|
|
locationRemark: addressesRemark,
|
|
|
};
|
|
|
var loind1 = that.$toast.loading({
|
|
|
@@ -163,7 +163,11 @@ export default {
|
|
|
if (res.code == 200) {
|
|
|
loind1.clear();
|
|
|
that.$toast('上传成功!');
|
|
|
- that.$emit('newimgarr', { fileUrl: res.data[0].url, id: res.data[0].fileId, type: 2 });
|
|
|
+ that.$emit('uploadWLImgClick', {
|
|
|
+ fileUrl: res.data[0].url,
|
|
|
+ id: res.data[0].fileId,
|
|
|
+ type: 2,
|
|
|
+ });
|
|
|
} else {
|
|
|
that.$toast('上传失败!');
|
|
|
}
|