|  | @@ -198,6 +198,7 @@ export default {
 | 
											
												
													
														|  |       tl11,tl12,tl13,tl14,tl15,tl16,
 |  |       tl11,tl12,tl13,tl14,tl15,tl16,
 | 
											
												
													
														|  |       ytdata:{},
 |  |       ytdata:{},
 | 
											
												
													
														|  |       vectorparam:{},
 |  |       vectorparam:{},
 | 
											
												
													
														|  | 
 |  | +     selectval:'HCFDLab',
 | 
											
												
													
														|  |        active:'',
 |  |        active:'',
 | 
											
												
													
														|  |           restime:'',
 |  |           restime:'',
 | 
											
												
													
														|  |           monitorHCFD:false,
 |  |           monitorHCFD:false,
 | 
											
										
											
												
													
														|  | @@ -522,6 +523,7 @@ linezhexian(num){
 | 
											
												
													
														|  |        solverchange(val){
 |  |        solverchange(val){
 | 
											
												
													
														|  |          let that=this;
 |  |          let that=this;
 | 
											
												
													
														|  |          this.femnum=val;
 |  |          this.femnum=val;
 | 
											
												
													
														|  | 
 |  | +        this.selectval=val;
 | 
											
												
													
														|  |             const params = {
 |  |             const params = {
 | 
											
												
													
														|  |            transCode: 'C00003',
 |  |            transCode: 'C00003',
 | 
											
												
													
														|  |          pid:this.pid,
 |  |          pid:this.pid,
 | 
											
										
											
												
													
														|  | @@ -710,66 +712,99 @@ let params = {
 | 
											
												
													
														|  |           
 |  |           
 | 
											
												
													
														|  |            // HCFD云图的参数返回 存储
 |  |            // HCFD云图的参数返回 存储
 | 
											
												
													
														|  |            console.log(rdata);
 |  |            console.log(rdata);
 | 
											
												
													
														|  | -          if(rdata.action=='ResultImport'){
 |  | 
 | 
											
												
													
														|  | -       
 |  | 
 | 
											
												
													
														|  | -                let data=JSON.parse(rdata.paramJson);
 |  | 
 | 
											
												
													
														|  | -                  if(data.msgType=="contour_param"){
 |  | 
 | 
											
												
													
														|  | -                     sessionStorage.setItem("ytdata",JSON.stringify(data));
 |  | 
 | 
											
												
													
														|  | -                       this.ytdata=rdata;
 |  | 
 | 
											
												
													
														|  | -                  }
 |  | 
 | 
											
												
													
														|  | -                   if(data.msgType=='line_param'){
 |  | 
 | 
											
												
													
														|  | -                      sessionStorage.setItem("ytdata",JSON.stringify(data));
 |  | 
 | 
											
												
													
														|  | -                        this.ytdata=rdata;
 |  | 
 | 
											
												
													
														|  | -                  }
 |  | 
 | 
											
												
													
														|  | -                  if(data.msgType=='vector_param'){
 |  | 
 | 
											
												
													
														|  | -                     sessionStorage.setItem("vectorparam",JSON.stringify(data));
 |  | 
 | 
											
												
													
														|  | -                    this.vectorparam=rdata;
 |  | 
 | 
											
												
													
														|  | -                     // this.$refs.fem.vectordata(JSON.stringify(data))
 |  | 
 | 
											
												
													
														|  | -                  }
 |  | 
 | 
											
												
													
														|  | -                  if(data.msgType=='stream_param'){
 |  | 
 | 
											
												
													
														|  | -                       this.$refs.fem.streamdata(JSON.stringify(data))
 |  | 
 | 
											
												
													
														|  | -                      this.$refs.hcfd.streamdata(JSON.stringify(data))
 |  | 
 | 
											
												
													
														|  | 
 |  | +          if(this.selectval=='HCFDLab'){
 | 
											
												
													
														|  | 
 |  | +              if(rdata.action=='ResultImport'){
 | 
											
												
													
														|  | 
 |  | +          
 | 
											
												
													
														|  | 
 |  | +                    let data=JSON.parse(rdata.paramJson);
 | 
											
												
													
														|  | 
 |  | +                      if(data.msgType=="contour_param"){
 | 
											
												
													
														|  | 
 |  | +                        sessionStorage.setItem("ytdata",JSON.stringify(data));
 | 
											
												
													
														|  | 
 |  | +                          this.ytdata=rdata;
 | 
											
												
													
														|  | 
 |  | +                      }
 | 
											
												
													
														|  | 
 |  | +                      if(data.msgType=='line_param'){
 | 
											
												
													
														|  | 
 |  | +                          sessionStorage.setItem("ytdata",JSON.stringify(data));
 | 
											
												
													
														|  | 
 |  | +                            this.ytdata=rdata;
 | 
											
												
													
														|  | 
 |  | +                      }
 | 
											
												
													
														|  | 
 |  | +                      if(data.msgType=='vector_param'){
 | 
											
												
													
														|  | 
 |  | +                        sessionStorage.setItem("vectorparam",JSON.stringify(data));
 | 
											
												
													
														|  | 
 |  | +                        this.vectorparam=rdata;
 | 
											
												
													
														|  | 
 |  | +                      }
 | 
											
												
													
														|  | 
 |  | +                      if(data.msgType=='stream_param'){
 | 
											
												
													
														|  | 
 |  | +                          this.$refs.hcfd.streamdata(JSON.stringify(data))
 | 
											
												
													
														|  | 
 |  | +                      }
 | 
											
												
													
														|  | 
 |  | +                      if(data.msgType=='solidsurface_param'){
 | 
											
												
													
														|  | 
 |  | +                          //this.$refs.hcfd.colorval(JSON.stringify(data))
 | 
											
												
													
														|  | 
 |  | +                      }
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +              }else if(rdata.action=='LineDisplay'){
 | 
											
												
													
														|  | 
 |  | +                          this.ytdata=rdata;
 | 
											
												
													
														|  | 
 |  | +              }else if(rdata.action=='SliceDisplayAdd'){
 | 
											
												
													
														|  | 
 |  | +                  let dataslicedisplay=JSON.parse(rdata.paramJson);
 | 
											
												
													
														|  | 
 |  | +                  if(dataslicedisplay==null||JSON.stringify(dataslicedisplay)=='{}'){
 | 
											
												
													
														|  | 
 |  | +                  }else{
 | 
											
												
													
														|  | 
 |  | +                    if(dataslicedisplay.msgType=='addPage_slice_param'){
 | 
											
												
													
														|  | 
 |  | +                        sessionStorage.setItem("dataslicedisplay",JSON.stringify(rdata.paramJson));
 | 
											
												
													
														|  | 
 |  | +                        this.$refs.hcfd.addparam();  
 | 
											
												
													
														|  | 
 |  | +                    }
 | 
											
												
													
														|  |                    }
 |  |                    }
 | 
											
												
													
														|  | -                   if(data.msgType=='solidsurface_param'){
 |  | 
 | 
											
												
													
														|  | -                      this.$refs.fem.colorval(JSON.stringify(data))
 |  | 
 | 
											
												
													
														|  | 
 |  | +              }else if(rdata.action=='SliceDisplayUpdate'){
 | 
											
												
													
														|  | 
 |  | +                    let datadisplayupdate=JSON.parse(rdata.paramJson);
 | 
											
												
													
														|  | 
 |  | +                    console.log(datadisplayupdate)
 | 
											
												
													
														|  | 
 |  | +                    if(datadisplayupdate==null||JSON.stringify(datadisplayupdate)=='{}'){
 | 
											
												
													
														|  | 
 |  | +                    }else{
 | 
											
												
													
														|  | 
 |  | +                          sessionStorage.setItem("updateparam",JSON.stringify(rdata.paramJson));
 | 
											
												
													
														|  | 
 |  | +                        this.$refs.hcfd.updataparam(); 
 | 
											
												
													
														|  | 
 |  | +                    
 | 
											
												
													
														|  | 
 |  | +                    }
 | 
											
												
													
														|  | 
 |  | +              }else{
 | 
											
												
													
														|  | 
 |  | +                  
 | 
											
												
													
														|  | 
 |  | +              }
 | 
											
												
													
														|  | 
 |  | +           }else if(this.selectval=='FEMLab(结构力学)'){
 | 
											
												
													
														|  | 
 |  | +              if(rdata.action=='ResultImport'){
 | 
											
												
													
														|  | 
 |  | +                    let data=JSON.parse(rdata.paramJson);
 | 
											
												
													
														|  | 
 |  | +                      if(data.msgType=="contour_param"){
 | 
											
												
													
														|  | 
 |  | +                        sessionStorage.setItem("ytdata",JSON.stringify(data));
 | 
											
												
													
														|  | 
 |  | +                          this.ytdata=rdata;
 | 
											
												
													
														|  | 
 |  | +                      }
 | 
											
												
													
														|  | 
 |  | +                      if(data.msgType=='line_param'){
 | 
											
												
													
														|  | 
 |  | +                          sessionStorage.setItem("ytdata",JSON.stringify(data));
 | 
											
												
													
														|  | 
 |  | +                            this.ytdata=rdata;
 | 
											
												
													
														|  | 
 |  | +                      }
 | 
											
												
													
														|  | 
 |  | +                      if(data.msgType=='vector_param'){
 | 
											
												
													
														|  | 
 |  | +                        sessionStorage.setItem("vectorparam",JSON.stringify(data));
 | 
											
												
													
														|  | 
 |  | +                        this.vectorparam=rdata;
 | 
											
												
													
														|  | 
 |  | +                      }
 | 
											
												
													
														|  | 
 |  | +                      if(data.msgType=='stream_param'){
 | 
											
												
													
														|  | 
 |  | +                        this.$refs.fem.streamdata(JSON.stringify(data))
 | 
											
												
													
														|  | 
 |  | +                      }
 | 
											
												
													
														|  | 
 |  | +                      if(data.msgType=='solidsurface_param'){
 | 
											
												
													
														|  | 
 |  | +                          this.$refs.fem.colorval(JSON.stringify(data))
 | 
											
												
													
														|  | 
 |  | +                      }
 | 
											
												
													
														|  | 
 |  | +              }else if(rdata.action=='LineDisplay'){
 | 
											
												
													
														|  | 
 |  | +                          this.ytdata=rdata;
 | 
											
												
													
														|  | 
 |  | +              }else if(rdata.action=='SliceDisplayAdd'){
 | 
											
												
													
														|  | 
 |  | +                  let dataslicedisplay=JSON.parse(rdata.paramJson);
 | 
											
												
													
														|  | 
 |  | +                  if(dataslicedisplay==null||JSON.stringify(dataslicedisplay)=='{}'){
 | 
											
												
													
														|  | 
 |  | +                    
 | 
											
												
													
														|  | 
 |  | +                  }else{
 | 
											
												
													
														|  | 
 |  | +                    if(dataslicedisplay.msgType=='addPage_slice_param'){
 | 
											
												
													
														|  | 
 |  | +                        sessionStorage.setItem("dataslicedisplay",JSON.stringify(rdata.paramJson));
 | 
											
												
													
														|  | 
 |  | +                        this.$refs.fem.femaddparam();
 | 
											
												
													
														|  | 
 |  | +                    }
 | 
											
												
													
														|  |                    }
 |  |                    }
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -          }else if(rdata.action=='LineDisplay'){
 |  | 
 | 
											
												
													
														|  | -                       this.ytdata=rdata;
 |  | 
 | 
											
												
													
														|  | -          }else if(rdata.action=='SliceDisplayAdd'){
 |  | 
 | 
											
												
													
														|  | -            let dataslicedisplay=JSON.parse(rdata.paramJson);
 |  | 
 | 
											
												
													
														|  | -            if(dataslicedisplay==null||JSON.stringify(dataslicedisplay)=='{}'){
 |  | 
 | 
											
												
													
														|  | -              
 |  | 
 | 
											
												
													
														|  | -            }else{
 |  | 
 | 
											
												
													
														|  | -              if(dataslicedisplay.msgType=='addPage_slice_param'){
 |  | 
 | 
											
												
													
														|  | 
 |  | +              }else if(rdata.action=='SliceDisplayUpdate'){
 | 
											
												
													
														|  | 
 |  | +                    let datadisplayupdate=JSON.parse(rdata.paramJson);
 | 
											
												
													
														|  | 
 |  | +                    if(datadisplayupdate==null||JSON.stringify(datadisplayupdate)=='{}'){
 | 
											
												
													
														|  | 
 |  | +                    }else{
 | 
											
												
													
														|  | 
 |  | +                       this.$refs.fem.updataparam(JSON.stringify(rdata.paramJson));
 | 
											
												
													
														|  | 
 |  | +                    
 | 
											
												
													
														|  | 
 |  | +                    }
 | 
											
												
													
														|  | 
 |  | +              }else{
 | 
											
												
													
														|  |                    
 |  |                    
 | 
											
												
													
														|  | -                  sessionStorage.setItem("dataslicedisplay",JSON.stringify(rdata.paramJson));
 |  | 
 | 
											
												
													
														|  | -                   this.$refs.hcfd.addparam();
 |  | 
 | 
											
												
													
														|  | -                
 |  | 
 | 
											
												
													
														|  | -                  //this.$refs.fem.femaddparam();
 |  | 
 | 
											
												
													
														|  | -            
 |  | 
 | 
											
												
													
														|  | -                   
 |  | 
 | 
											
												
													
														|  |                }
 |  |                }
 | 
											
												
													
														|  | -            }
 |  | 
 | 
											
												
													
														|  | -          }else if(rdata.action=='SliceDisplayUpdate'){
 |  | 
 | 
											
												
													
														|  | -            let datadisplayupdate=JSON.parse(rdata.paramJson);
 |  | 
 | 
											
												
													
														|  | -            console.log(datadisplayupdate)
 |  | 
 | 
											
												
													
														|  | -            if(datadisplayupdate==null||JSON.stringify(datadisplayupdate)=='{}'){
 |  | 
 | 
											
												
													
														|  | -            }else{
 |  | 
 | 
											
												
													
														|  | -                  sessionStorage.setItem("updateparam",JSON.stringify(rdata.paramJson));
 |  | 
 | 
											
												
													
														|  | -                 this.$refs.hcfd.updataparam(); 
 |  | 
 | 
											
												
													
														|  | -             
 |  | 
 | 
											
												
													
														|  | -            }
 |  | 
 | 
											
												
													
														|  | -          }else if(rdata.action=='StreamDisplayCreate'){
 |  | 
 | 
											
												
													
														|  | -            let streamError=JSON.parse(rdata.paramJson)
 |  | 
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |            }else if(rdata.hasOwnProperty('Error')){
 |  |            }else if(rdata.hasOwnProperty('Error')){
 | 
											
												
													
														|  | -         
 |  | 
 | 
											
												
													
														|  | -                
 |  | 
 | 
											
												
													
														|  | -                 
 |  | 
 | 
											
												
													
														|  | -          }else{
 |  | 
 | 
											
												
													
														|  | -                 this.loadingend(this.loadingopen());
 |  | 
 | 
											
												
													
														|  | -          }
 |  | 
 | 
											
												
													
														|  | -         
 |  | 
 | 
											
												
													
														|  | 
 |  | +              this.loadingend(this.loadingopen());       
 | 
											
												
													
														|  | 
 |  | +       }
 | 
											
												
													
														|  |          return true;       
 |  |          return true;       
 | 
											
												
													
														|  |          }catch(error){
 |  |          }catch(error){
 | 
											
												
													
														|  |            this.loadingend(this.loadingopen());
 |  |            this.loadingend(this.loadingopen());
 |