|
@@ -22,6 +22,8 @@ const emits = defineEmits([
|
|
|
'callbackShengNa',
|
|
|
'callbackChuanGongZuoFu',
|
|
|
'callbackProcessUpdate',
|
|
|
+ // 车的相机截图
|
|
|
+ 'carCameraScreenshot',
|
|
|
])
|
|
|
|
|
|
|
|
@@ -49,6 +51,7 @@ const callbackProcessUpdateEvent = (db) => {
|
|
|
emits('callbackProcessUpdate', db);
|
|
|
}
|
|
|
|
|
|
+
|
|
|
// 操作帮助点击退出
|
|
|
const showOperationHelpExitEvent = () => {
|
|
|
// 触发下一步逻辑
|
|
@@ -78,19 +81,22 @@ const carShutDownEvent = () => {
|
|
|
*/
|
|
|
const carCameraScreenshotEvent = (img) => {
|
|
|
|
|
|
+ emits('carCameraScreenshot', img);
|
|
|
+
|
|
|
// console.log(
|
|
|
// "车的相机截图", img
|
|
|
// );
|
|
|
+
|
|
|
|
|
|
// // 将 base64为转换成,Blob格式
|
|
|
// let objBlob = dataURLtoBlob(img);
|
|
|
// // blob 转换成 file对象
|
|
|
// const file = new File([objBlob], 'example.png', { type: 'text/plain' });
|
|
|
|
|
|
- CarCourseChapter3dShowStore().show.showToastViewBool = false;
|
|
|
- CarCourseChapter3dShowStore().show.showPromptEvent('截图上传完成', null, function (res) {
|
|
|
- // console.log("yes", res);
|
|
|
- });
|
|
|
+ // CarCourseChapter3dShowStore().show.showToastViewBool = false;
|
|
|
+ // CarCourseChapter3dShowStore().show.showPromptEvent('截图上传完成', null, function (res) {
|
|
|
+ // // console.log("yes", res);
|
|
|
+ // });
|
|
|
|
|
|
};
|
|
|
|