liuqiao 1 an în urmă
părinte
comite
6329c983d4

+ 3 - 1
src/views/index/HCFDLab/echartsHFCD.vue

@@ -210,7 +210,9 @@ export default {
    try{
             const redata = JSON.parse(e.data);
             if(typeof redata==='object'&& redata){
-            
+            // if(redata.stats=="old"){
+            //       this.$emit('getthislog',redata.value);
+            // }
               console.log(redata);
               if(redata.type == "log"){
                     // this.$emit('statechange','1');redata.stats+

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

@@ -5989,6 +5989,7 @@ export default {
             Message.info("已取消!");
             MessageBox.close();
             this.$emit("exlodingfalse", false);
+              this.funbool=false;
           });
       } else {
         this.$emit("exlodingfalse", true);

+ 1 - 0
src/views/index/compoents/tool1.vue

@@ -116,6 +116,7 @@ export default {
          this.$emit('startimg',"init",'zoomout')
       break;
     case 'tl2-2':
+         this.$emit("fun");
       break;
     case 'tl2-3':
        break;

+ 2 - 0
src/views/index/index.vue

@@ -248,6 +248,7 @@
             >
               <tool1
                 @startimg="startimg"
+                @fun="fun"
                 :monitorHCFD="monitorHCFD"
                 @changehcfd="changehcfd"
               ></tool1>
@@ -806,6 +807,7 @@ export default {
     fun() {
       this.logs = "";
       this.newlog = "";
+      console.log(1111)
       let funbool= this.$refs.hcfd.funbool;
       console.log(funbool);
       if(funbool==true){