liuqiao 2 năm trước cách đây
mục cha
commit
bdb8a110d1

+ 1 - 2
src/views/index/FEMLab/fem.vue

@@ -1260,7 +1260,6 @@ export default {
     props:{
     femnum:String,
     Logs:String,
-      pid:String,
     },
   data() {
     return {
@@ -1857,7 +1856,7 @@ this.styX.left=e.clientX+'px';
             console.log(redata);
             if(typeof redata==='object'&& redata){
               if(redata.type == "log"){
-                 this.$emit('getthislog',redata.stats+redata.value);
+               // this.$emit('getthislog',redata.stats+redata.value);
               }
             if (redata.type == "iter") {
        

+ 1 - 0
src/views/index/HCFDLab/index.vue

@@ -2537,6 +2537,7 @@ hcfdparam(){
       };
       request(params)
         .then((res) => {
+         // this.getlog();
         Message({
                   type: "success",
                   message:res.returnMsg,

+ 1 - 1
src/views/index/index.vue

@@ -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' :nmlsteps="Number(numsteps)"></echartsHFCD>
+    <echartsHFCD ref="monitor" v-if="femnum=='HCFDLab'"  @getthislog='getthislog' @restimeyear='restimeyear'  :projectId='pid' :nmlsteps="Number(numsteps)"></echartsHFCD>
    </el-main>
     <div class="footerTitle">
             <div>{{ $t("FEM.other.console") }}