liuqiao 1 rok pred
rodič
commit
b1d0b47def

+ 12 - 6
src/views/index/HCFDLab/index.vue

@@ -4765,16 +4765,21 @@ export default {
       default() {
         return {};
       },
+    }, objcheck: {
+      type: Object,
+      default() {
+        return {};
+      },
     },
   },
 
   data() {
     return {
-       objcheck:{
-       pointsFlag:false,
-       curvesFlag:true,
-       surFacesFlag:false,
-      },
+      //  objcheck:{
+      //  pointsFlag:false,
+      //  curvesFlag:true,
+      //  surFacesFlag:false,
+      // },
       funbool:true,
    objmesh:{
     strResultFormat:".vtk",
@@ -5770,6 +5775,7 @@ export default {
       }
     },
     geometryup() {
+      
        this.loaddataaction('geometryFileShow',JSON.stringify(this.objcheck));
     },
     // 文件上传成功调用几何接口
@@ -6063,7 +6069,7 @@ export default {
       console.log(this.activeName);
       if(this.activeName=='one'){
        // this.$parent.startimg("init",'geometryFileShow');
-         this.loaddataaction('geometryFileShow','');
+         this.loaddataaction('geometryFileShow',JSON.stringify(this.objcheck));
       }else if(this.activeName=='twos'){
         this.$parent.startimg("init",'loaddata');
       }

+ 1 - 0
src/views/index/index.vue

@@ -13,6 +13,7 @@
           :ytdata="ytdata"
           :vectorparam="vectorparam"
           :pid="pid"
+          :objcheck="objcheck"
           @fun="fun()"
           @chaild='chaild()'
           @changelines="changelines()"