huangxingxing 1 rok temu
rodzic
commit
68960f7984
1 zmienionych plików z 6 dodań i 5 usunięć
  1. 6 5
      src/view/index/first-left.vue

+ 6 - 5
src/view/index/first-left.vue

@@ -230,10 +230,10 @@ const indexinit= (id,radio)=>{
 console.log(props.classradio);
 //  classradio.value=radio;
   //console.log(classradio.value);
-  fcon.step=count.value;
-  getMonitor();
-  vtkmodel.clearModeAddJg();
-  vtkGridRead()
+  // fcon.step=count.value;
+  // getMonitor();
+  // vtkmodel.clearModeAddJg();
+  // vtkGridRead()
  // readJob()
 
 }
@@ -253,6 +253,7 @@ await request(params)
       //  vtkmodel.clearModeAddJg(); //隐藏模版显示结果
       monitor.value = true;
       job.value = res;
+      vtkmodel.clearModeAddJg();
       reddate(new Date());
       vtkGridRead();
       endtime.value= Number(res.totaltime)/Number(res.reportstep);
@@ -678,7 +679,7 @@ function vtkGridRead() {
     .initGemetry()
     .then((result) => {
       console.log(result);
-     // vtkScalarRead();
+     vtkScalarRead();
    
     })
     .catch((err) => {});