liuqiao 2 vuotta sitten
vanhempi
säilyke
e2b0a7f3d5
2 muutettua tiedostoa jossa 4 lisäystä ja 62 poistoa
  1. 2 17
      src/layout/index.vue
  2. 2 45
      src/views/index/HCFDLab/index.vue

+ 2 - 17
src/layout/index.vue

@@ -91,8 +91,7 @@
       :class="[
         'footer',
         fixedHeader ? 'fixed-footer' : '',
-        /^\/indexLayout([\/][\D]+)?$/.test($route.path)|| /^\/matchLayout([\/][\D]+)?$/.test($route.path)||/^\/topic([\/][\D]+)?$/.test($route.path)||
-        /^\/detailbzs1([\/][\D]+)?$/.test($route.path)|| /^\/detailbzs2([\/][\D]+)?$/.test($route.path)|| /^\/detailbzs3([\/][\D]+)?$/.test($route.path)|| /^\/detailbzs4([\/][\D]+)?$/.test($route.path)
+        /^\/indexLayout([\/][\D]+)?$/.test($route.path)|| /^\/matchLayout([\/][\D]+)?$/.test($route.path)||/^\/topic([\/][\D]+)?$/.test($route.path)
           ? 'footer-index'
           : /^\/login\/index$/.test($route.path)
           ? 'footer-login'
@@ -357,21 +356,7 @@ export default {
       }else{
 
       }
-    },
-  // clicksel(index){
-  //     if(index==0){
-  //       this.num=index;
-  //     localStorage.setItem("num",this.num);
-  //       document.getElementById('theme').href="/static/black.css"
-  //     }else if(index==1){
-  //          console.log(222)
-  //        this.num=1;
-  //           localStorage.setItem("num",this.num);
-  //        document.getElementById('theme').href="/static/white.css"
-  //     }else{
-
-  //     }
-  //   },
+    }
   },
 }
 </script>

+ 2 - 45
src/views/index/HCFDLab/index.vue

@@ -2515,30 +2515,6 @@ hcfdparam(){
           .catch((err) => {
           })
 },
-    //清除相关信息
-
-    clearAll() {
-      this.showUgridflag = false; //ugrid 是否显示过
-      this.showSurfaceflag = false; //surface 是否显示过
-      this.showVolumeflage = false; //Volume 是否显示过
-      this.showMonitorflage = false;
-      this.islogload = true;
-
-      this.logs = "";
-      this.project = {
-        projectId: "",
-        projectName: "",
-        projectType: "hcfd",
-        projectDesc: "",
-        fileType: "ascii",
-        solverfiles: [],
-        solverVolumUrls: [],
-        solverBoundaryUrls: [],
-        loadfils: [],
-        converge: "",
-      };
-    },
-   
    handleClick(tab, event) {
     if(this.activeName=='five'){
       let params = {
@@ -2702,7 +2678,6 @@ this.styX.left=e.clientX+'px';
        // this.selectProjectOK();
       }
       this.missType=true
-      // this.changeRendererSize();
     },
     
     logtime(){
@@ -2772,29 +2747,11 @@ this.styX.left=e.clientX+'px';
       }
       getLog();
     },
-    // setBoundaryScalars(scalars) {
-    //   this.boundaryScalars = scalars;
-    // },
+
     setVolumScalars(scalars) {
       console.log(scalars)
       this.volumScalars = scalars;
     },
-    changeRendererSize() {
-      let allHight = this.$refs.all_w.offsetHeight;
-      let allwidth = this.$refs.all_w.offsetWidth;
-      this.$nextTick(() => {
-        if (!this.headMenu_2Show) {
-          this.renderer_hight = allHight - 61 - 149 - 13;
-          this.renderer_width = allwidth - 300;
-          this.$refs.transform.changeCssBig();
-        } else if (this.headMenu_2Show) {
-          this.renderer_hight = allHight - 61 - 207 - 149 - 6;
-          this.renderer_width = allwidth - 300;
-          this.$refs.transform.changeCssSmall();
-        }
-      });
-    },
-
     // 工具栏的点击事件
     yCalchange() {
       this.Yvisiable = true;
@@ -2931,7 +2888,7 @@ this.styX.left=e.clientX+'px';
       param.append("transCode", "A00102");
       param.append("file", params.file);
       param.append("projectId", this.project.projectId);
-      uploadFile(param)
+      uploadFile(param) 
         .then((res) => {
           // console.log(res);
           // this.fileId = res.fileId