|
@@ -701,6 +701,7 @@ const adid = ref('')
|
|
|
const mfcid = ref('')
|
|
const mfcid = ref('')
|
|
|
const tacsid = ref('')
|
|
const tacsid = ref('')
|
|
|
const propnid = ref('')
|
|
const propnid = ref('')
|
|
|
|
|
+const afnid = ref('')
|
|
|
const ffdid = ref('')
|
|
const ffdid = ref('')
|
|
|
const cstid = ref('')
|
|
const cstid = ref('')
|
|
|
// 监听组件xfoil返回的xfid
|
|
// 监听组件xfoil返回的xfid
|
|
@@ -728,6 +729,11 @@ const handlePropnId = (propnidFromB) => {
|
|
|
noid.value.data.propnid = propnid.value;
|
|
noid.value.data.propnid = propnid.value;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+const handleAfnId = (afnIdFromB) => {
|
|
|
|
|
+ afnid.value = afnIdFromB.value;
|
|
|
|
|
+ noid.value.data.afnid = afnid.value;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
const handleFfdid = (ffdidFromB) => {
|
|
const handleFfdid = (ffdidFromB) => {
|
|
|
// console.log('ffdidFromB:',ffdidFromB.value);
|
|
// console.log('ffdidFromB:',ffdidFromB.value);
|
|
|
ffdid.value = ffdidFromB.value;
|
|
ffdid.value = ffdidFromB.value;
|
|
@@ -1432,6 +1438,7 @@ onMounted(() => {
|
|
|
emitter.on("mfcidFromMathFunc", handleMfcid);
|
|
emitter.on("mfcidFromMathFunc", handleMfcid);
|
|
|
emitter.on("tacsidFromTACS", handleTacsid);
|
|
emitter.on("tacsidFromTACS", handleTacsid);
|
|
|
emitter.on("propnIdFromPropN", handlePropnId);
|
|
emitter.on("propnIdFromPropN", handlePropnId);
|
|
|
|
|
+ emitter.on("afnIdFromAFN", handleAfnId);
|
|
|
emitter.on("ffdidFromFfd", handleFfdid);
|
|
emitter.on("ffdidFromFfd", handleFfdid);
|
|
|
emitter.on("cstidFromCst", handleCstid);
|
|
emitter.on("cstidFromCst", handleCstid);
|
|
|
emitter.on("getMfcid",handlegetMfcid);
|
|
emitter.on("getMfcid",handlegetMfcid);
|
|
@@ -1467,6 +1474,7 @@ onUnmounted(() => {
|
|
|
emitter.off("mfcidFromMathFunc", handleMfcid);
|
|
emitter.off("mfcidFromMathFunc", handleMfcid);
|
|
|
emitter.off("tacsidFromTACS", handleTacsid);
|
|
emitter.off("tacsidFromTACS", handleTacsid);
|
|
|
emitter.off("propnIdFromPropN", handlePropnId);
|
|
emitter.off("propnIdFromPropN", handlePropnId);
|
|
|
|
|
+ emitter.off("afnIdFromAFN", handleAfnId);
|
|
|
emitter.off("ffdidFromFfd", handleFfdid);
|
|
emitter.off("ffdidFromFfd", handleFfdid);
|
|
|
emitter.off("cstidFromCst", handleCstid);
|
|
emitter.off("cstidFromCst", handleCstid);
|
|
|
emitter.off("getMfcid",handlegetMfcid);
|
|
emitter.off("getMfcid",handlegetMfcid);
|