From cf76f6292034875727546747a68230bf0befa83d Mon Sep 17 00:00:00 2001
From: Fixiaobai <fixiaobai@163.com>
Date: 星期三, 20 九月 2023 15:46:56 +0800
Subject: [PATCH] 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/standard-table/target.vue | 4 ++--
src/components/view/standard-table/technology.vue | 4 ++--
src/components/view/standard-table/material.vue | 4 ++--
src/components/view/standard-table/product.vue | 4 ++--
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/components/view/standard-table/material.vue b/src/components/view/standard-table/material.vue
index f3f9eae..fc7f17b 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>
- <el-table :data="tableData" max-height="675" row-key="rowId" border
+ <div style="width: 100%;height: 68vh;overflow-x: auto;overflow-y: auto;">
+ <el-table :data="tableData" row-key="rowId" border
@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 64427a4..2950115 100644
--- a/src/components/view/standard-table/product.vue
+++ b/src/components/view/standard-table/product.vue
@@ -37,8 +37,8 @@
}
</style>
<template>
- <div class="standard">
- <el-table ref="multipleTable" :data="tableData" row-key="rowId" border max-height="675"
+ <div class="standard" style="width: 100%;height: 68vh;overflow-x: auto;overflow-y: auto;">
+ <el-table ref="multipleTable" :data="tableData" row-key="rowId" border
@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 899209a..f4a9036 100644
--- a/src/components/view/standard-table/target.vue
+++ b/src/components/view/standard-table/target.vue
@@ -1,6 +1,6 @@
<template>
- <div class="standard">
- <div style="width: 100%;height: 68vh;overflow-x: auto;overflow-y: auto;">
+ <div class="standard" style="overflow-x: auto;">
+ <div style="width: 100%;height: 68vh;overflow-y: auto;">
<el-table ref="multipleTable" :data="tableData" row-key="rowId" border
@select-all="selectAll" @select="selectTr"
@selection-change="handleSelectionChange" default-expand-all
diff --git a/src/components/view/standard-table/technology.vue b/src/components/view/standard-table/technology.vue
index d9cb1e6..6ec64fe 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>
- <el-table :data="tableData" max-height="675" row-key="rowId" border
+ <div style="width: 100%;height: 68vh;overflow-x: auto;overflow-y: auto;">
+ <el-table :data="tableData" row-key="rowId" border
@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