|
@@ -7,7 +7,7 @@
|
|
|
|
|
|
</div> -->
|
|
|
<div v-if="value2=='HCFDLab'">
|
|
|
- <hcfd ref="hcfd" :objopp="objopp" :pid="pid" @fun="fun()" :elodingfalse="elodingfalse" @exlodingfalse="exlodingfalse"></hcfd>
|
|
|
+ <hcfd ref="hcfd" :objopp="objopp" :pid="pid" @fun="fun()" :elodingfalse="elodingfalse" @exlodingfalse="exlodingfalse" :femnum="femnum"></hcfd>
|
|
|
</div>
|
|
|
<div v-else-if="value2=='FEMLab(结构力学)'||value2=='FEMLab(结构力学)版本2'">
|
|
|
<fem ref="fem" :femnum="femnum" ></fem>
|
|
@@ -104,7 +104,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' :projectId='pid'></echartsHFCD>
|
|
|
+ <echartsHFCD ref="monitor" @getthislog='getthislog' @restimeyear='restimeyear' :projectId='pid' :nmlsteps="Number(numsteps)"></echartsHFCD>
|
|
|
</el-main>
|
|
|
<div class="footerTitle">
|
|
|
<div>{{ $t("FEM.other.console") }}
|
|
@@ -163,6 +163,7 @@ import caozuo from './caozuo/index.vue'
|
|
|
import hcfd from './HCFDLab/index.vue'
|
|
|
import fem from './FEMLab/fem.vue'
|
|
|
import echartsHFCD from "./HCFDLab/echartsHFCD.vue";
|
|
|
+import { number } from 'echarts/lib/export'
|
|
|
export default {
|
|
|
components:{geometry,meshindex,Geometryandclass,Materials,touch,initial,boundary,Meshauto,loadcase,zuoye,echartsHFCD,result,caozuo,toolindex,hcfd,fem},
|
|
|
data() {
|
|
@@ -171,6 +172,7 @@ export default {
|
|
|
footerShow:true,
|
|
|
headMenu_2Show:false,
|
|
|
elodingfalse:false,
|
|
|
+ numsteps:'',
|
|
|
logs: "欢迎来到HCFD",
|
|
|
newlog:'',
|
|
|
data: [{
|
|
@@ -329,7 +331,6 @@ mounted(){
|
|
|
},
|
|
|
methods:{
|
|
|
exlodingfalse(res){
|
|
|
- console.log(res);
|
|
|
this.elodingfalse=res;
|
|
|
},
|
|
|
handleNodeClick(data) {
|
|
@@ -367,6 +368,10 @@ methods:{
|
|
|
if(val=='HCFDLab'){
|
|
|
this.$nextTick(()=>{
|
|
|
this.$refs.hcfd.hcfdchange(this.objopp,res.solverConfigid);
|
|
|
+ let data= JSON.parse(this.objopp);
|
|
|
+
|
|
|
+ this.numsteps=data.nmlParam.steps;
|
|
|
+ console.log(this.numsteps);
|
|
|
})
|
|
|
}else if(val=='FEMLab(结构力学)'){
|
|
|
this.$nextTick(()=>{
|