|
@@ -142,6 +142,15 @@
|
|
|
<!-- 声纳实训检测 -->
|
|
|
<div v-if="threeWorldLoadType == 'sonar'">
|
|
|
|
|
|
+ <CarSimulationMain
|
|
|
+ v-show="CarSimulationMainLook == true"
|
|
|
+ @callbackShengNa="callbackShengNaEvent"
|
|
|
+ ></CarSimulationMain>
|
|
|
+
|
|
|
+ <SonarSimulationMain
|
|
|
+ v-show="SonarSimulationMainLook == true"
|
|
|
+ @callbackDownWell="callbackDownWellShengNaEvent" ></SonarSimulationMain>
|
|
|
+
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
@@ -875,6 +884,47 @@ const callbackChuanGongZuoFuQvEvent = (bool : any) => {
|
|
|
|
|
|
}
|
|
|
|
|
|
+/**
|
|
|
+ * 是否回到声纳车逻辑
|
|
|
+ * bool
|
|
|
+ */
|
|
|
+const callbackShengNaEvent = (bool : any) => {
|
|
|
+
|
|
|
+ console.log(
|
|
|
+ "是否回到声纳车逻辑 callbackShengNaEvent", bool
|
|
|
+ );
|
|
|
+
|
|
|
+ if (bool == true) {
|
|
|
+ CarSimulationMainLook.value = false;
|
|
|
+ SonarSimulationMainLook.value = true;
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
+ CarSimulationMainLook.value = true;
|
|
|
+ SonarSimulationMainLook.value = false;
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
+/**
|
|
|
+ * 声纳 是否触发下井逻辑
|
|
|
+ * bool
|
|
|
+ */
|
|
|
+const callbackDownWellShengNaEvent = (bool : any) => {
|
|
|
+ console.log(
|
|
|
+ "是否触发下井逻辑 callbackDownWellShengNaEvent", bool
|
|
|
+ );
|
|
|
+
|
|
|
+ if (bool == true) {
|
|
|
+ CarSimulationMainLook.value = true;
|
|
|
+ SonarSimulationMainLook.value = false;
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
+ CarSimulationMainLook.value = false;
|
|
|
+ SonarSimulationMainLook.value = true;
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
/**
|
|
|
* QV仿真每次进入新逻辑
|
|
|
*/
|