【修改】修改样式
This commit is contained in:
@@ -77,6 +77,7 @@
|
|||||||
|
|
||||||
<el-col :span="20" style="padding-left: 15px">
|
<el-col :span="20" style="padding-left: 15px">
|
||||||
<vxe-table ref="xTable" :data="tableData" :empty-render="{name: 'NotData'}" align="center" border stripe
|
<vxe-table ref="xTable" :data="tableData" :empty-render="{name: 'NotData'}" align="center" border stripe
|
||||||
|
class="table-over"
|
||||||
v-table-min-height="'calc(100vh - 320px)'"
|
v-table-min-height="'calc(100vh - 320px)'"
|
||||||
@checkbox-all="selectAllEvent" @checkbox-change="selectChangeEvent">
|
@checkbox-all="selectAllEvent" @checkbox-change="selectChangeEvent">
|
||||||
<vxe-column type="checkbox" width="60"></vxe-column>
|
<vxe-column type="checkbox" width="60"></vxe-column>
|
||||||
@@ -739,7 +740,11 @@ export default {
|
|||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.table-over{
|
||||||
|
background-color: pink;
|
||||||
|
max-height: calc(100vh - 320px);
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
.preview-dialog-body {
|
.preview-dialog-body {
|
||||||
padding: 9px 25px 17px 22px;
|
padding: 9px 25px 17px 22px;
|
||||||
height: 60vh;
|
height: 60vh;
|
||||||
|
|||||||
@@ -68,7 +68,7 @@
|
|||||||
<div class="table">
|
<div class="table">
|
||||||
<vxe-table ref="xTable" :data="tableData" @checkbox-all="selectAllEvent" @checkbox-change="selectChangeEvent"
|
<vxe-table ref="xTable" :data="tableData" @checkbox-all="selectAllEvent" @checkbox-change="selectChangeEvent"
|
||||||
:empty-render="{name: 'NotData'}" align="center" border stripe
|
:empty-render="{name: 'NotData'}" align="center" border stripe
|
||||||
v-table-min-height="'calc(100vh - 320px)'">
|
v-table-min-height="'calc(100vh - 320px)'" >
|
||||||
<vxe-column type="checkbox" width="60"></vxe-column>
|
<vxe-column type="checkbox" width="60"></vxe-column>
|
||||||
<vxe-column show-overflow show-header-overflow type="seq" title="序号" width="77">
|
<vxe-column show-overflow show-header-overflow type="seq" title="序号" width="77">
|
||||||
<template #default="{ row, rowIndex }">
|
<template #default="{ row, rowIndex }">
|
||||||
|
|||||||
Reference in New Issue
Block a user