liuqiao 2 yıl önce
ebeveyn
işleme
eae28396e7

+ 3 - 3
src/views/index/FEMLab/fem.vue

@@ -1846,7 +1846,7 @@
      :style="styX"
        >
             <div slot="title" class=dialog_header>
-     <el-image class="imge" :src="p9" fit="cover" />
+     <el-image class="imge" :src="p17" fit="cover" />
      <span class="text-color">动画</span>
   </div>
   <el-form :model="form">
@@ -1907,9 +1907,9 @@
         <el-button type="primary" @click="dialog.an_Animation= false"
           >{{ $t("HCFD.file.ok")}}</el-button
         >
-        <el-button type="primary" @click="dialog.an_Animation = false"
+        <!-- <el-button type="primary" @click="dialog.an_Animation = false"
           >Apply</el-button
-        >
+        > -->
       </div>
 </el-dialog>
          <filesload

+ 3 - 3
src/views/index/HCFDLab/index.vue

@@ -2365,7 +2365,7 @@
      :style="styX"
        >
             <div slot="title" class=dialog_header>
-     <el-image class="imge" :src="p9" fit="cover" />
+     <el-image class="imge" :src="p17" fit="cover" />
      <span class="text-color">动画</span>
   </div>
   <el-form :model="form">
@@ -2426,9 +2426,9 @@
         <el-button type="primary" @click="dialog.an_Animation= false"
           >{{ $t("HCFD.file.ok")}}</el-button
         >
-        <el-button type="primary" @click="dialog.an_Animation = false"
+        <!-- <el-button type="primary" @click="dialog.an_Animation = false"
           >Apply</el-button
-        >
+        > -->
       </div>
 </el-dialog>
 

+ 2 - 8
src/views/index/index.vue

@@ -703,7 +703,6 @@ let params = {
     
              let eadata=e.data
              var rdata=JSON.parse(e.data)
-             console.log(rdata);
            if(rdata.hasOwnProperty("img")){
            this.$refs.TFileStream.imgtupian=true;
           this.$refs.TFileStream.fetchData(rdata);
@@ -712,6 +711,7 @@ let params = {
          
           // HCFD云图的参数返回 存储
           console.log(rdata);
+          let rdataparamJson =rdata.paramJson;
           if(this.selectval=='HCFDLab'){
               if(rdata.action=='ResultImport'){
           
@@ -762,14 +762,9 @@ let params = {
               if(rdata.action=='ResultImport'){
                     let data=JSON.parse(rdata.paramJson);
                       if(data.msgType=="contour_param"){
-                        // sessionStorage.setItem("ytdata",JSON.stringify(data));
-                        //   this.ytdata=rdata;
-                        //   outlinedata
                            this.$refs.fem.outlinedata(JSON.stringify(data))
                       }
                       if(data.msgType=='line_param'){
-                          // sessionStorage.setItem("ytdata",JSON.stringify(data));
-                          //   this.ytdata=rdata;
                            this.$refs.fem.outlinedata(JSON.stringify(data))
                       }
                       if(data.msgType=='vector_param'){
@@ -802,10 +797,9 @@ let params = {
                     
                     }
               }else{
-                  
               }
 
-          }else if(rdata.hasOwnProperty('Error')){
+          }else if(rdataparamJson.hasOwnProperty('Error')){
               this.loadingend(this.loadingopen());       
        }
         return true;