From 039d01c3ee6217e18ef3bcaec263fd2ad59e6f68 Mon Sep 17 00:00:00 2001
From: Fixiaobai <fixiaobai@163.com>
Date: 星期三, 20 九月 2023 16:19:51 +0800
Subject: [PATCH] modified: src/components/view/equipmentmaintain.vue modified: src/components/view/standard-table/material.vue modified: src/components/view/standard-table/product.vue modified: src/components/view/standard-table/target.vue modified: src/components/view/standard-table/technology.vue
---
src/components/view/equipmentmaintain.vue | 5 +++--
src/components/view/standard-table/target.vue | 2 +-
src/components/view/standard-table/technology.vue | 2 +-
src/components/view/standard-table/material.vue | 2 +-
src/components/view/standard-table/product.vue | 2 +-
5 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/src/components/view/equipmentmaintain.vue b/src/components/view/equipmentmaintain.vue
index 55c2f5b..e4f9bd3 100644
--- a/src/components/view/equipmentmaintain.vue
+++ b/src/components/view/equipmentmaintain.vue
@@ -261,6 +261,7 @@
<!-- 涓讳綋鍙� -->
<div class="right">
<el-table
+ height="calc(90vh - 200px)"
:data="tableData"
row-key="rowId"
border
@@ -776,8 +777,8 @@
width: calc(100% - 305px);
height: calc(100% - 25px);
/* overflow: hidden; */
- overflow-y: auto;
- overflow-x: auto;
+ overflow-y: scroll;
+ overflow-x: scroll;
padding: 10px;
}
diff --git a/src/components/view/standard-table/material.vue b/src/components/view/standard-table/material.vue
index ceee553..ab2c6ae 100644
--- a/src/components/view/standard-table/material.vue
+++ b/src/components/view/standard-table/material.vue
@@ -1,7 +1,7 @@
<template>
<div class="standard">
<div style="width: 100%;height: 68vh;overflow-x: auto;">
- <el-table :data="tableData" row-key="rowId" border
+ <el-table :data="tableData" row-key="rowId" border height="calc(90vh - 200px)"
@select-all="selectAll" @select="selectTr" ref="multipleTable"
@selection-change="handleSelectionChange" default-expand-all
:tree-props="{ children: 'children', hasChildren: 'hasChildren' }">
diff --git a/src/components/view/standard-table/product.vue b/src/components/view/standard-table/product.vue
index fd4f56a..bf0c888 100644
--- a/src/components/view/standard-table/product.vue
+++ b/src/components/view/standard-table/product.vue
@@ -38,7 +38,7 @@
</style>
<template>
<div class="standard" style="width: 100%;height: 68vh;overflow-x: auto;">
- <el-table ref="multipleTable" :data="tableData" row-key="rowId" border
+ <el-table ref="multipleTable" :data="tableData" row-key="rowId" border height="calc(90vh - 200px)"
@select-all="selectAll" @select="selectTr"
@selection-change="handleSelectionChange" default-expand-all
:tree-props="{children: 'children', hasChildren: 'hasChildren'}">
diff --git a/src/components/view/standard-table/target.vue b/src/components/view/standard-table/target.vue
index eec4893..bc836e1 100644
--- a/src/components/view/standard-table/target.vue
+++ b/src/components/view/standard-table/target.vue
@@ -1,7 +1,7 @@
<template>
<div class="standard">
<div style="width: 100%;height: 68vh;overflow-x: auto;">
- <el-table ref="multipleTable" :data="tableData" row-key="rowId" border
+ <el-table ref="multipleTable" :data="tableData" row-key="rowId" border height="calc(90vh - 200px)"
@select-all="selectAll" @select="selectTr"
@selection-change="handleSelectionChange" default-expand-all
:tree-props="{children: 'children', hasChildren: 'hasChildren'}">
diff --git a/src/components/view/standard-table/technology.vue b/src/components/view/standard-table/technology.vue
index 7d42993..7883cd9 100644
--- a/src/components/view/standard-table/technology.vue
+++ b/src/components/view/standard-table/technology.vue
@@ -1,7 +1,7 @@
<template>
<div class="standard">
<div style="width: 100%;height: 68vh;overflow-x: auto;">
- <el-table :data="tableData" row-key="rowId" border
+ <el-table :data="tableData" row-key="rowId" border height="calc(90vh - 200px)"
@select-all="selectAll" @select="selectTr" ref="multipleTable"
:header-cell-style="{border:'0px',background:'#f5f7fa',color:'#606266',boxShadow: 'inset 0 1px 0 #ebeef5',textAlign: 'left'}"
@selection-change="handleSelectionChange" default-expand-all
--
Gitblit v1.9.3