liuqiao il y a 2 ans
Parent
commit
b6c77d1e7f
2 fichiers modifiés avec 109 ajouts et 6 suppressions
  1. 1 1
      src/views/index/HCFDLab/index.vue
  2. 108 5
      src/views/index/index.vue

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

@@ -4140,7 +4140,7 @@ html,body{
     .right{
         flex: 1;
          height: 100%;
-          height: 88vh;
+          height: 85vh;
           position: relative;
         
     }

+ 108 - 5
src/views/index/index.vue

@@ -97,13 +97,51 @@
   </el-tabs>
        </div>
    </transition>
-    <div class="right lbg_color2">
-      <h1>我是主题
 
-      </h1>
+    <div class="right lbg_color2 ">
+
         <div class="part-panel-collapse-handle lbg_color3" @click="showtrue=!showtrue">
             <i class="el-icon-arrow-left"></i>
   </div>
+  <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' :lsolverState="lsolverState" :name="project.projectName" :numzhexian="numzhexian" :projectId='project.projectId' :nmlsteps="Number(parameterObj.nmlParam.steps)"></echartsHFCD>
+               加载图片条 -->
+            <!-- <TFileStream   :projectId="project.projectId" :servertype="servertype"  :wstep='wstep' :bStep='bStep' :vStep='vStep' ref="TFileStream"></TFileStream>  -->
+             <h1>我是主题
+
+      </h1>
+   </el-main>
+    <div class="footerTitle">
+            <div>{{ $t("FEM.other.console") }}
+                    <p class="restime" :style="{ visibility: exLoading}" style="  margin-left: 50px; font-size:14px">剩余时长:{{restime}}</p>
+            </div>
+    
+            <div>
+              <li  class="exloadbox" :style="{ visibility: exLoading}" >
+                <span>正在求解中</span>
+                <i class="el-icon-loading"></i>
+              </li>
+               <li>
+                <span @click="footerShows('claer')">清空</span>
+              </li>
+              <li>
+                <span @click="footerShows('foot')">&#9650;&#9660;</span>
+              </li>
+            </div>
+          </div>
+          <el-footer class="femFooter" v-if="footerShow">
+            <div class="footerTextBox">
+              <el-input
+                class="footerText"
+                type="textarea"
+                v-model="logs"
+              ></el-input>
+            </div>
+          </el-footer>
+</el-container>
+</el-container>
     </div>
     </div>
   </div>
@@ -136,6 +174,10 @@ export default {
   components:{geometry,meshindex,Geometryandclass,Materials,touch,initial,boundary,Meshauto,loadcase,zuoye,result,caozuo,toolindex,hcfd,fem},
   data() {
     return {
+         restime:'',
+        footerShow:true,
+        headMenu_2Show:false,
+        logs: "欢迎来到HCFD",
       data: [{
           label: '几何(33)',
           children: [{
@@ -182,6 +224,7 @@ export default {
       activeName1:'first',
       objopp:'',
       femnum:'',
+        exLoading:"hidden",
         tab:[
             {index:0,name:"几何建模"},
             {index:1,name:"网格划分"},
@@ -333,8 +376,17 @@ methods:{
           .catch((err) => {
           })
         
-      }
+      },
+  // 日志的文本框
+       footerShows(evt) {
+         if(evt=='claer'){
+          this.logs='';
 
+         }else{
+        this.footerShow=!this.footerShow
+         }
+           
+    },
       }
 }
 </script>
@@ -400,7 +452,7 @@ html,body{
 0);
 }
     .right{
-        padding: 15px;
+        padding:0;
         flex: 1;
         //  height: 100%;
           position: relative;
@@ -469,6 +521,57 @@ html,body{
     font-size:15px;
 }
 }
+.maxh221{
+  max-height: calc(100vh - 76px);
+}
+.maxh400{
+  max-height: calc(100vh - 410px);
+}
+.beij-container {
+  width: 100%;
+  height: 100%;
+  // background: linear-gradient(180deg, #ccd3e2 0%, rgba(255, 255, 255, 0) 100%);
+}
+.el-footer {
+  padding: 0;
+  height: 149px;
+  overflow-y: auto;
+}
+.footerTitle {
+  display: flex;
+  justify-content: space-between;
+  padding: 5px 20px;
+  font-size: 20px;
+  height: 30px !important;
+  background-color: #bbb;
+}
+.footerTitle div {
+
+  display: flex;
+  justify-content: space-around;
+  align-items: center;
+}
+.footerTitle p {
+  margin: 0;
+}
+.footerTitle span {
+  padding: 5px 10px;
+  cursor: default;
+}
+.femFooter{
+  height: 135px !important;
+    padding: 0;
+    position: relative;
+}
+ .footerText .el-textarea__inner{
+  width: 100%;
+  height: 135px !important;
+  border: 0;
+  font-size: 12px;
+  color: #333;
+  padding: 2px;
+}
+
 </style>
 <style>