|  | @@ -7,7 +7,7 @@
 | 
	
		
			
				|  |  |                      
 | 
	
		
			
				|  |  |               </div> -->
 | 
	
		
			
				|  |  |          <div v-if="value2=='HCFDLab'">
 | 
	
		
			
				|  |  | -        <hcfd ref="hcfd" :objopp="objopp" ></hcfd>
 | 
	
		
			
				|  |  | +        <hcfd ref="hcfd" :objopp="objopp" :pid="pid" @fun="fun()" :exLoading="exLoading"></hcfd>
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |            <div v-else-if="value2=='FEMLab(结构力学)'||value2=='FEMLab(结构力学)版本2'">
 | 
	
		
			
				|  |  |          <fem ref="fem" :femnum="femnum" ></fem>
 | 
	
	
		
			
				|  | @@ -106,9 +106,7 @@
 | 
	
		
			
				|  |  |    <el-container class="beij-container">
 | 
	
		
			
				|  |  |  <el-container>
 | 
	
		
			
				|  |  |     <el-main ref="main3d" :class="headMenu_2Show?'maxh400':'maxh221'" style="padding:0">
 | 
	
		
			
				|  |  | -              <!-- <echartsHFCD ref="monitor"   @getthislog='getthislog' @restimeyear='restimeyear' :lsolverState="lsolverState" :name="project.projectName" :numzhexian="numzhexian" :projectId='project.projectId' :nmlsteps="Number(parameterObj.nmlParam.steps)"></echartsHFCD>
 | 
	
		
			
				|  |  | -               加载图片条 -->
 | 
	
		
			
				|  |  | -            <!-- <TFileStream   :projectId="project.projectId" :servertype="servertype"  :wstep='wstep' :bStep='bStep' :vStep='vStep' ref="TFileStream"></TFileStream>  -->
 | 
	
		
			
				|  |  | +    <echartsHFCD ref="monitor"   @getthislog='getthislog' @restimeyear='restimeyear'  :projectId='pid'></echartsHFCD>
 | 
	
		
			
				|  |  |               <h1>我是主题
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |        </h1>
 | 
	
	
		
			
				|  | @@ -170,14 +168,17 @@ import toolindex from './tool/index.vue'
 | 
	
		
			
				|  |  |  import caozuo from './caozuo/index.vue'
 | 
	
		
			
				|  |  |  import hcfd from './HCFDLab/index.vue'
 | 
	
		
			
				|  |  |  import fem from './FEMLab/fem.vue'
 | 
	
		
			
				|  |  | +import echartsHFCD from "./HCFDLab/echartsHFCD.vue";
 | 
	
		
			
				|  |  |  export default {
 | 
	
		
			
				|  |  | -  components:{geometry,meshindex,Geometryandclass,Materials,touch,initial,boundary,Meshauto,loadcase,zuoye,result,caozuo,toolindex,hcfd,fem},
 | 
	
		
			
				|  |  | +  components:{geometry,meshindex,Geometryandclass,Materials,touch,initial,boundary,Meshauto,loadcase,zuoye,echartsHFCD,result,caozuo,toolindex,hcfd,fem},
 | 
	
		
			
				|  |  |    data() {
 | 
	
		
			
				|  |  |      return {
 | 
	
		
			
				|  |  |           restime:'',
 | 
	
		
			
				|  |  |          footerShow:true,
 | 
	
		
			
				|  |  |          headMenu_2Show:false,
 | 
	
		
			
				|  |  | +         exLoading:"hidden",
 | 
	
		
			
				|  |  |          logs: "欢迎来到HCFD",
 | 
	
		
			
				|  |  | +         newlog:'',
 | 
	
		
			
				|  |  |        data: [{
 | 
	
		
			
				|  |  |            label: '几何(33)',
 | 
	
		
			
				|  |  |            children: [{
 | 
	
	
		
			
				|  | @@ -324,9 +325,14 @@ export default {
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +},
 | 
	
		
			
				|  |  | +created(){
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +  this.pid=this.$route.query.pid;
 | 
	
		
			
				|  |  | +  this.init();
 | 
	
		
			
				|  |  |  },
 | 
	
		
			
				|  |  |  mounted(){
 | 
	
		
			
				|  |  | -this.init();
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  },
 | 
	
		
			
				|  |  |  methods:{
 | 
	
		
			
				|  |  |      handleNodeClick(data) {
 | 
	
	
		
			
				|  | @@ -341,6 +347,7 @@ methods:{
 | 
	
		
			
				|  |  |          init(){
 | 
	
		
			
				|  |  |            this.pid=this.$route.query.pid;
 | 
	
		
			
				|  |  |            console.log(this.pid);
 | 
	
		
			
				|  |  | +          this.solverchange('HCFDLab');
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |      //项目求解查询
 | 
	
	
		
			
				|  | @@ -359,6 +366,7 @@ methods:{
 | 
	
		
			
				|  |  |          request(params)
 | 
	
		
			
				|  |  |            .then((res) => { 
 | 
	
		
			
				|  |  |          this.objopp=res.parameterObj;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |          if(val=='HCFDLab'){
 | 
	
		
			
				|  |  |             this.$nextTick(()=>{
 | 
	
		
			
				|  |  |            this.$refs.hcfd.hcfdchange(this.objopp,res.solverConfigid);
 | 
	
	
		
			
				|  | @@ -377,7 +385,12 @@ methods:{
 | 
	
		
			
				|  |  |            })
 | 
	
		
			
				|  |  |          
 | 
	
		
			
				|  |  |        },
 | 
	
		
			
				|  |  | -  // 日志的文本框
 | 
	
		
			
				|  |  | +      // 调用求解过程日志
 | 
	
		
			
				|  |  | +      fun(){
 | 
	
		
			
				|  |  | +            this.$refs.monitor.getwebsocket(); 
 | 
	
		
			
				|  |  | +      },
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | + // 日志的文本框
 | 
	
		
			
				|  |  |         footerShows(evt) {
 | 
	
		
			
				|  |  |           if(evt=='claer'){
 | 
	
		
			
				|  |  |            this.logs='';
 | 
	
	
		
			
				|  | @@ -387,6 +400,22 @@ methods:{
 | 
	
		
			
				|  |  |           }
 | 
	
		
			
				|  |  |             
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | +     //日志
 | 
	
		
			
				|  |  | +    getthislog(log){
 | 
	
		
			
				|  |  | +   this.newlog = log+"\n"+this.newlog;
 | 
	
		
			
				|  |  | +    this.logs=this.newlog;
 | 
	
		
			
				|  |  | +     if ( this.logs.indexOf("Solver end") >= 0) {
 | 
	
		
			
				|  |  | +               this.exLoading='hidden';
 | 
	
		
			
				|  |  | +                  this.isSolverEnd = true;
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  | +    // 剩余时间
 | 
	
		
			
				|  |  | +    restimeyear(time){
 | 
	
		
			
				|  |  | +      this.restime=time;
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  | +   
 | 
	
		
			
				|  |  | +    
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  </script>
 |