|  | @@ -104,7 +104,7 @@
 | 
	
		
			
				|  |  |    <el-container class="beij-container">
 | 
	
		
			
				|  |  |  <el-container>
 | 
	
		
			
				|  |  |     <el-main ref="main3d" :class="headMenu_2Show?'maxh400':'maxh221'" style="padding:0">
 | 
	
		
			
				|  |  | -     <tool1 @startimg="startimg"></tool1>
 | 
	
		
			
				|  |  | +     <tool1 @startimg="startimg" :monitorHCFD="monitorHCFD"></tool1>
 | 
	
		
			
				|  |  |       <!-- 加载折线图 -->
 | 
	
		
			
				|  |  |      <echartsHFCD ref="monitor" v-if="femnum=='HCFDLab'"  @getthislog='getthislog' @restimeyear='restimeyear'  :projectId='pid' :nmlsteps="Number(numsteps)"></echartsHFCD>
 | 
	
		
			
				|  |  |      <!-- 加载图片 -->
 | 
	
	
		
			
				|  | @@ -196,6 +196,7 @@ export default {
 | 
	
		
			
				|  |  |       tl11,tl12,tl13,tl14,tl15,tl16,
 | 
	
		
			
				|  |  |        active:'',
 | 
	
		
			
				|  |  |           restime:'',
 | 
	
		
			
				|  |  | +         monitorHCFD:false,
 | 
	
		
			
				|  |  |          footerShow:true,
 | 
	
		
			
				|  |  |          headMenu_2Show:false,
 | 
	
		
			
				|  |  |           elodingfalse:false,
 | 
	
	
		
			
				|  | @@ -381,8 +382,7 @@ created(){
 | 
	
		
			
				|  |  |  mounted(){
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |        let curcolor  = this.$store.state.themecolor;
 | 
	
		
			
				|  |  | -      this.classH2 = 'custome-' + curcolor; 
 | 
	
		
			
				|  |  | -     
 | 
	
		
			
				|  |  | +      this.classH2 = 'custome-' + curcolor;
 | 
	
		
			
				|  |  |  },
 | 
	
		
			
				|  |  |  methods:{
 | 
	
		
			
				|  |  |     meshclick(e,index,key){
 | 
	
	
		
			
				|  | @@ -439,14 +439,52 @@ methods:{
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |          init(){
 | 
	
		
			
				|  |  | +        
 | 
	
		
			
				|  |  |           this.pid=this.$route.query.pid;
 | 
	
		
			
				|  |  |          // this.pid='31f117acb7e74232a3267b091391eab2';
 | 
	
		
			
				|  |  | -          this.solverchange('HCFDLab');
 | 
	
		
			
				|  |  | +          this.solverchange1('HCFDLab');
 | 
	
		
			
				|  |  | +      
 | 
	
		
			
				|  |  | +        
 | 
	
		
			
				|  |  |       
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |      //项目求解查询
 | 
	
		
			
				|  |  |        pojectquery(){
 | 
	
		
			
				|  |  |         
 | 
	
		
			
				|  |  | +      },
 | 
	
		
			
				|  |  | +       solverchange1(val){
 | 
	
		
			
				|  |  | +        console.log(val)
 | 
	
		
			
				|  |  | +        let that=this;
 | 
	
		
			
				|  |  | +        this.femnum=val;
 | 
	
		
			
				|  |  | +           const params = {
 | 
	
		
			
				|  |  | +          transCode: 'C00003',
 | 
	
		
			
				|  |  | +        pid:this.pid,
 | 
	
		
			
				|  |  | +        company:this.value0,
 | 
	
		
			
				|  |  | +        solverModel:this.value2
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +        sessionStorage.setItem('params',JSON.stringify(params))
 | 
	
		
			
				|  |  | +        request(params)
 | 
	
		
			
				|  |  | +          .then((res) => { 
 | 
	
		
			
				|  |  | +        this.objopp=res.parameterObj;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        if(val=='HCFDLab'){
 | 
	
		
			
				|  |  | +           this.$nextTick(()=>{
 | 
	
		
			
				|  |  | +          this.$refs.hcfd.hcfdchange(this.objopp,res.solverConfigid);
 | 
	
		
			
				|  |  | +          this.solverConfigid=res.solverConfigid;
 | 
	
		
			
				|  |  | +         let data= JSON.parse(this.objopp);
 | 
	
		
			
				|  |  | +          this.numsteps=data.nmlParam.steps;
 | 
	
		
			
				|  |  | +             that.startimg("init",'loaddata');
 | 
	
		
			
				|  |  | +           })   
 | 
	
		
			
				|  |  | +        }else if(val=='FEMLab(结构力学)'){
 | 
	
		
			
				|  |  | +             this.$nextTick(()=>{
 | 
	
		
			
				|  |  | +              this.$refs.fem.femchange(res.parameterObj,'abc6db6cb2c0482eb7964df6fea02c70');
 | 
	
		
			
				|  |  | +           })   
 | 
	
		
			
				|  |  | +        }else{
 | 
	
		
			
				|  |  | +          
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +          })
 | 
	
		
			
				|  |  | +          .catch((err) => {
 | 
	
		
			
				|  |  | +          })
 | 
	
		
			
				|  |  | +        
 | 
	
		
			
				|  |  |        },
 | 
	
		
			
				|  |  |        solverchange(val){
 | 
	
		
			
				|  |  |          console.log(val)
 | 
	
	
		
			
				|  | @@ -468,7 +506,6 @@ methods:{
 | 
	
		
			
				|  |  |            this.$refs.hcfd.hcfdchange(this.objopp,res.solverConfigid);
 | 
	
		
			
				|  |  |            this.solverConfigid=res.solverConfigid;
 | 
	
		
			
				|  |  |           let data= JSON.parse(this.objopp);
 | 
	
		
			
				|  |  | -          this.startimg("init",'loaddata');
 | 
	
		
			
				|  |  |            this.numsteps=data.nmlParam.steps;
 | 
	
		
			
				|  |  |           console.log(this.numsteps);
 | 
	
		
			
				|  |  |             })   
 | 
	
	
		
			
				|  | @@ -489,6 +526,7 @@ methods:{
 | 
	
		
			
				|  |  |        fun(){
 | 
	
		
			
				|  |  |              this.$refs.monitor.getwebsocket(); 
 | 
	
		
			
				|  |  |             this.$refs.monitor.container_show=true;
 | 
	
		
			
				|  |  | +           this.monitorHCFD=this.$refs.monitor.container_show
 | 
	
		
			
				|  |  |                 this.$refs.TFileStream.imgtupian=false;
 | 
	
		
			
				|  |  |        },
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -594,21 +632,12 @@ let params = {
 | 
	
		
			
				|  |  |           console.log(e);
 | 
	
		
			
				|  |  |          try{
 | 
	
		
			
				|  |  |              const redata = JSON.parse(e.data);   
 | 
	
		
			
				|  |  | -                
 | 
	
		
			
				|  |  | -            // if(redata.hasOwnProperty("data")){          
 | 
	
		
			
				|  |  | -            // }else{
 | 
	
		
			
				|  |  | -           
 | 
	
		
			
				|  |  | -            //     // this.newlog =this.newlog+"\n" +JSON.stringify(redata);
 | 
	
		
			
				|  |  | -            //     //   this.logs=this.newlog;
 | 
	
		
			
				|  |  | -            // }
 | 
	
		
			
				|  |  | -          //  if(redata.data!=undefined){
 | 
	
		
			
				|  |  | -                // this.$refs.monitor.hiden();
 | 
	
		
			
				|  |  | -                 this.$refs.monitor.container_show=false;
 | 
	
		
			
				|  |  | +            console.log(redata);
 | 
	
		
			
				|  |  | +            console.log(redata.img)
 | 
	
		
			
				|  |  | +              this.$refs.monitor.hiden();
 | 
	
		
			
				|  |  |                this.$refs.TFileStream.imgtupian=true;
 | 
	
		
			
				|  |  |                this.$refs.TFileStream.fetchData(redata);
 | 
	
		
			
				|  |  | -          //  }
 | 
	
		
			
				|  |  | -      
 | 
	
		
			
				|  |  | -     
 | 
	
		
			
				|  |  | +         
 | 
	
		
			
				|  |  |          return true;       
 | 
	
		
			
				|  |  |          }catch(error){
 | 
	
		
			
				|  |  |            return false;
 |