liuqiao 2 年之前
父節點
當前提交
559fec4042
共有 2 個文件被更改,包括 21 次插入6 次删除
  1. 4 4
      src/views/index/FEMLab/fem.vue
  2. 17 2
      src/views/index/index.vue

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

@@ -1115,7 +1115,7 @@
       <div class="linetext">输出控制</div>
     </div> 
             <el-form-item label="结果文件名称" :label-width="formLabelWidth5">
-      <el-input v-model="parameterObj.result_file.value"  disabled autocomplete="off"></el-input>
+      <el-input v-model="parameterObj.result_file.value" disabled autocomplete="off"></el-input>
     </el-form-item>
     <el-checkbox v-model="parameterObj.dump_stiff.value"  true-label="true" false-label="false">刚度矩阵输出</el-checkbox>
     <el-checkbox v-model="parameterObj.dump_mass.value"  true-label="true" false-label="false" >质量矩阵输出</el-checkbox>
@@ -1574,7 +1574,7 @@
         > -->
       </div>
 </el-dialog>
-<!--Solid Surface固体 -->
+<!--Solid Surface实体表面 -->
  <el-dialog  :visible.sync="dialog.Solid_Surface" 
      v-if="active=='six3-0'"
     :modal='false'
@@ -1586,7 +1586,7 @@
        >
             <div slot="title" class=dialog_header>
      <el-image class="imge" :src="p14" fit="cover" />
-     <span class="text-color">Solid Surface</span>
+     <span class="text-color">实体表面</span>
   </div>
   <el-form :model="form">
    <div class="heigeinput">
@@ -2226,7 +2226,7 @@ export default {
             { icon:p4, titlie:'矢量'},
         ],
         displaylist2:[
-           { icon:p14, titlie:'Solid Surface'},
+           { icon:p14, titlie:'实体表面'},
             { icon:p15, titlie:'切片'},
             { icon:p16, titlie:'Stream'},
         ],

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

@@ -557,7 +557,6 @@ linezhexian(num){
           
         }
          }else{
-              console.log(2222)
             }
           })
           .catch((err) => {
@@ -567,14 +566,22 @@ linezhexian(num){
       // 调用求解过程日志
       fun(){
         if( this.state=='1'){
+          console.log(111)
            this.$refs.monitor.getwebsocket(); 
         }else{
           this.$refs.hcfd.hcfdrun();
+         
         }
            this.$refs.monitor.container_show=true;
            this.monitorHCFD=this.$refs.monitor.container_show
             this.$refs.TFileStream.imgtupian=false;
       },
+      funagain(){
+          this.$refs.monitor.getwebsocket(); 
+             this.$refs.monitor.container_show=true;
+           this.monitorHCFD=this.$refs.monitor.container_show
+            this.$refs.TFileStream.imgtupian=false;
+      },
 // 工具栏的显示隐藏
 changehcfd(pare){
     this.$refs.monitor.getwebsocket(); 
@@ -632,6 +639,7 @@ let params = {
       this.loading = true;
       request(params)
         .then((res) => {
+          this.logs='HCFD'
               if(res.returnCode=='000000000'){
             this.startimgloaddata(action2)
               }else{
@@ -690,7 +698,7 @@ let params = {
         //  // loading.close();
         // }, 3000);
     console.log(e);
-    console.log(111);
+  
     // if(e==){
 
     // }else{
@@ -701,7 +709,14 @@ let params = {
     // }
         try{
             const redata = JSON.parse(e.data);   
+         
            if(redata.hasOwnProperty("img")){
+                if(redata.img=''||redata.img==null||redata.img==undefined||redata.img==false){
+                  console.log(11111)
+
+                }else{
+                    console.log(2222)
+            }
            this.$refs.TFileStream.imgtupian=true;
           this.$refs.TFileStream.fetchData(redata);
           this.$refs.monitor.container_show=false;