|
@@ -1,6 +1,7 @@
|
|
|
import { ComVal } from "../common/ComVal.js";
|
|
|
import { QingXiCheAndQvCarEventClick } from "../js/QingXiCheAndQvCarEventClick.js";
|
|
|
import { QingXiCheAndQvComHighlightLayer } from "../js/QingXiCheAndQvComHighlightLayer.js";
|
|
|
+import { ElMessage, ElMessageBox } from 'element-plus';
|
|
|
|
|
|
/**
|
|
|
* 操作 3d场景 相关事件
|
|
@@ -190,7 +191,28 @@ export class QingXiCheAndQvThreeWorldEvent {
|
|
|
|
|
|
if (thisClass.experimentMeshBool(pickResult) == true) {
|
|
|
|
|
|
-
|
|
|
+ ElMessageBox.confirm(
|
|
|
+ '确定进行该操作吗?',
|
|
|
+ '提示',
|
|
|
+ {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type: 'warning',
|
|
|
+ }
|
|
|
+ )
|
|
|
+ .then(() => {
|
|
|
+ // ElMessage({
|
|
|
+ // type: 'success',
|
|
|
+ // message: 'Delete completed',
|
|
|
+ // })
|
|
|
+ QingXiCheAndQvCarEventClick.find().main(pickResult);
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
+ ElMessage({
|
|
|
+ type: 'info',
|
|
|
+ message: '取消成功',
|
|
|
+ })
|
|
|
+ })
|
|
|
|
|
|
}
|
|
|
|
|
@@ -227,7 +249,10 @@ export class QingXiCheAndQvThreeWorldEvent {
|
|
|
for (let key in thisList.correctAnswerMesh) {
|
|
|
|
|
|
let json = thisList.correctAnswerMesh[key];
|
|
|
- console.log("experimentMeshBool key =====>", key, json, meshId);
|
|
|
+ // console.log("experimentMeshBool key =====>", key, json, meshId);
|
|
|
+ if (meshId == key) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
|
|
|
}
|
|
|
|