浏览代码

优化质检模板表格高度,适配全屏显示

yusheng 9 月之前
父节点
当前提交
c57bf6c5e4
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/views/inspectionTemplate/AddorUpdate.vue

+ 2 - 0
src/views/inspectionTemplate/AddorUpdate.vue

@@ -131,6 +131,7 @@
           :columns="columns"
           :datasource="list"
           height="400px"
+           full-height="calc(100vh - 76px)"
           tool-class="ele-toolbar-form"
           cache-key="inspectionClassify"
           row-key="qualityLevelId"
@@ -229,6 +230,7 @@
           :columns="categoryColumns"
           :datasource="templateCategoryList"
           height="300px"
+           full-height="calc(100vh - 76px)"
           tool-class="ele-toolbar-form"
           cache-key="inspectionClassify"
           row-key="qualityLevelId"