|
@@ -560,8 +560,8 @@ const reTakePicture = async (img)=>{
|
|
|
type: 'smart_shooter_photo_take',
|
|
type: 'smart_shooter_photo_take',
|
|
|
"data":{"id":img.id,"goods_art_no":img.goods_art_no},
|
|
"data":{"id":img.id,"goods_art_no":img.goods_art_no},
|
|
|
})
|
|
})
|
|
|
- clientStore.ipc.on(icpList.socket.message + '_digicam_take_picture', (event, result) => {
|
|
|
|
|
- console.log('_digicam_take_picture')
|
|
|
|
|
|
|
+ clientStore.ipc.on(icpList.socket.message + '_smart_shooter_photo_take', (event, result) => {
|
|
|
|
|
+ console.log('_smart_shooter_photo_take')
|
|
|
console.log(result)
|
|
console.log(result)
|
|
|
|
|
|
|
|
runLoading.value = false;
|
|
runLoading.value = false;
|
|
@@ -577,7 +577,7 @@ const reTakePicture = async (img)=>{
|
|
|
reNosObj.value.action = ''
|
|
reNosObj.value.action = ''
|
|
|
ElMessage.error(result.msg)
|
|
ElMessage.error(result.msg)
|
|
|
}
|
|
}
|
|
|
- clientStore.ipc.removeAllListeners(icpList.socket.message + '_digicam_take_picture');
|
|
|
|
|
|
|
+ clientStore.ipc.removeAllListeners(icpList.socket.message + '_smart_shooter_photo_take');
|
|
|
|
|
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|