Browse Source

FTO报告详情页面高度修改

zhuhao 2 years ago
parent
commit
5511d35040
1 changed files with 5 additions and 3 deletions
  1. 5 3
      RMS-FrontEnd/src/views/report/FTO/FTOPage/ReportDetails/index.vue

+ 5 - 3
RMS-FrontEnd/src/views/report/FTO/FTOPage/ReportDetails/index.vue

@@ -11,8 +11,8 @@
         </el-aside>
         <el-container>
           <!-- <el-header></el-header> -->
-          <el-main class="admin-main-box">
-            <component :row="row" :is="activeMenu" :reportMessage="row" :reportId="reportId" :patentNo="signPatentNo" :signPatentNo="signPatentNo" :reportId2="reportId" :reportType="reportType" :isShow="isShow"></component>
+          <el-main class="admin-main-box" :style="{height : height + 'px'}">
+            <component :height="height" :row="row" :is="activeMenu" :reportMessage="row" :reportId="reportId" :patentNo="signPatentNo" :signPatentNo="signPatentNo" :reportId2="reportId" :reportType="reportType" :isShow="isShow"></component>
           </el-main>
         </el-container>
       </el-container>
@@ -45,7 +45,8 @@ export default {
     },
     data() {
         return {
-            isShow:true,
+            isShow: true,
+            height:'',
             activeMenu: "BasicInformation",
             menuList: [
                 { title: '基本信息', path:"BasicInformation",show:true}, 
@@ -90,6 +91,7 @@ export default {
         this.setData()
     },
     mounted() {
+    this.height = document.querySelector('.admin-main-box').clientHeight
         this.changePageTitle()
     },
     methods: {