闫增涛
2025-06-12 8c96a1d16d1d95101938670b287e39130fd5e086
src/views/simulation/testSimulation/index.vue
@@ -46,11 +46,12 @@
            >
              <div class="model-body-box">
                <div class="model-img">
                  <iframe
                  <!-- <iframe
                    style="width: 100%; height: 100%"
                    src="./static/modelView/index.html?md5=62d4eadc420b7403fce2be993baa095d&name=飞行棋&domain=https://www.jlstp.cn&target=iframe"
                    frameborder="0"
                  ></iframe>
                  ></iframe> -->
                  <showModel :md5="item.md5" :index="index"></showModel>
                </div>
                <div class="model-info">
                  <h1 class="model-title" :title="item.name">
@@ -94,6 +95,7 @@
<script setup lang="ts">
import { ref, onMounted, watch, inject } from "vue";
import { useRouter, useRoute } from "vue-router";
import showModel from "../../../components/showModel.vue";
const router = useRouter();
const route = useRoute();
import { curStoreInfo } from "@/store/index";
@@ -205,12 +207,21 @@
    },
    {
      ModelName: [],
      ModelFile: [],
      JointData: [],
      IsSimulation: [],
      ModelRemarks: [],
      ChildrenCount: [],
    }
  );
  for (let index = 0; index < treeData.datas.length; index++) {
    const item = treeData.datas[index];
    item.md5 = null;
    try {
      const fileData = item.fieldList.find((citem: any) => citem.FileList.length);
      item.md5 = fileData.FileList[0].File.Md5;
    } catch (error) {}
  }
  console.log(treeData, "getModelList");
  modelDataList.value = treeData.datas;
  listLoading.value = false;
@@ -262,7 +273,6 @@
const gotoReport = (item) => {
  router.push({
    name: "simulation-testReport",
  });
};
//打开仿真