Commit 180631a6 authored by liwei's avatar liwei

修改了table列表大片空白bug

parent 08121ca0
<template>
<PageWrapper :title="title" class="content-padding" contentBackground @back="goBack">
<div class="relatedRelationships_module">
<!-- <div class="relatedRelationships_module">-->
<BasicTable @register="registerTable1">
<template #toolbar>
<a-button type="primary" @click="createQualityButton">创建质量规则</a-button>
......@@ -129,7 +129,7 @@
<a @click="showDetails(record)"> {{ text }}</a>
</template>
</BasicTable>
</div>
<!-- </div>-->
<!-- 引用模版 弹窗-->
<RelatedQualityModal @register="registerRelatedQualityModal" @success="handleSuccess" />
<!-- 引用基础标准 弹窗-->
......@@ -214,6 +214,7 @@ const [registerTable1] = useTable({
showIndexColumn:false,
pagination:false,
bordered: true,
scroll: { y: 500 },
actionColumn: {
width: 100,
title: '操作',
......@@ -241,6 +242,7 @@ const [registerTable2] = useTable({
showTableSetting: false,
showIndexColumn:false,
bordered: true,
scroll: { y: 500 },
actionColumn: {
width: 100,
title: '操作',
......@@ -268,6 +270,7 @@ const [registerTable3] = useTable({
pagination:false,
showIndexColumn:false,
bordered: true,
scroll: { y: 500 },
actionColumn: {
width: 100,
title: '操作',
......@@ -295,6 +298,7 @@ const [registerTable4] = useTable({
showIndexColumn:false,
pagination:false,
bordered: true,
scroll: { y: 500 },
actionColumn: {
width: 100,
title: '操作',
......@@ -321,6 +325,7 @@ const [registerTable5] = useTable({
showTableSetting: false,
showIndexColumn:false,
bordered: true,
scroll: { y: 500 },
pagination:false,
actionColumn: {
width: 100,
......@@ -349,6 +354,7 @@ const [registerTable6] = useTable({
showIndexColumn:false,
bordered: true,
pagination:false,
scroll: { y: 500 },
actionColumn: {
width: 100,
title: '操作',
......@@ -455,11 +461,11 @@ onMounted(() => {
</script>
<style lang="scss" scoped>
.relatedRelationships_module{
::v-deep(.ant-table-body){
min-height: 150px!important;
height:150px!important;
}
}
</style>
<!--<style lang="scss" scoped>-->
<!--.relatedRelationships_module{-->
<!-- ::v-deep(.ant-table-body){-->
<!-- min-height: 150px!important;-->
<!-- height:150px!important;-->
<!-- }-->
<!--}-->
<!--</style>-->
......@@ -83,6 +83,7 @@
showIndexColumn: false,
pagination: false,
bordered: true,
scroll: { y: 500 },
handleSearchInfoFn(info) {
return info;
},
......
......@@ -83,6 +83,7 @@
showIndexColumn: false,
pagination: false,
bordered: true,
scroll: { y: 500 },
handleSearchInfoFn(info) {
return info;
},
......
......@@ -83,6 +83,7 @@
showIndexColumn: false,
pagination: false,
bordered: true,
scroll: { y: 500 },
handleSearchInfoFn(info) {
return info;
},
......
......@@ -83,6 +83,7 @@
showIndexColumn: false,
pagination: false,
bordered: true,
scroll: { y: 500 },
handleSearchInfoFn(info) {
return info;
},
......
......@@ -159,6 +159,7 @@
showIndexColumn: false,
pagination: false,
bordered: true,
scroll: { y: 500 },
actionColumn: {
width: 150,
title: '操作',
......@@ -184,6 +185,7 @@
showIndexColumn: false,
pagination: false,
bordered: true,
scroll: { y: 500 },
actionColumn: {
width: 150,
title: '操作',
......@@ -209,6 +211,7 @@
showIndexColumn: false,
pagination: false,
bordered: true,
scroll: { y: 500 },
actionColumn: {
width: 150,
title: '操作',
......@@ -246,33 +249,3 @@
tableData3.value = editBucketData;
});
</script>
<style>
.height1 {
.ant-table-container {
.ant-table-body {
min-height: 400px;
}
}
}
.height2 {
.ant-table-container {
.ant-table-body {
min-height: 450px;
}
}
}
.height3 {
.ant-table-container {
.ant-table-body {
min-height: 300px;
}
}
}
.height4 {
.ant-table-container {
.ant-table-body {
min-height: 400px;
}
}
}
</style>
......@@ -83,6 +83,7 @@
showIndexColumn: false,
pagination: false,
bordered: true,
scroll: { y: 500 },
handleSearchInfoFn(info) {
return info;
},
......
......@@ -83,6 +83,7 @@
showIndexColumn: false,
pagination: false,
bordered: true,
scroll: { y: 500 },
handleSearchInfoFn(info) {
return info;
},
......
......@@ -83,6 +83,7 @@
showIndexColumn: false,
pagination: false,
bordered: true,
scroll: { y: 500 },
handleSearchInfoFn(info) {
return info;
},
......
......@@ -83,6 +83,7 @@
showIndexColumn: false,
pagination: false,
bordered: true,
scroll: { y: 500 },
handleSearchInfoFn(info) {
return info;
},
......
......@@ -189,6 +189,7 @@
showIndexColumn: false,
pagination: false,
bordered: true,
scroll: { y: 500 },
actionColumn: {
width: 150,
title: '操作',
......@@ -214,6 +215,7 @@
showIndexColumn: false,
pagination: false,
bordered: true,
scroll: { y: 500 },
actionColumn: {
width: 150,
title: '操作',
......@@ -239,6 +241,7 @@
showIndexColumn: false,
pagination: false,
bordered: true,
scroll: { y: 500 },
actionColumn: {
width: 150,
title: '操作',
......@@ -264,6 +267,7 @@
showIndexColumn: false,
pagination: false,
bordered: true,
scroll: { y: 500 },
actionColumn: {
width: 150,
title: '操作',
......@@ -302,33 +306,3 @@
tableData4.value = editBucketData;
});
</script>
<style>
.height1 {
.ant-table-container {
.ant-table-body {
min-height: 150px;
}
}
}
.height2 {
.ant-table-container {
.ant-table-body {
min-height: 400px;
}
}
}
.height3 {
.ant-table-container {
.ant-table-body {
min-height: 300px;
}
}
}
.height4 {
.ant-table-container {
.ant-table-body {
min-height: 400px;
}
}
}
</style>
<template>
<BasicTable @register="registerTable4" class="height2">
<BasicTable @register="registerTable4">
<template #toolbar>
<a-input style="width: 200px;margin-right: auto" default-value="分区信息" allowClear></a-input>
<Radio.Group v-model:value="show">
......@@ -74,6 +74,7 @@ const show = ref(true); // 默认展示内容
showIndexColumn: false,
pagination: false,
bordered: true,
scroll: { y: 500 },
actionColumn: {
width: 150,
title: '操作',
......@@ -117,12 +118,3 @@ function goBack() {
go('/metaModel/physicsModel/index');
}
</script>
<style>
.height2 {
.ant-table-container {
.ant-table-body {
min-height: 350px;
}
}
}
</style>
<template>
<BasicTable @register="registerTable4" class="height4">
<BasicTable @register="registerTable4">
<template #toolbar>
<a-input style="width: 200px;margin-right: auto" default-value="分桶信息" allowClear></a-input>
<Radio.Group v-model:value="show">
......@@ -74,6 +74,7 @@ const show = ref(true); // 默认展示内容
showIndexColumn: false,
pagination: false,
bordered: true,
scroll: { y: 500 },
actionColumn: {
width: 150,
title: '操作',
......@@ -117,12 +118,3 @@ function goBack() {
go('/metaModel/physicsModel/index');
}
</script>
<style>
.height4 {
.ant-table-container {
.ant-table-body {
min-height: 400px;
}
}
}
</style>
<template>
<BasicTable @register="registerTable4" class="height3">
<BasicTable @register="registerTable4">
<template #toolbar>
<a-input style="width: 200px;margin-right: auto" default-value="列信息" allowClear></a-input>
<Radio.Group v-model:value="show">
......@@ -73,6 +73,7 @@ const show = ref(true); // 默认展示内容
showIndexColumn: false,
pagination: false,
bordered: true,
scroll: { y: 500 },
actionColumn: {
width: 150,
title: '操作',
......@@ -116,12 +117,3 @@ function goBack() {
go('/metaModel/physicsModel/index');
}
</script>
<style>
.height3 {
.ant-table-container {
.ant-table-body {
min-height: 400px;
}
}
}
</style>
<template>
<BasicTable @register="registerTable4" class="height1">
<BasicTable @register="registerTable4">
<template #toolbar>
<a-input style="width: 200px;margin-right: auto" default-value="表信息" allowClear></a-input>
<Radio.Group v-model:value="show">
......@@ -73,6 +73,7 @@ const show = ref(true); // 默认展示内容
showIndexColumn: false,
pagination: false,
bordered: true,
scroll: { y: 500 },
actionColumn: {
width: 150,
title: '操作',
......@@ -115,12 +116,4 @@ function goBack() {
}
</script>
<style>
.height1 {
.ant-table-container {
.ant-table-body {
min-height: 700px;
}
}
}
</style>
......@@ -95,6 +95,7 @@ const [registerTable1, { reload1,getForm1 }] = useTable({
showIndexColumn: false,
pagination: false,
bordered: true,
scroll: { y: 1000 },
});
const [registerTable2, { reload2,getForm2 }] = useTable({
title: '',
......@@ -115,6 +116,7 @@ const [registerTable2, { reload2,getForm2 }] = useTable({
showIndexColumn: false,
pagination: false,
bordered: true,
scroll: { y: 500 },
});
const [registerTable3, { reload3,getForm3 }] = useTable({
title: '',
......@@ -135,6 +137,7 @@ const [registerTable3, { reload3,getForm3 }] = useTable({
showIndexColumn: false,
pagination: false,
bordered: true,
scroll: { y: 500 },
});
const [registerTable4, { reload4,getForm4 }] = useTable({
title: '',
......@@ -155,6 +158,7 @@ const [registerTable4, { reload4,getForm4 }] = useTable({
showIndexColumn: false,
pagination: false,
bordered: true,
scroll: { y: 500 },
});
//初始化弹框
......@@ -191,33 +195,3 @@ onMounted(() => {
areaTableData.value = editAreaData
});
</script>
<style>
.height1 {
.ant-table-container {
.ant-table-body {
min-height: 650px;
}
}
}
.height2 {
.ant-table-container {
.ant-table-body {
min-height: 300px;
}
}
}
.height3 {
.ant-table-container {
.ant-table-body {
min-height: 300px;
}
}
}
.height4 {
.ant-table-container {
.ant-table-body {
min-height: 400px;
}
}
}
</style>
......@@ -83,6 +83,7 @@
showIndexColumn: false,
pagination: false,
bordered: true,
scroll: { y: 500 },
handleSearchInfoFn(info) {
return info;
},
......
......@@ -83,6 +83,7 @@
showIndexColumn: false,
pagination: false,
bordered: true,
scroll: { y: 500 },
handleSearchInfoFn(info) {
return info;
},
......
......@@ -83,6 +83,7 @@
showIndexColumn: false,
pagination: false,
bordered: true,
scroll: { y: 500 },
handleSearchInfoFn(info) {
return info;
},
......
......@@ -83,6 +83,7 @@
showIndexColumn: false,
pagination: false,
bordered: true,
scroll: { y: 500 },
handleSearchInfoFn(info) {
return info;
},
......
......@@ -159,6 +159,7 @@
showIndexColumn: false,
pagination: false,
bordered: true,
scroll: { y: 500 },
actionColumn: {
width: 150,
title: '操作',
......@@ -184,6 +185,7 @@
showIndexColumn: false,
pagination: false,
bordered: true,
scroll: { y: 500 },
actionColumn: {
width: 150,
title: '操作',
......@@ -209,6 +211,7 @@
showIndexColumn: false,
pagination: false,
bordered: true,
scroll: { y: 500 },
actionColumn: {
width: 150,
title: '操作',
......@@ -247,26 +250,3 @@
tableData3.value = editColumnData;
});
</script>
<style>
.height1 {
.ant-table-container {
.ant-table-body {
min-height: 750px;
}
}
}
.height2 {
.ant-table-container {
.ant-table-body {
min-height: 600px;
}
}
}
.height3 {
.ant-table-container {
.ant-table-body {
min-height: 350px;
}
}
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment