|
@@ -695,11 +695,15 @@ const carCameraScreenshotEvent = (img: any) => {// CCTV实训检测三维场景
|
|
|
// type: 'success',
|
|
|
// });
|
|
|
|
|
|
- courseChapter3dShow().show.showToastViewBool = false;
|
|
|
+ if (threeWorldLoadType.value == "cctv") {
|
|
|
+
|
|
|
+ courseChapter3dShow().show.showToastViewBool = false;
|
|
|
|
|
|
- courseChapter3dShow().show.showPromptEvent('截图上传完成', null, function (res: any) {
|
|
|
- // console.log("yes", res);
|
|
|
- });
|
|
|
+ courseChapter3dShow().show.showPromptEvent('截图上传完成', null, function (res: any) {
|
|
|
+ // console.log("yes", res);
|
|
|
+ });
|
|
|
+
|
|
|
+ }
|
|
|
|
|
|
})
|
|
|
.catch(function (studentTaskPhotoResError: any) {
|
|
@@ -708,10 +712,14 @@ const carCameraScreenshotEvent = (img: any) => {// CCTV实训检测三维场景
|
|
|
// type: 'warning',
|
|
|
// });
|
|
|
|
|
|
- courseChapter3dShow().show.showToastViewBool = false;
|
|
|
- courseChapter3dShow().show.showPromptEvent('上传失败', null, function (res: any) {
|
|
|
- // console.log("yes", res);
|
|
|
- });
|
|
|
+ if (threeWorldLoadType.value == "cctv") {
|
|
|
+
|
|
|
+ courseChapter3dShow().show.showToastViewBool = false;
|
|
|
+ courseChapter3dShow().show.showPromptEvent('上传失败', null, function (res: any) {
|
|
|
+ // console.log("yes", res);
|
|
|
+ });
|
|
|
+
|
|
|
+ }
|
|
|
|
|
|
});
|
|
|
})
|
|
@@ -721,10 +729,14 @@ const carCameraScreenshotEvent = (img: any) => {// CCTV实训检测三维场景
|
|
|
// type: 'warning',
|
|
|
// });
|
|
|
|
|
|
- courseChapter3dShow().show.showToastViewBool = false;
|
|
|
- courseChapter3dShow().show.showPromptEvent('上传失败', null, function (res: any) {
|
|
|
- // console.log("yes", res);
|
|
|
- });
|
|
|
+ if (threeWorldLoadType.value == "cctv") {
|
|
|
+
|
|
|
+ courseChapter3dShow().show.showToastViewBool = false;
|
|
|
+ courseChapter3dShow().show.showPromptEvent('上传失败', null, function (res: any) {
|
|
|
+ // console.log("yes", res);
|
|
|
+ });
|
|
|
+
|
|
|
+ }
|
|
|
|
|
|
});
|
|
|
};
|